Comunicate With API

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
moshik008Asked:
Who is Participating?
 
Carl TawnConnect With a Mentor Systems and Integration DeveloperCommented:
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
 
moshik008Author Commented:
the documentation dosn't say anything about WSDL.
0
 
Carl TawnSystems and Integration DeveloperCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.