hi All I am using the axis2 client to send a request like the following (TCPmon)
POST /axis2/services/Seismolink; HTTP/1.1 Content-Type: text/xml; charset=UTF-8 SOAPAction: "urn:anonOutInOp" User-Agent: Axis2 Host: bsfso1:9101 Transfer-Encoding: chunked 247 <?xml version='1.0' encoding='UTF-8'?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <dataRequest xmlns="urn:xml:seisml:orfeus:neries:org"> <UserToken /> <StationIdentifierFilter> <TimeSpan> <TimePeriod> <beginPosition xmlns="http://www.opengis.net/gml">2005-04-27T13:05:38</beginPosition> <endPosition xmlns="http://www.opengis.net/gml">2005-04-27T13:10:38</endPosition> </TimePeriod> </TimeSpan> <StationCode>CHIF</StationCode> <ChannelCode>BHZ</ChannelCode> <LocId>.</LocId> </StationIdentifierFilter> </dataRequest> </soapenv:Body> </soapenv:Envelope>0 and I get the following HTTP/1.1 500 Internal Server Error Server: Apache-Coyote/1.1 Content-Type: text/xml;charset=UTF-8 Date: Mon, 17 Mar 2008 10:12:34 GMT Connection: close Proxy-Connection: close <?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:Action>http://www.w3.org/2005/08/addressing/soap/fault</wsa:Action> </soapenv:Header> <soapenv:Body> <soapenv:Fault> <faultcode></faultcode> <faultstring>com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog at [row,col {unknown-source}]: [1,0]</faultstring> <detail /> </soapenv:Fault> </soapenv:Body> </soapenv:Envelope> Now, if I proxy my request trimming the bytes of the body with few changes on the header like: POST /axis2/services/Seismolink HTTP/1.1 Content-Type: text/xml SOAPAction: "urn:anonOutInOp" Cache-Control: no-cache Pragma: no-cache User-Agent: Java/1.5.0_07 Host: bsfso1:9101 Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Connection: keep-alive Content-Length: 575 <?xml version='1.0' encoding='UTF-8'?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <dataRequest xmlns="urn:xml:seisml:orfeus:neries:org"> <UserToken /> <StationIdentifierFilter> <TimeSpan> <TimePeriod> <beginPosition xmlns="http://www.opengis.net/gml">2005-04-27T13:05:38</beginPosition> <endPosition xmlns="http://www.opengis.net/gml">2005-04-27T13:10:38</endPosition> </TimePeriod> </TimeSpan> <StationCode>CHIF</StationCode> <ChannelCode>BHZ</ChannelCode> <LocId>.</LocId> </StationIdentifierFilter> </dataRequest> </soapenv:Body> </soapenv:Envelope> it works perfectly.. what`s wrong weith the first requests? I am using the SendReceive method of the axis2 client (basic axiom client) It seems I have to proxy all my request to remove some garbage..!! Please Help! -- View this message in context: http://www.nabble.com/axis2-axiom-client-error%3A-com.ctc.wstx.exc.WstxEOFException%3A-tp16091937p16091937.html Sent from the Axis - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
