Solved

Comunicate With API

Posted on 2014-03-10
3
220 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
  • 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my asp.net applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

770 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