You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Haug Bürger (JIRA)" <ax...@ws.apache.org> on 2005/06/22 11:20:26 UTC

[jira] Erstellt: (AXIS-2075) 59f0 added if HTTP/1.1 is used

59f<xml>0 added if HTTP/1.1 is used
-----------------------------------

         Key: AXIS-2075
         URL: http://issues.apache.org/jira/browse/AXIS-2075
     Project: Apache Axis
        Type: Bug
  Components: Basic Architecture  
    Versions: 1.2.1    
 Environment: Windows XP, JDK 1.4.2
    Reporter: Haug Bürger


The response contains 59f before the XML begins and a 0 afterwards. Traced with tcpmon.

POST /tws/services/TestWS HTTP/1.1
Accept: text/xml
SOAPAction: ""
Content-Type: text/xml
User-Agent: Borland SOAP 1.1
Host: localhost:8085
Content-Length: 587
Connection: Keep-Alive
Cache-Control: no-cache

<?xml version="1.0"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><NS1:getStatusZone xmlns:NS1="service:TestWS"><warehouse xsi:type="xsd:int">1</warehouse><area xsi:type="xsd:int">2</area><aisle xsi:type="xsd:int">3</aisle><side xsi:type="xsd:int">4</side></NS1:getStatusZone></SOAP-ENV:Body></SOAP-ENV:Envelope>

HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/xml;charset=utf-8
Transfer-Encoding: chunked
Date: Wed, 22 Jun 2005 09:04:26 GMT

59f
<?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><getStatusZoneResponse xmlns="service:TestWS"><getStatusZoneReturn xmlns=""><item xsi:type="ns1:PTLInfoElement" xmlns:ns1="service:TestWS"><id>1</id><subsystem></subsystem><subsystemAddress>2</subsystemAddress><displayMode>1</displayMode><displayText>DisplayText</displayText><errorCode>-1</errorCode><address>address</address><pattern><text></text></pattern><range><min>0</min><max>1</max></range><buttonEnabled>false</buttonEnabled><buttonMode>a</buttonMode><digitalOutputData>b</digitalOutputData><digitalOutputMessage>c</digitalOutputMessage><errorText>d</errorText><instance>&#xF6;</instance></item><item xsi:type="ns2:PTLInfoElement" xmlns:ns2="service:TestWS"><id>2</id><subsystem></subsystem><subsystemAddress>2</subsystemAddress><displayMode>1</displayMode><displayText>DisplayText</displayText><errorCode>-1</errorCode><address>address</address><pattern><text></text></pattern><range><min>0</min><max>1</max></range><buttonEnabled>false</buttonEnabled><buttonMode>a</buttonMode><digitalOutputData>b</digitalOutputData><digitalOutputMessage>c</digitalOutputMessage><errorText>d</errorText><instance>&#xF6;</instance></item></getStatusZoneReturn></getStatusZoneResponse></soapenv:Body></soapenv:Envelope>
0




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS-2075) 59f0 added if HTTP/1.1 is used

Posted by "Dave Marquard (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS-2075?page=comments#action_12314243 ] 

Dave Marquard commented on AXIS-2075:
-------------------------------------

This is a normal part of chunked encoding in HTTP 1.1. See http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.6.1 for more details.

Chunked encoding is not part of HTTP 1.0, which is why you don't see the hexidecimal size indicator (i.e., 59f) when you do a HTTP 1.0 POST.

> 59f<xml>0 added if HTTP/1.1 is used
> -----------------------------------
>
>          Key: AXIS-2075
>          URL: http://issues.apache.org/jira/browse/AXIS-2075
>      Project: Apache Axis
>         Type: Bug
>   Components: Basic Architecture
>     Versions: 1.2.1
>  Environment: Windows XP, JDK 1.4.2
>     Reporter: Haug Bürger

