axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sanjay Gupta" <Sanjay.Gu...@primal.com>
Subject InOnlyAxisOperation
Date Wed, 04 Feb 2009 19:11:59 GMT
Hi,

I just have upgraded my axis 1.2 web services to 1.4.1 and getting error while calling a service
which returns nothing(void). See the stack trace below. The doc mentions these four types
of operations but I don't know which one to pick and how to set it during client generation.


DoInOnly, NoParameters, TwoWayOneParameterEcho, and MultipleParametersAddItem

 

I have both types of operations with return and without return. All my operations takes some
kind of argument simple as well as some that takes customer objects.  Any help will be greatly
appreciated.

 

Sanjay

 

[ERROR] An access occurred that is not valid.

java.lang.UnsupportedOperationException: An access occurred that is not valid.

        at org.apache.axis2.description.InOnlyAxisOperation.getMessage(InOnlyAxisOperation.java:109)

        at org.apache.axis2.util.MessageContextBuilder.createOutMessageContext(MessageContextBuilder.java:190)

        at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.jav

:37)

        at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:100)

        at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)

        at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)

        at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:133)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)

        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)

        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)

        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)

        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)

        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)

        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

        at java.lang.Thread.run(Thread.java:619)

 

 

Mime
View raw message