2- Axis2 does not support SOAP Encoding.
3- The WSDL has errors -- you must remove the namespace attributes from the <soap:body> and <soap12:body> definitions.
Anne
On 6/16/06, Jan Bauer Nielsen <[EMAIL PROTECTED]> wrote:
Hi.
Can anyone explain to me why the following request gives me an internal
server error?
I have attached the wsdl file.
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/ "
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/ "
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<echoString
xmlns=" http://userguide.axis2.apache.org/Axis2SampleDocLit">
<echoStringParam xsi:type="xsd:string">TEST1</echoStringParam>
</echoString>
</soap:Body>
</soap:Envelope>
org.apache.axiom.om.OMException
org.apache.axiom.om.impl.llom.OMElementImpl.getNextOMSibling(OMElementImpl.java:265)
org.apache.axiom.om.impl.traverse.OMChildrenQNameIterator.hasNext(OMChildrenQNameIterator.java :75)
org.apache.axiom.om.impl.llom.OMElementImpl.getFirstChildWithName(OMElementImpl.java:222)
org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.getHeader(SOAPEnvelopeImpl.java:76)
org.apache.axis2.engine.AxisEngine.createFaultMessageContext (AxisEngine.java:183)
org.apache.axis2.transport.http.AxisServlet.handleFault(AxisServlet.java:168)
org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:153)
javax.servlet.http.HttpServlet.service (HttpServlet.java:615)
javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
Kind regards,
--
Jan Bauer Nielsen
Center of Knowledge Technology, Technical Knowledge Center of Denmark
Anker Engelunds Vej 1, Postboks 777, 2800 Kongens Lyngby, Denmark
Direct: (+45) 4525 7221, [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
