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 justin ouyang <ju...@gmail.com> on 2007/01/31 04:58:31 UTC

Help: some strange chars in the http response.

When i used TCPMON to monitor the soap message, i found some strange chars
in the response message.  the chars was highlighted.

HTTP/1.1 200 OK

Date: Wed, 31 Jan 2007 03:42:13 GMT

Content-Type: text/xml; charset=utf-8

Transfer-Encoding: chunked



*0213*
<?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>
         <ns1:getVersionResponse soapenv:encodingStyle="
http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://axis.apache.org
">
            <getVersionReturn xsi:type="xsd:string">Apache Axis version:
1.4Built on Apr 22, 2006 (06:55:48 PDT)</getVersionReturn>
         </ns1:getVersionResponse>
      </soapenv:Body>
   </soapenv:Envelope>*0000*
**
**
Runtime: Axis1.4 run on Weblogic815.

Re: some strange chars in the http response.

Posted by Martin Gainty <mg...@hotmail.com>.
Justin--

check the beginning of the transmitted xml
you *may* have some whitespace characters in the prolog

Martin--
--------------------------------------------------------------------------- 
This e-mail message (including attachments, if any) is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, proprietary , confidential and exempt from disclosure. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this communication is strictly prohibited.
--------------------------------------------------------------------------- 
Le présent message électronique (y compris les pièces qui y sont annexées, le cas échéant) s'adresse au destinataire indiqué et peut contenir des renseignements de caractère privé ou confidentiel. Si vous n'êtes pas le destinataire de ce document, nous vous signalons qu'il est strictement interdit de le diffuser, de le distribuer ou de le reproduire.
  ----- Original Message ----- 
  From: justin ouyang 
  To: axis-user@ws.apache.org 
  Sent: Tuesday, January 30, 2007 10:58 PM
  Subject: Help: some strange chars in the http response.


  When i used TCPMON to monitor the soap message, i found some strange chars in the response message.  the chars was highlighted.

  HTTP/1.1 200 OK
  Date: Wed, 31 Jan 2007 03:42:13 GMT

  Content-Type: text/xml; charset=utf-8

  Transfer-Encoding: chunked



  0213

  <?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> 
           <ns1:getVersionResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1=" http://axis.apache.org">
              <getVersionReturn xsi:type="xsd:string">Apache Axis version: 1.4Built on Apr 22, 2006 (06:55:48 PDT)</getVersionReturn>
           </ns1:getVersionResponse> 
        </soapenv:Body>
     </soapenv:Envelope>0000


  Runtime: Axis1.4 run on Weblogic815.

Re: Help: some strange chars in the http response.

Posted by Javier Kohen <jk...@users.sourceforge.net>.
El mié, 31-01-2007 a las 11:58 +0800, justin ouyang escribió:
> When i used TCPMON to monitor the soap message, i found some strange
> chars in the response message.  the chars was highlighted.
> 
> HTTP/1.1 200 OK
> Date: Wed, 31 Jan 2007 03:42:13 GMT
> 
> Content-Type: text/xml; charset=utf-8
> 
> Transfer-Encoding: chunked
> 
>  
> 
> 0213
> 
> <?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> 
>          <ns1:getVersionResponse
> soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:ns1="http://axis.apache.org">
>             <getVersionReturn xsi:type="xsd:string">Apache Axis
> version: 1.4Built on Apr 22, 2006 (06:55:48 PDT)</getVersionReturn>
>          </ns1:getVersionResponse> 
>       </soapenv:Body>
>    </soapenv:Envelope>0000
>  
>  
> Runtime: Axis1.4 run on Weblogic815.

That's a direct consequence of using chunked encoding and is a standard
part of HTTP.
-- 
Javier Kohen <jk...@users.sourceforge.net>
ICQ: blashyrkh #2361802
Jabber: jkohen@jabber.org