Solved

Comunicate With API

Posted on 2014-03-10
3
232 Views
Last Modified: 2016-02-26
Hi,

I need to communicate with an API supplied to me.
the API Documentation says:
"These functions will be accessed using the SOAP 1.1 protocol. All functions return XML formatted results or a single value"

Function GetAvailability (SGId as Integer, SiId as Integer, EMId as Integer, EId as Integer, TCen as String, StartD as Date, EndD as Date) as XMLString

Open in new window


can someone help with a sample implementation of the above using C#?

thanks,

M
0
Comment
Question by:moshik008
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 500 total points
ID: 39917319
Does the service expose a WSDL? If so you can add it to your project as a web reference and VS will generate a proxy class for you which you can use to call the service.
0
 

Author Comment

by:moshik008
ID: 39917325
the documentation dosn't say anything about WSDL.
0
 
LVL 52

Expert Comment

by:Carl Tawn
ID: 39917332
Well, if it's a proper SOAP service then it should expose one - so try adding a Web Reference to your project and pointing it at the URL provided in your documentation.

If you have any problems, can you post the URL for the service so we can take a look?
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question