|
|
|
Hi mcarumugam,
Start here: https://cwiki.apache.org/OFBIZ/export-ofbiz-services-that-use-complex-type-parameters-via-soap-using-axis2-r892712.html Regards Paul Foxworthy
--
Coherent Software Australia Pty Ltd http://www.coherentsoftware.com.au/ Bonsai ERP, the all-inclusive ERP system http://www.bonsaierp.com.au/ |
|
Hi Paul,
When i refer you mentioned URL i not able to complete the 2 step. It means mentioned path was not found. but any have i downloaded need all jars . 1) Create an eclipse java project. 2) Download axis2, e.g. http://mirrors.dedipower.com/ftp.apache.org/ws/axis2/1_5_1/axis2-1.5.1-bin.zip 3) Unzip axis2 4) In your new eclipse project, set build path to include all the jar files in the axis distribution lib directory. (you don't need all the jars, but this is a quick howto) instead of their hostname i added my http://localhost:8080/webtools/control/SOAPService after that when i run the program getting the below error Exception in thread "main" java.lang.AbstractMethodError: org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.hasFault()Z at org.apache.axis2.context.MessageContext.isFault(MessageContext.java:4232) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:146) at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:364) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:417) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165) at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:539) at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:520) at com.tcs.Main.main(Main.java:31) can you guide me? |
|
Hi Mcarumugam,
All three URLs in step 2 worked for me just now. You are receiving a SOAP fault response, and Axis is translating that into an exception. If you catch the exception that is thrown by the sendreceive method, you should be able to get more detail on the error. Hope that helps. Cheers Paul Foxworthy
--
Coherent Software Australia Pty Ltd http://www.coherentsoftware.com.au/ Bonsai ERP, the all-inclusive ERP system http://www.bonsaierp.com.au/ |
| Free forum by Nabble | Edit this page |
