I'm trying to create a simple web service to handle attachments between a
Perl SOAP:LITE implementation 
and Axis (latest version).
I managed to send attachment to the Perl web service, but I have the
following problem when I invoke
a method on the Perl webservice that returns a Base64 attachment.
The tcp monitor shows that the PERL webservice reply to my java client
correctly

<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance";
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:xsd="http://www.w3.org/1999/XMLSchema";
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";><SOAP-ENV:Body><n
amesp3:getAttachmentsResponse
xmlns:namesp3="SOAP_MIME_Test"/></SOAP-ENV:Body></SOAP-ENV:Envelope>
------------=_1066846133-13334-5
Content-Type: application/pdf; name="spic3.pdf"
Content-Disposition: attachment; filename="spic3.pdf"
Content-Transfer-Encoding: base64
Content-Id: <1234>
MIME-Version: 1.0
X-Mailer: MIME-tools 5.411 (Entity 5.404)

JVBERi0xLjEKJeLjz9MNCjIgMCBvYmoKPDwKL0xlbmd0aCAyMjA4Ci9GaWx0
ZXIgL0xaV0RlY29kZQo+PgpzdHJlYW0NCoAMBBAoEUiOChkICVAxAaoGLhkN

....

but I have a "Error reading data stream:  Error in MIME data stream, start
boundary  not found, expected:  ------------=_1066846133-13334-5"
in my java code.

Any idea?

Thanks
Luciano



Any e-mail message from the European Central Bank (ECB) is sent in good faith but 
shall neither be binding nor construed as constituting a commitment by the ECB except 
where provided for in a written agreement.
This e-mail is intended only for the use of the recipient(s) named above. Any 
unauthorised disclosure, use or dissemination, either in whole or in part, is 
prohibited.
If you have received this e-mail in error, please notify the sender immediately via 
e-mail and delete this e-mail from your system.


Reply via email to