Anne
On 6/15/06, Andrew B <
[EMAIL PROTECTED]> wrote:
Hi,
The SOAP request is:
POST /axis2/services/TTWSServiceService HTTP/1.0
Content-Type: text/xml; charset=utf-8
Accept: application/soap+xml, application/dime, multipart/related, text/*
User-Agent: Axis/1.3
Host: 127.0.0.1:8888
Cache-Control: no-cache
Pragma: no-cache
SOAPAction: ""
Content-Length: 623
Authorization: Basic V0FMTUFSVDpXQUwxMjNNQVJU
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd=" http://www.w3.org/2001/XMLSchema" xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body><TTIS xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="VW_TrailerData_Request_Schema.xsd">
<TRAILERDATATRNRQ>
<TRNID>1111</TRNID>
<TRAILERDATARQ>
<TARGETASSETS>
<TARGETALL>Y</TARGETALL>
</TARGETASSETS>
<GETLATESTDATA>Y</GETLATESTDATA>
<COMPRESS>Y</COMPRESS>
</TRAILERDATARQ>
</TRAILERDATATRNRQ>
</TTIS>
</soapenv:Body>
</soapenv:Envelope>
This is actually being generated by an Axis 1 client, calling an Axis2 service. The service bombs out with the exception:
ERROR [[AxisServlet]] Servlet.service() for servlet AxisServlet threw exception
org.apache.axiom.om.OMException
at org.apache.axiom.om.impl.llom.OMElementImpl.getNextOMSibling(OMElementImpl.java:265)
at org.apache.axiom.om.impl.traverse.OMChildrenQNameIterator.hasNext(OMChildrenQNameIterator.java:75)
at org.apache.axiom.om.impl.llom.OMElementImpl.getFirstChildWithName (OMElementImpl.java:222)
at org.apache.axiom.soap.impl.llom.SOAPEnvelopeImpl.getHeader(SOAPEnvelopeImpl.java:76)
at org.apache.axis2.engine.AxisEngine.createFaultMessageContext(AxisEngine.java:183)
at org.apache.axis2.transport.http.AxisServlet.handleFault(AxisServlet.java:168)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:153)
at javax.servlet.http.HttpServlet.service(HttpServlet.java :717)
.....
The stack trace makes me think there is something wrong with the SOAP envelope, but I can't see what it is. Any help is appreciated - I have to get this thing working urgently.
Thanks!__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
