Hi'
I have tried to create consume a webservice like:
http://myaddress.com:8080/webtools/control/SOAPService/purchasing.createSupplier?wsdl
Here's a snippet
<wsdl:message name="purchasing.createSupplierRequest">
<wsdl:part name="groupName" type="xsd:string" />
<wsdl:part name="primaryEmail" type="xsd:string" />
<wsdl:part name="primaryWebUrl" type="xsd:string" />
</wsdl:message>
I've noticed a native .net webservice returns something like this:
- <s:element name="MailBox">
- <s:complexType>
- <s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="SiteID" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="Session_id" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="ShowMailBox" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="OrderBy" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>
I would like to be able to consume the website so I can say something like this:
com._2proceed.purchasingcreateSupplier p = new
webOfBizExample.com._2proceed.purchasingcreateSupplier();
p.createSupplier("Name", "another name", "...");
Does anyone have experience in consuming the webservices from .net an VS?
Help is appriciated.
Best regards
Christoffer Munck