[ http://issues.apache.org/jira/browse/AXIS2-1203?page=comments#action_12436862 ] Roshan Punnoose commented on AXIS2-1203: ----------------------------------------
Hi, Here are the debug messages from axis: 22 Sep 2006 09:54:52,420 [HttpConnection-6060-1] DEBUG org.apache.axis2.transport.http.server.DefaultHttpServiceProcessor - Request received 22 Sep 2006 09:54:52,420 [HttpConnection-6060-1] DEBUG org.apache.axis2.transport.http.server.DefaultHttpServiceProcessor - Request method: POST 22 Sep 2006 09:54:52,420 [HttpConnection-6060-1] DEBUG org.apache.axis2.transport.http.server.DefaultHttpServiceProcessor - Target URI: /axis2/services/annonService29094346/annonOutInOp 22 Sep 2006 09:54:52,451 [HttpConnection-6060-1] DEBUG org.apache.axiom.om.util.StAXUtils - XMLStreamReader is com.ctc.wstx.sr.ValidatingStreamReader 22 Sep 2006 09:54:52,451 [HttpConnection-6060-1] DEBUG org.apache.axiom.om.impl.builder.StAXOMBuilder - START_ELEMENT: {http://schemas.xmlsoap.org/soap/envelope/}Envelope:Envelope 22 Sep 2006 09:54:52,451 [HttpConnection-6060-1] DEBUG org.apache.axiom.om.impl.mtom.MTOMStAXSOAPModelBuilder - Starting to process SOAP 1.1 message 22 Sep 2006 09:54:52,467 [HttpConnection-6060-1] DEBUG org.apache.axiom.om.impl.builder.StAXOMBuilder - START_ELEMENT: {http://schemas.xmlsoap.org/soap/envelope/}Header:Header 22 Sep 2006 09:54:52,467 [HttpConnection-6060-1] DEBUG org.apache.axiom.om.impl.builder.StAXOMBuilder - START_ELEMENT: {http://www.w3.org/2005/08/addressing}To:To 22 Sep 2006 09:54:52,467 [HttpConnection-6060-1] DEBUG org.apache.axiom.om.impl.builder.StAXOMBuilder - CHARACTERS: [http://192.168.104.25:6060/axis2/services/annonService29094346/annonOutInOp] 22 Sep 2006 09:54:52,467 [HttpConnection-6060-1] DEBUG org.apache.axiom.om.impl.builder.StAXOMBuilder - END_ELEMENT: {http://www.w3.org/2005/08/addressing}To:To 22 Sep 2006 09:54:52,467 [HttpConnection-6060-1] DEBUG org.apache.axiom.om.impl.builder.StAXOMBuilder - START_ELEMENT: {http://www.w3.org/2005/08/addressing}ReplyTo:ReplyTo 22 Sep 2006 09:54:52,467 [HttpConnection-6060-1] DEBUG org.apache.axiom.om.impl.builder.StAXOMBuilder - START_ELEMENT: {http://www.w3.org/2005/08/addressing}Address:Address 22 Sep 2006 09:54:52,467 [HttpConnection-6060-1] DEBUG org.apache.axiom.om.impl.builder.StAXOMBuilder - CHARACTERS: [http://www.w3.org/2005/08/addressing/anonymous] 22 Sep 2006 09:54:52,467 [HttpConnection-6060-1] DEBUG org.apache.axiom.om.impl.builder.StAXOMBuilder - END_ELEMENT: {http://www.w3.org/2005/08/addressing}Address:Address 22 Sep 2006 09:54:52,467 [HttpConnection-6060-1] DEBUG org.apache.axiom.om.impl.builder.StAXOMBuilder - END_ELEMENT: {http://www.w3.org/2005/08/addressing}ReplyTo:ReplyTo 22 Sep 2006 09:54:52,467 [HttpConnection-6060-1] DEBUG org.apache.axiom.om.impl.builder.StAXOMBuilder - START_ELEMENT: {http://www.w3.org/2005/08/addressing}MessageID:MessageID 22 Sep 2006 09:54:52,467 [HttpConnection-6060-1] DEBUG org.apache.axiom.om.impl.builder.StAXOMBuilder - CHARACTERS: [urn:uuid:BF5C794451434E2F6F11589332918571] 22 Sep 2006 09:54:52,467 [HttpConnection-6060-1] DEBUG org.apache.axiom.om.impl.builder.StAXOMBuilder - END_ELEMENT: {http://www.w3.org/2005/08/addressing}MessageID:MessageID 22 Sep 2006 09:54:52,467 [HttpConnection-6060-1] DEBUG org.apache.axiom.om.impl.builder.StAXOMBuilder - START_ELEMENT: {http://www.w3.org/2005/08/addressing}Action:Action 22 Sep 2006 09:54:52,467 [HttpConnection-6060-1] DEBUG org.apache.axiom.om.impl.builder.StAXOMBuilder - CHARACTERS: [http://www.w3.org/2005/08/addressing/fault] 22 Sep 2006 09:54:52,467 [HttpConnection-6060-1] DEBUG org.apache.axiom.om.impl.builder.StAXOMBuilder - END_ELEMENT: {http://www.w3.org/2005/08/addressing}Action:Action 22 Sep 2006 09:54:52,467 [HttpConnection-6060-1] DEBUG org.apache.axiom.om.impl.builder.StAXOMBuilder - START_ELEMENT: {http://www.w3.org/2005/08/addressing}RelatesTo:RelatesTo 22 Sep 2006 09:54:52,467 [HttpConnection-6060-1] DEBUG org.apache.axiom.om.impl.builder.StAXOMBuilder - CHARACTERS: [urn:uuid:2826AB04AFA6FBE0E011589332904511] 22 Sep 2006 09:54:52,467 [HttpConnection-6060-1] DEBUG org.apache.axiom.om.impl.builder.StAXOMBuilder - END_ELEMENT: {http://www.w3.org/2005/08/addressing}RelatesTo:RelatesTo 22 Sep 2006 09:54:52,467 [HttpConnection-6060-1] DEBUG org.apache.axiom.om.impl.builder.StAXOMBuilder - END_ELEMENT: {http://schemas.xmlsoap.org/soap/envelope/}Header:Header 22 Sep 2006 09:54:52,467 [HttpConnection-6060-1] DEBUG org.apache.axiom.om.impl.builder.StAXOMBuilder - START_ELEMENT: {http://schemas.xmlsoap.org/soap/envelope/}Body:Body 22 Sep 2006 09:54:52,467 [HttpConnection-6060-1] DEBUG org.apache.axiom.om.impl.builder.StAXOMBuilder - START_ELEMENT: {http://schemas.xmlsoap.org/soap/envelope/}Fault:Fault 22 Sep 2006 09:54:52,482 [HttpConnection-6060-1] DEBUG org.apache.axis2.i18n.ProjectResourceBundle - org.apache.axis2.i18n.resource::handleGetObject(receivederrormessage) 22 Sep 2006 09:54:52,482 [HttpConnection-6060-1] INFO org.apache.axis2.engine.AxisEngine - Received Error Message with id null 22 Sep 2006 09:54:52,482 [HttpConnection-6060-1] DEBUG org.apache.axis2.engine.Phase - Checking pre-condition for Phase "PreDispatch" 22 Sep 2006 09:54:52,482 [HttpConnection-6060-1] DEBUG org.apache.axis2.engine.Phase - Invoking phase "PreDispatch" 22 Sep 2006 09:54:52,482 [HttpConnection-6060-1] DEBUG org.apache.axis2.engine.Phase - Invoking Handler 'AddressingFinalInHandler' in Phase 'PreDispatch' 22 Sep 2006 09:54:52,482 [HttpConnection-6060-1] DEBUG org.apache.axis2.handlers.addressing.AddressingInHandler - Starting WS-Addressing Final IN handler ... 22 Sep 2006 09:54:52,482 [HttpConnection-6060-1] DEBUG org.apache.axis2.handlers.addressing.AddressingInHandler - WS-Addressing Final Headers present in the SOAP message. Starting to process ... 22 Sep 2006 09:54:52,482 [HttpConnection-6060-1] DEBUG org.apache.axis2.addressing.EndpointReferenceHelper - fromOM: Found address element for namespace, http://www.w3.org/2005/08/addressing 22 Sep 2006 09:54:52,482 [HttpConnection-6060-1] DEBUG org.apache.axis2.addressing.EndpointReferenceHelper - fromOM: Endpoint reference, [EMAIL PROTECTED] 22 Sep 2006 09:54:52,482 [HttpConnection-6060-1] DEBUG org.apache.axis2.engine.Phase - Invoking Handler 'AddressingSubmissionInHandler' in Phase 'PreDispatch' 22 Sep 2006 09:54:52,498 [HttpConnection-6060-1] DEBUG org.apache.axis2.handlers.addressing.AddressingInHandler - Another handler has processed the addressing headers. Nothing to do here. 22 Sep 2006 09:54:52,498 [HttpConnection-6060-1] DEBUG org.apache.axis2.engine.Phase - Checking post-conditions for phase "PreDispatch" 22 Sep 2006 09:54:52,498 [HttpConnection-6060-1] DEBUG org.apache.axis2.engine.Phase - Checking pre-condition for Phase "Dispatch" 22 Sep 2006 09:54:52,498 [HttpConnection-6060-1] DEBUG org.apache.axis2.engine.Phase - Invoking phase "Dispatch" 22 Sep 2006 09:54:52,498 [HttpConnection-6060-1] DEBUG org.apache.axis2.engine.Phase - Invoking Handler 'RequestURIBasedDispatcher' in Phase 'Dispatch' 22 Sep 2006 09:54:52,498 [HttpConnection-6060-1] DEBUG org.apache.axis2.engine.RequestURIBasedDispatcher - Checking for Service using target endpoint address : http://192.168.104.25:6060/axis2/services/annonService29094346/annonOutInOp 22 Sep 2006 09:54:52,498 [HttpConnection-6060-1] DEBUG org.apache.axis2.i18n.ProjectResourceBundle - org.apache.axis2.i18n.resource::handleGetObject(servicefound) 22 Sep 2006 09:54:52,498 [HttpConnection-6060-1] DEBUG org.apache.axis2.engine.AbstractDispatcher - Found AxisService : annonService29094346 22 Sep 2006 09:54:52,498 [HttpConnection-6060-1] DEBUG org.apache.axis2.engine.RequestURIBasedDispatcher - Checking for Operation using QName(target endpoint URI fragment) : annonOutInOp 22 Sep 2006 09:54:52,498 [HttpConnection-6060-1] DEBUG org.apache.axis2.i18n.ProjectResourceBundle - org.apache.axis2.i18n.resource::handleGetObject(operationfound) 22 Sep 2006 09:54:52,498 [HttpConnection-6060-1] DEBUG org.apache.axis2.engine.AbstractDispatcher - Found AxisOperation : annonOutInOp 22 Sep 2006 09:54:52,498 [HttpConnection-6060-1] DEBUG org.apache.axis2.engine.Phase - Invoking Handler 'SOAPActionBasedDispatcher' in Phase 'Dispatch' 22 Sep 2006 09:54:52,498 [HttpConnection-6060-1] DEBUG org.apache.axis2.engine.Phase - Invoking Handler 'AddressingBasedDispatcher' in Phase 'Dispatch' 22 Sep 2006 09:54:52,498 [HttpConnection-6060-1] DEBUG org.apache.axis2.i18n.ProjectResourceBundle - org.apache.axis2.i18n.resource::handleGetObject(checkingrelatesto) 22 Sep 2006 09:54:52,498 [HttpConnection-6060-1] DEBUG org.apache.axis2.engine.AddressingBasedDispatcher - Checking RelatesTo : urn:uuid:2826AB04AFA6FBE0E011589332904511 22 Sep 2006 09:54:52,498 [HttpConnection-6060-1] DEBUG org.apache.axis2.engine.Phase - Invoking Handler 'SOAPMessageBodyBasedDispatcher' in Phase 'Dispatch' 22 Sep 2006 09:54:52,498 [HttpConnection-6060-1] DEBUG org.apache.axis2.engine.Phase - Invoking Handler 'InstanceDispatcher' in Phase 'Dispatch' 22 Sep 2006 09:54:52,498 [HttpConnection-6060-1] DEBUG org.apache.axis2.engine.Phase - Checking post-conditions for phase "Dispatch" 22 Sep 2006 09:54:52,498 [HttpConnection-6060-1] DEBUG org.apache.axis2.engine.Phase - Checking pre-condition for Phase "OperationInPhase" 22 Sep 2006 09:54:52,498 [HttpConnection-6060-1] DEBUG org.apache.axis2.engine.Phase - Invoking phase "OperationInPhase" 22 Sep 2006 09:54:52,498 [HttpConnection-6060-1] DEBUG org.apache.axis2.engine.Phase - Checking post-conditions for phase "OperationInPhase" 22 Sep 2006 09:54:52,498 [HttpConnection-6060-1] DEBUG org.apache.axiom.om.impl.builder.StAXOMBuilder - START_ELEMENT: faultcode:faultcode 22 Sep 2006 09:54:52,529 [HttpConnection-6060-1] DEBUG org.apache.axis2.addressing.AddressingHelper - isReplyRedirected: FaultTo is null. Returning isReplyRedirected 22 Sep 2006 09:54:52,529 [HttpConnection-6060-1] DEBUG org.apache.axis2.addressing.EndpointReference - hasAnonymousAddress: http://www.w3.org/2005/08/addressing/anonymous is Anonymous: true 22 Sep 2006 09:54:52,529 [HttpConnection-6060-1] DEBUG org.apache.axis2.engine.Phase - Checking pre-condition for Phase "OperationOutFaultPhase" 22 Sep 2006 09:54:52,529 [HttpConnection-6060-1] DEBUG org.apache.axis2.engine.Phase - Invoking phase "OperationOutFaultPhase" 22 Sep 2006 09:54:52,529 [HttpConnection-6060-1] DEBUG org.apache.axis2.engine.Phase - Checking post-conditions for phase "OperationOutFaultPhase" 22 Sep 2006 09:54:52,529 [HttpConnection-6060-1] DEBUG org.apache.axis2.engine.Phase - Checking pre-condition for Phase "PolicyDetermination" 22 Sep 2006 09:54:52,529 [HttpConnection-6060-1] DEBUG org.apache.axis2.engine.Phase - Invoking phase "PolicyDetermination" 22 Sep 2006 09:54:52,529 [HttpConnection-6060-1] DEBUG org.apache.axis2.engine.Phase - Checking post-conditions for phase "PolicyDetermination" 22 Sep 2006 09:54:52,529 [HttpConnection-6060-1] DEBUG org.apache.axis2.engine.Phase - Checking pre-condition for Phase "MessageOut" 22 Sep 2006 09:54:52,529 [HttpConnection-6060-1] DEBUG org.apache.axis2.engine.Phase - Invoking phase "MessageOut" 22 Sep 2006 09:54:52,529 [HttpConnection-6060-1] DEBUG org.apache.axis2.engine.Phase - Invoking Handler 'AddressingOutHandler' in Phase 'MessageOut' 22 Sep 2006 09:54:52,529 [HttpConnection-6060-1] DEBUG org.apache.axis2.addressing.EndpointReferenceHelper - toOM: Endpoint reference, [EMAIL PROTECTED] 22 Sep 2006 09:54:52,529 [HttpConnection-6060-1] DEBUG org.apache.axis2.addressing.EndpointReferenceHelper - toOM: Element qname, {http://www.w3.org/2005/08/addressing}ReplyTo 22 Sep 2006 09:54:52,529 [HttpConnection-6060-1] DEBUG org.apache.axis2.addressing.EndpointReferenceHelper - toOM: Addressing namespace, http://www.w3.org/2005/08/addressing 22 Sep 2006 09:54:52,529 [HttpConnection-6060-1] DEBUG org.apache.axis2.engine.Phase - Checking post-conditions for phase "MessageOut" 22 Sep 2006 09:54:52,529 [HttpConnection-6060-1] DEBUG org.apache.axiom.om.util.StAXUtils - XMLStreamWriter is com.ctc.wstx.sw.SimpleNsStreamWriter 22 Sep 2006 09:54:52,529 [HttpConnection-6060-1] DEBUG org.apache.axis2.transport.http.server.wire - << HTTP/1.1 500 Internal server error 22 Sep 2006 09:54:52,529 [HttpConnection-6060-1] DEBUG org.apache.axis2.transport.http.server.wire - << Date: Fri, 22 Sep 2006 13:54:52 GMT 22 Sep 2006 09:54:52,545 [HttpConnection-6060-1] DEBUG org.apache.axis2.transport.http.server.wire - << Server: Simple-Server/1.1 22 Sep 2006 09:54:52,545 [HttpConnection-6060-1] DEBUG org.apache.axis2.transport.http.server.wire - << Content-Length: 3613 22 Sep 2006 09:54:52,545 [HttpConnection-6060-1] DEBUG org.apache.axis2.transport.http.server.wire - << Content-Type: multipart/related; boundary=MIMEBoundaryurn_uuid_43699D7BDFCD0E0E3711589332925293; type="application/xop+xml"; start="<0.urn:uuid:[EMAIL PROTECTED]>"; start-info="text/xml"; charset=UTF-8 22 Sep 2006 09:54:52,545 [HttpConnection-6060-1] DEBUG org.apache.axis2.transport.http.server.wire - << Connection: Close 22 Sep 2006 09:54:52,545 [HttpConnection-6060-1] DEBUG org.apache.axis2.transport.http.server.DefaultHttpServiceProcessor - Response sent 22 Sep 2006 09:54:52,545 [HttpConnection-6060-1] DEBUG org.apache.axis2.transport.http.server.DefaultHttpConnectionManager - [EMAIL PROTECTED] terminated And here is the soap message coming in: <?xml version="1.0" encoding="utf-8"?> <soapenv:Envelope xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Header> <wsa:To>http://192.168.104.25:6060/axis2/services/annonService6586390/annonOutInOp</wsa:To> <wsa:ReplyTo> <wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address> </wsa:ReplyTo> <wsa:MessageID>urn:uuid:BF5C794451434E2F6F11589333805752</wsa:MessageID> <wsa:Action>http://www.w3.org/2005/08/addressing/fault</wsa:Action> <wsa:RelatesTo wsa:RelationshipType="http://www.w3.org/2005/08/addressing/reply">urn:uuid:B3299615902383862D11589333792311</wsa:RelatesTo> </soapenv:Header> <soapenv:Body> <soapenv:Fault> <detail> <Exception>org.apache.axis2.AxisFault at org.apache.axis2.receivers.RawXMLINOnlyMessageReceiver.invokeBusinessLogic(RawXMLINOnlyMessageReceiver.java:104) at org.apache.axis2.receivers.AbstractInMessageReceiver.receive(AbstractInMessageReceiver.java:36) at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:492) at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:324) at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:230) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170) </Exception> </detail> </soapenv:Fault> </soapenv:Body> </soapenv:Envelope> If I run with SOAP 1.2 it works, not sure why. > Parsing Soap Fault causes error > ------------------------------- > > Key: AXIS2-1203 > URL: http://issues.apache.org/jira/browse/AXIS2-1203 > Project: Apache Axis 2.0 (Axis2) > Issue Type: Bug > Environment: Win XP, Java 1.4.2, Axis2-nightly > Reporter: Roshan Punnoose > > When my client is parsing a SOAP fault, he generates this error: > org.apache.axiom.om.OMException: java.lang.IllegalStateException: > Current state not START_ELEMENT > It seems like Axiom doesn't parse the soap fault well. Any ideas? -- 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]