I would look at your outflow definitions for  any missing handlers ..can we take a look at module.xml

M-
*********************************************************************
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.
 

 
----- Original Message -----
From: Andrew B
Sent: Monday, July 10, 2006 3:29 PM
Subject: Re: [Axis2] MTOM client example

Martin,

The stacktrace is:

java.net.UnknownServiceException
    at javax.mail.internet.MimePartDataSource.getOutputStream(MimePartDataSourcejava:57)
    at ttaxis2client.TestClient.main(TestClient.java:73)

and the code is:

            OMElement response = stub
                    .getData();
                OMText binaryNode = (OMText) response.getFirstOMChild();
                DataHandler dataHandler = (DataHandler) binaryNode
                        .getDataHandler();
                DataSource ds = dataHandler.getDataSource();
                ByteArrayOutputStream baos = (ByteArrayOutputStream) ds.getOutputStream();
                byte[] compressedXML = baos.toByteArray();

Thanks,

Andrew

Martin Gainty <[EMAIL PROTECTED]> wrote:
Andrew-
Please post Stacktrace
Thanks
M-
*********************************************************************
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.
 

 
----- Original Message -----
From: Andrew B
Sent: Monday, July 10, 2006 12:53 PM
Subject: [Axis2] MTOM client example

Hi,

Can anyone point me to an example of an Axis2 client that receives a byte array via MTOM? The Axis2 documentation shows how to get an image, not a byte array.

Thanks,

Andrew
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


Why keep checking for Mail? The all-new Yahoo! Mail Beta shows you when there are new messages.

Reply via email to