>
> The response contains 59f before the XML begins and a 0 afterwards. Traced with tcpmon.
> POST /tws/services/TestWS HTTP/1.1
> Accept: text/xml
> SOAPAction: ""
> Content-Type: text/xml
> User-Agent: Borland SOAP 1.1
> Host: localhost:8085
> Content-Length: 587
> Connection: Keep-Alive
> Cache-Control: no-cache
> <?xml version="1.0"?>
> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><NS1:getStatusZone xmlns:NS1="service:TestWS"><warehouse xsi:type="xsd:int">1</warehouse><area xsi:type="xsd:int">2</area><aisle xsi:type="xsd:int">3</aisle><side xsi:type="xsd:int">4</side></NS1:getStatusZone></SOAP-ENV:Body></SOAP-ENV:Envelope>
> HTTP/1.1 200 OK
> Server: Apache-Coyote/1.1
> Content-Type: text/xml;charset=utf-8
> Transfer-Encoding: chunked
> Date: Wed, 22 Jun 2005 09:04:26 GMT
> 59f
> <?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><getStatusZoneResponse xmlns="service:TestWS"><getStatusZoneReturn xmlns=""><item xsi:type="ns1:PTLInfoElement" xmlns:ns1="service:TestWS"><id>1</id><subsystem></subsystem><subsystemAddress>2</subsystemAddress><displayMode>1</displayMode><displayText>DisplayText</displayText><errorCode>-1</errorCode><address>address</address><pattern><text></text></pattern><range><min>0</min><max>1</max></range><buttonEnabled>false</buttonEnabled><buttonMode>a</buttonMode><digitalOutputData>b</digitalOutputData><digitalOutputMessage>c</digitalOutputMessage><errorText>d</errorText><instance>&#xF6;</instance></item><item xsi:type="ns2:PTLInfoElement" xmlns:ns2="service:TestWS"><id>2</id><subsystem></subsystem><subsystemAddress>2</subsystemAddress><displayMode>1</displayMode><displayText>DisplayText</displayText><errorCode>-1</errorCode><address>address</address><pattern><text></text></pattern><range><min>0</min><max>1</max></range><buttonEnabled>false</buttonEnabled><buttonMode>a</buttonMode><digitalOutputData>b</digitalOutputData><digitalOutputMessage>c</digitalOutputMessage><errorText>d</errorText><instance>&#xF6;</instance></item></getStatusZoneReturn></getStatusZoneResponse></soapenv:Body></soapenv:Envelope>
> 0

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Kommentiert: (AXIS-2075) 59f0 added if HTTP/1.1 is used

Posted by "Haug Bürger (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS-2075?page=comments#action_12314208 ] 

Haug Bürger commented on AXIS-2075:
-----------------------------------

Resending the same message with
POST /tws/services/TestWS HTTP/1.0
solves the issue.

> 59f<xml>0 added if HTTP/1.1 is used
> -----------------------------------
>
>          Key: AXIS-2075
>          URL: http://issues.apache.org/jira/browse/AXIS-2075
>      Project: Apache Axis
>         Type: Bug
>   Components: Basic Architecture
>     Versions: 1.2.1
>  Environment: Windows XP, JDK 1.4.2
>     Reporter: Haug Bürger

>
> The response contains 59f before the XML begins and a 0 afterwards. Traced with tcpmon.
> POST /tws/services/TestWS HTTP/1.1
> Accept: text/xml
> SOAPAction: ""
> Content-Type: text/xml
> User-Agent: Borland SOAP 1.1
> Host: localhost:8085
> Content-Length: 587
> Connection: Keep-Alive
> Cache-Control: no-cache
> <?xml version="1.0"?>
> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><NS1:getStatusZone xmlns:NS1="service:TestWS"><warehouse xsi:type="xsd:int">1</warehouse><area xsi:type="xsd:int">2</area><aisle xsi:type="xsd:int">3</aisle><side xsi:type="xsd:int">4</side></NS1:getStatusZone></SOAP-ENV:Body></SOAP-ENV:Envelope>
> HTTP/1.1 200 OK
> Server: Apache-Coyote/1.1
> Content-Type: text/xml;charset=utf-8
> Transfer-Encoding: chunked
> Date: Wed, 22 Jun 2005 09:04:26 GMT
> 59f
> <?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><getStatusZoneResponse xmlns="service:TestWS"><getStatusZoneReturn xmlns=""><item xsi:type="ns1:PTLInfoElement" xmlns:ns1="service:TestWS"><id>1</id><subsystem></subsystem><subsystemAddress>2</subsystemAddress><displayMode>1</displayMode><displayText>DisplayText</displayText><errorCode>-1</errorCode><address>address</address><pattern><text></text></pattern><range><min>0</min><max>1</max></range><buttonEnabled>false</buttonEnabled><buttonMode>a</buttonMode><digitalOutputData>b</digitalOutputData><digitalOutputMessage>c</digitalOutputMessage><errorText>d</errorText><instance>&#xF6;</instance></item><item xsi:type="ns2:PTLInfoElement" xmlns:ns2="service:TestWS"><id>2</id><subsystem></subsystem><subsystemAddress>2</subsystemAddress><displayMode>1</displayMode><displayText>DisplayText</displayText><errorCode>-1</errorCode><address>address</address><pattern><text></text></pattern><range><min>0</min><max>1</max></range><buttonEnabled>false</buttonEnabled><buttonMode>a</buttonMode><digitalOutputData>b</digitalOutputData><digitalOutputMessage>c</digitalOutputMessage><errorText>d</errorText><instance>&#xF6;</instance></item></getStatusZoneReturn></getStatusZoneResponse></soapenv:Body></soapenv:Envelope>
> 0

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (AXIS-2075) 59f0 added if HTTP/1.1 is used

