Last post Sep 16, 2011 09:53 AM by mandrews1234
Sep 14, 2011 01:59 PM|mandrews1234|LINK
I'm trying to wrap my head around reading a wsdl document for the first time and I'm having some troubles. Mainly two things. How do I go about accessing this api service and how to use the method I use. Do I need to create some sort of http request and
send it to it or what? Here is the begenning of the wsdl file
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="urn:www.admin.aghost.net:schemas:all:1:0" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="urn:Producer" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="Producer" targetNamespace="urn:Producer">
<xs:schema xmlns:ns1="urn:www.admin.aghost.net:schemas:all:1:0" xmlns:tns="urn:Producer" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:Producer" version="1.0">
And here is the method I would like to use specifically
<xs:element name="createAgHostAccount" type="tns:createAgHostAccount"/>
<xs:element name="createAgHostAccountResponse" type="tns:createAgHostAccountResponse"/>
I'm not opposed to doing some more reading, but I've read a few examples and I'm still a little lost. Any help would be much appreciated.
Sep 15, 2011 11:48 PM|Decker Dong - MSFT|LINK
Sorry I don't know what you are going to do???
Do you want to accept the xml content through an http request???
Please clearify your problem in detail again.
Sep 16, 2011 09:53 AM|mandrews1234|LINK
I got this working by adding a service reference to the wsdl link, and then calling the functions in that manner. If someone comes across this and wants some sample code, post a reply and I'll give it. It's just pretty specific to this project, so I don't
know that posting it would help anyone.