You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Michael Sutter <Su...@gmx.li> on 2007/08/31 15:26:43 UTC

entry before soap message

Hello list,

I have a problem by querying a webservice from a axis2 Java client. I have the WSDL of the service and generated the client stubs. After implementation of the client and accessing the service I always get a exception. 
I recorded the whole http request with a monitor program and so I know where the error belongs to. The problem is, that I have a number before and after the SOAP message which is interpreted from the service as part of the SOAP message and the error is returned because the service can't parse the SOAP message. The problem is, that I can't change the behavior of the service. 

The http request looks like this:

http-header

168

<?xml version='1.0' encoding='UTF-8'?><soapenv:Envelope ... </soapenv:Envelope>

0


The error belongs to the 168 and 0. When I request the server directly over a Java HttpConnection without the numbers everything works fine - but this is not the way I want to do it.

Has anybody a idea how I can get rid of the numbers? Maybe there is a special option to set before performing the request?

Kind regards 
Michael
-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kanns mit allen: http://www.gmx.net/de/go/multimessenger

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org