Posted by "Davanum Srinivas (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS-2075?page=all ]
     
Davanum Srinivas resolved AXIS-2075:
------------------------------------

    Resolution: Won't Fix

see last comment.

> 59f<xml>0 added if HTTP/1.1 is used
> -----------------------------------
>
>          Key: AXIS-2075
>          URL: http://issues.apache.org/jira/browse/AXIS-2075
>      Project: Apache Axis
>         Type: Bug
>   Components: Basic Architecture
>     Versions: 1.2.1
>  Environment: Windows XP, JDK 1.4.2
>     Reporter: Haug Bürger

>
> The response contains 59f before the XML begins and a 0 afterwards. Traced with tcpmon.
> POST /tws/services/TestWS HTTP/1.1
> Accept: text/xml
> SOAPAction: ""
> Content-Type: text/xml
> User-Agent: Borland SOAP 1.1
> Host: localhost:8085
> Content-Length: 587
> Connection: Keep-Alive
> Cache-Control: no-cache
> <?xml version="1.0"?>
> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><NS1:getStatusZone xmlns:NS1="service:TestWS"><warehouse xsi:type="xsd:int">1</warehouse><area xsi:type="xsd:int">2</area><aisle xsi:type="xsd:int">3</aisle><side xsi:type="xsd:int">4</side></NS1:getStatusZone></SOAP-ENV:Body></SOAP-ENV:Envelope>
> HTTP/1.1 200 OK
> Server: Apache-Coyote/1.1
> Content-Type: text/xml;charset=utf-8
> Transfer-Encoding: chunked
> Date: Wed, 22 Jun 2005 09:04:26 GMT
> 59f
> <?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><getStatusZoneResponse xmlns="service:TestWS"><getStatusZoneReturn xmlns=""><item xsi:type="ns1:PTLInfoElement" xmlns:ns1="service:TestWS"><id>1</id><subsystem></subsystem><subsystemAddress>2</subsystemAddress><displayMode>1</displayMode><displayText>DisplayText</displayText><errorCode>-1</errorCode><address>address</address><pattern><text></text></pattern><range><min>0</min><max>1</max></range><buttonEnabled>false</buttonEnabled><buttonMode>a</buttonMode><digitalOutputData>b</digitalOutputData><digitalOutputMessage>c</digitalOutputMessage><errorText>d</errorText><instance>&#xF6;</instance></item><item xsi:type="ns2:PTLInfoElement" xmlns:ns2="service:TestWS"><id>2</id><subsystem></subsystem><subsystemAddress>2</subsystemAddress><displayMode>1</displayMode><displayText>DisplayText</displayText><errorCode>-1</errorCode><address>address</address><pattern><text></text></pattern><range><min>0</min><max>1</max></range><buttonEnabled>false</buttonEnabled><buttonMode>a</buttonMode><digitalOutputData>b</digitalOutputData><digitalOutputMessage>c</digitalOutputMessage><errorText>d</errorText><instance>&#xF6;</instance></item></getStatusZoneReturn></getStatusZoneResponse></soapenv:Body></soapenv:Envelope>
> 0

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira