Hi Christoffer, I can't figure out which direction your problem goes: 1.Calling a .NET SOAP service from OFBIZ? 2.Calling a OFBIZ SOAP service from .NET?
To the first case I got no experience. We're using the second case. That means we: * Generate WSDL's out of OFBIZ (even with complex types). * Our clients are building .NET & C++ stubs out of this wsdl's and calling the OFBIZ services Michael Christoffer Munck wrote: > > 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 > > -- View this message in context: http://www.nabble.com/Creating-a-.net-webservice.-tf4483952.html#a12791718 Sent from the OFBiz - User mailing list archive at Nabble.com.
