org.apache.axis2.AxisFault: Erstes Element enthält die lokalen Namen, die Hülle , sondern fand Definitionen

Anforderungen, funktioniert einwandfrei in meiner lokalen Umgebung, und es funktioniert nicht auf die bereitgestellte Umgebung . Wünsche wurden versucht, von verschiedenen Kunden, darunter soapui. Code bereitgestellt WURDE

Axis2

org.apache.axis2.AxisFault: First Element must contain the local name, Envelope , but found definitions
    at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
    at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:123)
    at org.apache.axis2.transport.TransportUtils.createSOAPMessage(TransportUtils.java:67)
    at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:354)
    at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:417)
    at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
    at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1604)
Caused by: org.apache.axiom.soap.SOAPProcessingException: First Element must contain the local name, Envelope , but found definitions
    at java.lang.Throwable.<init>(Throwable.java:67)
  • Du scheinst aufrufen service mittels WSDL-Adresse, nicht eine echte endpoint-Adresse.
  • Tatsächlich, dein Kommentar ist die Antwort!
  • Die Endpunkt-url gibt mir, wenn man im browser < / SOAP-ENV:Envelope xmlns:SOAP-ENV="schemas.xmlsoap.org/soap/envelope"> < / SOAP-ENV:Body> < / SOAP-ENV:Fault> <faultcode>Absender</faultcode> <faultstring>Ungültiges XML</faultstring> </SOAP-ENV:Fault> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
  • noch, wenn ich diese, bekam ich diese Fehlermeldung "java.lang.RuntimeException: org.apache.axis2.AxisFault: Prozedur "login" nicht vorhanden" try { login(); } catch (AxisFault e) { throw new RuntimeException(e); }
  • ohne web.xml und Achse config kann ich nicht sagen, nichts mehr, als mein Erster Kommentar....
InformationsquelleAutor VPR | 2012-05-25
Schreibe einen Kommentar