java - Axis2 web service invocation error -
i tried create simple tester service , exception:
exception in thread "main" org.apache.axis2.axisfault: java.lang.unsupportedoperationexception: access occurred not valid. @ org.apache.axis2.util.utils.getinboundfaultfrommessagecontext(utils.java:531) @ org.apache.axis2.description.robustoutonlyaxisoperation$robustoutonlyoperationclient.handleresponse(robustoutonlyaxisoperation.java:91) @ org.apache.axis2.description.outinaxisoperationclient.send(outinaxisoperation.java:421) @ org.apache.axis2.description.outinaxisoperationclient.executeimpl(outinaxisoperation.java:229) @ org.apache.axis2.client.operationclient.execute(operationclient.java:165) @ pinservice.pinoperationstub.changepin(pinoperationstub.java:496) @ pinservice.pinoperationtester.main(pinoperationtester.java:22)
any on troubleshooting error or thoughts on why happens ?
it incorrect use of message receiver (in-out , in-only). make sure update services.xml file correct configuration. more details available in below link simple example.
http://www.developer.com/services/article.php/3613896/writing-an-axis2-service-from-scratch.htm
Comments
Post a Comment