After many test i find why sending a soap message with 2 attachments with an
Axis client  only one is received. As you can see in this Wireshark log the
response is send before the message is completely received. With Wireshark
packet viewer is easy to notice that client send the message, but server
reply between the 2 attachments. In fact the 2nd one is trasmitted after the
reply.

This not happen all times.. with my client and server happens 90% of times.
if i put a tcpmon between client and server the percentage of this error
drop to 10%.. 

If u need something to replicate the bug just ask me.



 



POST /openspcoop/PD/HelloWorld HTTP/1.0

Content-Type: multipart/related; type="text/xml";
start="<ED811707DB0752B21BB39D157F6BFF61>";
.boundary="----=_Part_0_32755292.1201002904839"

Accept: application/soap+xml, application/dime, multipart/related, text/*

User-Agent: Axis/1.4

Host: localhost:8080

Cache-Control: no-cache

Pragma: no-cache

SOAPAction: ""

Content-Length: 1443





------=_Part_0_32755292.1201002904839

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

Content-Transfer-Encoding: binary

Content-Id: <ED811707DB0752B21BB39D157F6BFF61>



<?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><eseguiServizio
xmlns="http://spcoop.it/cart/pdd-test";><Richiesta>&lt;persona
nome=&quot;mario&quot;
cognome=&quot;rossi&quot;/&gt;</Richiesta><attachInZIP1
href="cid:7D3142D3FF2B53A1B86D95C3F7B31360" xmlns=""/><attachInZIP2
href="cid:8D8807258A5C72ADF6DE8C3CF38EBE96"
xmlns=""/></eseguiServizio></soapenv:Body></soapenv:Envelope


------=_Part_0_32755292.1201002904839

Content-Type: application/octet-stream

Content-Transfer-Encoding: binary

Content-Id: <7D3142D3FF2B53A1B86D95C3F7B31360>



PK.........US5.~S.............prova.xmlUT...$;7E$;7EUx....d..I.L...H...../.I....p..PK...........US5.~S...........
...............prova.xmlUT...$;7EUx..PK..........D...S.....HTTP/1.1 200 OK

Server: Apache-Coyote/1.1

X-Powered-By: Servlet 2.4; JBoss-4.0.5.GA (build: CVSTag=Branch_4_0
date=200610162339)/Tomcat-5.5

Accept: text/xml, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2

Content-Type: multipart/related; type="text/xml";
boundary="----=_Part_149_7828053.1201002905051"

Content-Length: 925

Date: Tue, 22 Jan 2008 11:55:05 GMT

Connection: close



------=_Part_149_7828053.1201002905051

Content-Type: text/xml; charset=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><eseguiServizio
xmlns="http://spcoop.it/cart/pdd-test";><Richiesta>&lt;persona nome="mario"
cognome="rossi"/&gt;</Richiesta><attachInZIP1 xmlns=""
href="cid:7D3142D3FF2B53A1B86D95C3F7B31360"/><attachInZIP2 xmlns=""
href="cid:8D8807258A5C72ADF6DE8C3CF38EBE96"/></eseguiServizio></soapenv:Body></soapenv:Envelope>

------=_Part_149_7828053.1201002905051

Content-Type: application/octet-stream

Content-ID: <7D3142D3FF2B53A1B86D95C3F7B31360>

content-transfer-encoding: binary



PK.........US5.~S.............prova.xmlUT...$;7E$;7EUx....d..I.L...H...../.I....p..PK...........US5.~S.........x..PK..........D...S.....

------=_Part_149_7828053.1201002905051--

------=_Part_0_32755292.1201002904839

Content-Type: application/octet-stream

Content-Transfer-Encoding: binary

Content-Id: <8D8807258A5C72ADF6DE8C3CF38EBE96>



PK.........US5.~S.............prova.xmlUT...$;7E$;7EUx....d..I.L...H...../.I....p..PK...........US5.~S...........
...............prova.xmlUT...$;7EUx..PK..........D...S.....

------=_Part_0_32755292.1201002904839--


-- 
View this message in context: 
http://www.nabble.com/-CXF--Bug--SOAPwAttachment-bad-received.-tp15017531p15017531.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to