Programming__WebObjects-Web Services-Sending Large Data

Version 1.1 by smmccraw on 2007/07/08 09:46

Kristoff Cossement

Soap with mime attachments was indeed the way to go.

Remark: this only works with java 1.4.209 (I did not get it working with java 1.5.x)

For those who are interested I included some sample code on how to exchange large binary data between a java client and and webobjects server without taking all data in memory.
You also need the java mail and java activation framework from sun.

Client.java

Error

There is no valid license for Pro Macros. Please visit the Licenses section.

WebobjectsApplication.java

overridedispatchRequest

Error

There is no valid license for Pro Macros. Please visit the Licenses section.

Dispatcher.java

Error

There is no valid license for Pro Macros. Please visit the Licenses section.

Category:WebObjects