2017-08-06 10 views
0

SOAPサービスと対話するWSO2 EIを使用しています。私はSOAP ServiceがHTTP 500を返すときに奇妙なケースがありますが、WSO2は次の例外を返します。なぜこのことが起こっているのか誰かが理解できるように助けてくれる?WSO2 EI | SOAPエンベロープ例外

http://www.w3.org/2005/08/addressing/anonymous, WSAction: , SOAPAction: , MessageID: urn:uuid:d176d8c6-57ff-4ee3-b5ca-e043602d6fec, Direction: response, Envelope: <?xml version='1.0' encoding='utf-8'?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"><soapenv:Body><soapenv:Envelope><soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing"><wsa:To>http://www.w3.org/2005/08/addressing/anonymous</wsa:To><wsa:ReplyTo><wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address></wsa:ReplyTo><wsa:MessageID>urn:uuid:992bea3f-16f0-49d3-91a2-1e03375bac9c</wsa:MessageID><wsa:Action>http://www.w3.org/2005/08/addressing/soap/fault</wsa:Action></soapenv:Header><soapenv:Body><soapenv:Fault><faultcode>soapenv:</faultcode><faultstring>First Element must contain the local name, Envelope , but found PhoneNumber</faultstring><detail><Exception>org.apache.axis2.AxisFault: Exception during creation of SOAP envelope structure 
at com.ibm.broker.axis2.Axis2Invoker.processInboundRequest(Axis2Invoker.java:3527) 
at com.ibm.broker.axis2.Axis2Invoker.invokeAxis2(Axis2Invoker.java:3101) 
at com.ibm.broker.axis2.TomcatNodeRegistrationUtil.invokeAxis2(TomcatNodeRegistrationUtil.java:669) 
at com.ibm.broker.axis2.TomcatNodeRegistrationUtil.invokeAxis2(TomcatNodeRegistrationUtil.java:615) 

によって引き起こさ:org.apache.axiom.soap.SOAPProcessingException:最初の要素は、封筒のローカル名が含まれていますが、org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.constructNodeでのPhoneNumber を見つけなければなりませんorg.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.createNextOMElementでorg.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.createOMElement(StAXSOAPModelBuilder.java:252) で(StAXSOAPModelBuilder.java:305) (StAXSOAPModelBuilder .java:234) at org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:249) at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder.getSOAPEnvelope(StAXSOAPMode lBuilder.java:204) at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder。 < init>(StAXSOAPModelBuilder.java:154) at org.apache.axiom.soap.impl.builder.StAXSOAPModelBuilder。 < INIT>(StAXSOAPModelBuilder.java:140)com.ibm.broker.axis2.SoapUtilities.createSOAPMessageでcom.ibm.broker.axis2.SoapUtilities.createSOAPMessage(SoapUtilities.java:2224) で(SoapUtilities.java:1924)この要求は、SOAPリクエストであることを示すために "SOAP11" を追加した後に解決 com.ibm.broker.axis2.Axis2Invoker.processInboundRequestで(Axis2Invoker.java:3521) ... 3もっと

答えて

0

問題。

関連する問題