Hello Dhruv! A collection of Ofbiz services have been exposed as Web Services using this solution:
http://docs.ofbiz.org/display/OFBIZ/Export+Ofbiz+Services+that+use+complex+type+parameters+via+SOAP These Web Services have been deployed in a production environment and are working perfectly fine. I suggest you to follow the steps, and I will be glad to help you if you run into trouble at some point in the process. Once you finish you can create your own Axis2 Ofbiz Component to provide a cleaner solution. This Axis2 Ofbiz Component will serve as a Web Service Facade to comunicate Ofbiz with other systems. Regards, Alfredo Rueda Dhruv Datta wrote: > > Hi Frns, > > I am using "wsimport" tool to read an existing WSDL file of OFBiz > framework and want to generate artifacts. I need these because I am > doing load testing on Web Service and retrieve data like the average > time requierd to obtain the reponse from a webservice. > > So I've following questions: > > 1) How to expose the existing WebServices of the OFBiz ? > 2) What meaningful data will these services provide? > > I am trying to expose a Web Service by using following syntax: > > E:\WSDL>wsimport -d . > http://localhost:8080/webtools/control/SOAPService/cancelScheduledJob?WSDL > > And I am getting following error : > > warning: R2716 WSI-BasicProfile ver. 1.0, namespace attribute not > allowed in doc/lit for soapbind:body: "cancelScheduledJob" > warning: R2716 WSI-BasicProfile ver. 1.0, namespace attribute not > allowed in doc/lit for soapbind:body: "cancelScheduledJob" > error: Invalid wsdl:operation "cancelScheduledJob": its a > document-literal operation, message part must refer to a schema > element declaration > > > Any help would be greatly appreciated. > > Thanks in Advance. > > Dhruv. > > -- View this message in context: http://www.nabble.com/How-to-expose-Web-Service-of-OFBiz---tp22077891p22158082.html Sent from the OFBiz - User mailing list archive at Nabble.com.