Hi All, I am new to Apache Ofbiz framework , I have downloaded the Ofbiz latest release from http://build.hotwaxmedia.com/. I have configured it with MYSQL 5.1.26-rc-community and have got the demo data loaded. I want to use some of the Webservices of the framework which would provide some meaningful data. eg: I used the getOrderStatus service , passed orderId and got the StatusId as response. I wanted to expose some of the existing services as WebServices, So I have used the attribute export="true" in the <service> tag in the services.xml files as required. For some services like cancelScheduledJob I get The WSDl properly . But for some of the services (getStatusItems,FindProducts) the WSDLis not generated and I get an exception as: WSDLException: faultCode=OTHER_ERROR: Service cannot be described with WSDL (statusTypeIds / List) WSDLException: faultCode=OTHER_ERROR: Service cannot be described with WSDL (productsId / java.util.List) I wanted to use these services because the entities related to these services (Status_Item,Product ) have more than 50 records.The entity related to the getOrderStatus service (order_header) has only 1 record. Pls help me regarding this issue. Also pls suggest some other services that i can test....... ______________________________________________________________________ |
Hello Sumitra,
This usually happens when we try to export a service that has complex type (other than primitives or String). For complex mappings you have to use AXIS. OFBiz doest not support them OOTB. This link might help you - http://docs.ofbiz.org/display/OFBIZ/Export+Ofbiz+Services+that+use+complex+t ype+parameters+via+SOAP+using+AXIS2 Regards, Nikita Shinde. Amicon Technologies Pvt. Ltd. Mumbai, India. -----Original Message----- From: Saumitra Roy [mailto:[hidden email]] Sent: Friday, February 27, 2009 4:54 PM To: [hidden email] Subject: WSDL not generated on setting export="true" Hi All, I am new to Apache Ofbiz framework , I have downloaded the Ofbiz latest release from http://build.hotwaxmedia.com/. I have configured it with MYSQL 5.1.26-rc-community and have got the demo data loaded. I want to use some of the Webservices of the framework which would provide some meaningful data. eg: I used the getOrderStatus service , passed orderId and got the StatusId as response. I wanted to expose some of the existing services as WebServices, So I have used the attribute export="true" in the <service> tag in the services.xml files as required. For some services like cancelScheduledJob I get The WSDl properly . But for some of the services (getStatusItems,FindProducts) the WSDLis not generated and I get an exception as: WSDLException: faultCode=OTHER_ERROR: Service cannot be described with WSDL (statusTypeIds / List) WSDLException: faultCode=OTHER_ERROR: Service cannot be described with WSDL (productsId / java.util.List) I wanted to use these services because the entities related to these services (Status_Item,Product ) have more than 50 records.The entity related to the getOrderStatus service (order_header) has only 1 record. Pls help me regarding this issue. Also pls suggest some other services that i can test....... ______________________________________________________________________ |
Free forum by Nabble | Edit this page |