[ http://issues.apache.org/jira/browse/AXIS2-924?page=all ]
Nikhil Thaker updated AXIS2-924: -------------------------------- Attachment: JAXWSMessageReceiver.txt I am attaching fix to this problem. Current code creates a response context even if the AxisOperation has a MessageExchange patter of In-Only. The fix is to check for AxisOperations MessageExchangePattern, If the messageExchange pattern is In-Only then do not create a response context. > Error duing oneWay request using JAXWS Dispatch. > ------------------------------------------------ > > Key: AXIS2-924 > URL: http://issues.apache.org/jira/browse/AXIS2-924 > Project: Apache Axis 2.0 (Axis2) > Issue Type: Bug > Components: jaxws > Reporter: Nikhil Thaker > Assigned To: Rich Scheuerle > Priority: Minor > Attachments: JAXWSMessageReceiver.txt > > > There is a bug in JAXWSMessageReceiver when doing a InvokeOneWay on Dispatch > with RM and Addressing enabled. Here's the stack trace for error message: > <Exception>org.apache.axis2.AxisFault: Invalid message addition , operation > context completed > at > org.apache.axis2.description.InOnlyAxisOperation.addMessageContext(InOnlyAxisOperation.java:62) > at > org.apache.axis2.context.OperationContext.addMessageContext(OperationContext.java:85) > at > org.apache.axis2.jaxws.server.JAXWSMessageReceiver.receive(JAXWSMessageReceiver.java:64) > at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:483) > at > org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:284) > at > com.ibm.ws.websvcs.transport.http.WASAxis2Servlet.doPost(WASAxis2Servlet.java:183) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:763) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) > at > com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966) > at > com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478) > at > com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463) > at > com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:92) > at > com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744) > at > com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1425) > at > com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:92) > at > com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465) > at > com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394) > at > com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:274) > at > com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214) > at > com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113) > at > com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152) > at > com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213) > at > com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195) > at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136) > at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:193) > at > com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:725) > at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:847) > at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]