You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Ioan Lupu <al...@yahoo.com> on 2002/09/04 13:53:00 UTC
strange headers...
Hi folks!
I'm getting a strange reply from the server. The reply is
a soap response with two attachments and it's using chunked
encoding. I know what chunked enconding means, but i'm not
sure about the headers of the attachments if they are supposed
to be that way. Is that normal?!
And one more question: the 'Content-Type' header is not on
a single line (boundary is on a new line), as it should be,
and J2ME is throwing an exception (malformed header field)
when it tries to parse it. How can i fix Axis to send proper
headers? Is there a fix for this problem?
==== Response ====
HTTP/1.1 200 OK
Content-Type: multipart/related;type="text/xml"; \
start="<52...@xxxx.xxxxxxxxx.xxx>";
boundary="----=_Part_5210_2234888.1030689649491"
Date: Fri, 30 Aug 2002 06:40:49 GMT
Transfer-Encoding: chunked
Server: Apache Tomcat/4.0.3 (HTTP/1.1 Connector)
2
27
------=_Part_5210_2234888.1030689649491
2
25
Content-Type: text/xml; charset=UTF-8
2
21
Content-Transfer-Encoding: binary
2
3f
Content-Id: <52...@xxxx.xxxxxxxxx.xxx>
2
2
3b3
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope ...>
...
</soapenv:Envelope>
...
Thanks in advance!
Regards,
Ioan Lupu...
__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
Re: strange headers...
Posted by Scott Nichol <sn...@scottnichol.com>.
Since this is an Axis question, please post it to axis-user@xml.apache.org.
Scott Nichol
----- Original Message -----
From: "Ioan Lupu" <al...@yahoo.com>
To: <so...@xml.apache.org>
Sent: Wednesday, September 04, 2002 7:53 AM
Subject: strange headers...
Hi folks!
I'm getting a strange reply from the server. The reply is
a soap response with two attachments and it's using chunked
encoding. I know what chunked enconding means, but i'm not
sure about the headers of the attachments if they are supposed
to be that way. Is that normal?!
And one more question: the 'Content-Type' header is not on
a single line (boundary is on a new line), as it should be,
and J2ME is throwing an exception (malformed header field)
when it tries to parse it. How can i fix Axis to send proper
headers? Is there a fix for this problem?
==== Response ====
HTTP/1.1 200 OK
Content-Type: multipart/related;type="text/xml"; \
start="<52...@xxxx.xxxxxxxxx.xxx>";
boundary="----=_Part_5210_2234888.1030689649491"
Date: Fri, 30 Aug 2002 06:40:49 GMT
Transfer-Encoding: chunked
Server: Apache Tomcat/4.0.3 (HTTP/1.1 Connector)
2
27
------=_Part_5210_2234888.1030689649491
2
25
Content-Type: text/xml; charset=UTF-8
2
21
Content-Transfer-Encoding: binary
2
3f
Content-Id: <52...@xxxx.xxxxxxxxx.xxx>
2
2
3b3
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope ...>
...
</soapenv:Envelope>
...
Thanks in advance!
Regards,
Ioan Lupu...
__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
Re: strange headers...
Posted by Scott Nichol <sn...@scottnichol.com>.
Since this is an Axis question, please post it to axis-user@xml.apache.org.
Scott Nichol
----- Original Message -----
From: "Ioan Lupu" <al...@yahoo.com>
To: <so...@xml.apache.org>
Sent: Wednesday, September 04, 2002 7:53 AM
Subject: strange headers...
Hi folks!
I'm getting a strange reply from the server. The reply is
a soap response with two attachments and it's using chunked
encoding. I know what chunked enconding means, but i'm not
sure about the headers of the attachments if they are supposed
to be that way. Is that normal?!
And one more question: the 'Content-Type' header is not on
a single line (boundary is on a new line), as it should be,
and J2ME is throwing an exception (malformed header field)
when it tries to parse it. How can i fix Axis to send proper
headers? Is there a fix for this problem?
==== Response ====
HTTP/1.1 200 OK
Content-Type: multipart/related;type="text/xml"; \
start="<52...@xxxx.xxxxxxxxx.xxx>";
boundary="----=_Part_5210_2234888.1030689649491"
Date: Fri, 30 Aug 2002 06:40:49 GMT
Transfer-Encoding: chunked
Server: Apache Tomcat/4.0.3 (HTTP/1.1 Connector)
2
27
------=_Part_5210_2234888.1030689649491
2
25
Content-Type: text/xml; charset=UTF-8
2
21
Content-Transfer-Encoding: binary
2
3f
Content-Id: <52...@xxxx.xxxxxxxxx.xxx>
2
2
3b3
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope ...>
...
</soapenv:Envelope>
...
Thanks in advance!
Regards,
Ioan Lupu...
__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>
--
To unsubscribe, e-mail: <ma...@xml.apache.org>
For additional commands, e-mail: <ma...@xml.apache.org>