axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Fell <s...@zaks.demon.co.uk>
Subject Attachments problem
Date Sun, 28 Apr 2002 17:07:21 GMT
I'm testing SwA support in PocketSOAP against Axis beta 1 (with the
attachments sample), and am seeing a very strange problem. Everything
appears to work fine, unless the attachment is 344 or 345 bytes long,
in which case the server drops it, and it doesn't get echoed back (i
know this sounds bizarre!). smaller or larger attachments work as
expected. Here's a trace of the messages

POST http://enigma/axis/servlet/AxisServlet HTTP/1.0
Content-Type: Multipart/Related;
boundary="-Mime+-FRaqbC8wSA1XvpFVjCRGryWtIIZS"; type="text/xml";
start="<E1520A76-4D85-4B74-9AD8-8828ED51FBDE@swa.pocketsoap.com>"
User-Agent: pocketSOAP/1.3.0
Host: enigma
Content-Length: 1068
SOAPAction: "test"


---Mime+-FRaqbC8wSA1XvpFVjCRGryWtIIZS
Content-Type: text/xml; charset=UTF-8
Content-Transfer-Encoding: binary
Content-ID: <E1520A76-4D85-4B74-9AD8-8828ED51FBDE@swa.pocketsoap.com>

<S:Envelope
	S:encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'
	xmlns:S='http://schemas.xmlsoap.org/soap/envelope/'
	xmlns:a='urn:EchoAttachmentsService'>
<S:Body><a:echo><source
href='cid:B4F32B22-E6DD-4821-8C34-BD29FF8AD7CB@swa.pocketsoap.com'></source>
</a:echo>
</S:Body></S:Envelope>
---Mime+-FRaqbC8wSA1XvpFVjCRGryWtIIZS
Content-Type: application/octectstream
Content-Transfer-Encoding: binary
Content-ID: <B4F32B22-E6DD-4821-8C34-BD29FF8AD7CB@swa.pocketsoap.com>

abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdef
---Mime+-FRaqbC8wSA1XvpFVjCRGryWtIIZS--

I haven't been able to get the Axis client for echoAttachment running,
it always stops with a null pointer exception. If i get time later,
i'll try with the beta 2 RC.

Cheers
Simon
www.pocketsoap.com

Mime
View raw message