Hi again,
I've realized that I can send a DataHandler from the client to the server, but when I try sending a DataHandler from the server to the client i get that error on linux, and this one on windows:
org.apache.axis.client.Call
invoke
GRAVE: Exception:
java.lang.RuntimeException: javax.mail.MessagingException: Error in input stream;
nested exception is:
java.io.IOException: End of stream encountered before final boundary marker.
Using tcpmon i get the soap message returned from the server:
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Set-Cookie: JSESSIONID=16FE8EDA331F865F18B328439A8BCF44; Path=/axis
Content-Type: multipart/related; type="text/xml"; start="<9069F26CAF4DFDB10496822D71C6F12B>"; boundary="----=_Part_5_28730188.1151580330109"Date: Thu, 29 Jun 2006 11:25:30 GMTConnection: close------=_Part_5_28730188.1151580330109Content-Type: text/xml; charset=UTF-8Content-Transfer-Encoding: binaryContent-Id:
<9069F26CAF4DFDB10496822D71C6F12B>
<?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:obtenerResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/
" xmlns:ns1="urn:lomService">
<obtenerReturn href="" xsi:type="ns2:DataHandler" xmlns:ns2="
http://xml.apache.org/xml-soap"/>
</ns1:obtenerResponse>
</soapenv:Body>
</soapenv:Envelope>
------=_Part_5_28730188.1151580330109
Content-Type: application/octet-stream
Content-Transfer-Encoding: binary
Content-Id:
<9B09705100746E248D3E8937986DBB39>
comparing this message with the one sent from the client i realize that there is a MIME boundary missing on the end of the response from the server. How can i fix this?
Thanks in advance,
Stromblad
