I've been having problems in relation to SwA in Axis2. The simple test
code, below, results in an "org.apache.axis2.AxisFault:
java.io.IOException: End of Stream, but boundary not found" exception
when trying to read content-ids in the message context. The exception is
raised on the first call to "getAllContentIDs. Using TCPMon I'm able to
verify that the request seems to look ok.

 

MessageContext msgContext = MessageContext.getCurrentMessageContext();

for(String contentId : msgContext.attachments.getAllContentIDs())

{

    System.out.printf("Found content-id: [%s]\n", contentId);


}

 

Any ideas as to what could be causing this?

 

Many thanks,

Douglas

 

Douglas McArthur | SAIC

Senior Systems Engineer | Enterprise Business Solutions

phone: +44(0) 1355 845255 | fax +44 (0) 1355 845001

email: [email protected]

 

Please consider the environment before printing this email.

 


SAIC Limited is a private limited company registered in England and Wales. 
Registered number 1396396. Registered office at Hemel One, Boundary Way, Hemel 
Hempstead, Hertfordshire, HP2 7YU. This email is subject to the following 
conditions http://www.saic.com/europe/emaildisclaimer.html

Reply via email to