looking for sample code: webservice in document mode
looking for sample code: webservice in document mode
- Subject: looking for sample code: webservice in document mode
- From: Jephte CLAIN <email@hidden>
- Date: Thu, 09 Dec 2004 13:40:28 +0400
hello,
I want to write a webservice which could return xml documents,
potentially wery large in size. I guess that the webservice should use
the "document mode" instead of the "rpc mode".
So I register the webservice like this:
WOWebServiceRegistrar.registerWebService(ClassToPublish.class, new
String[] {"methodName"}, false);
Now I wonder how to write ClassToPublish.methodName(): I would like to
return a stream, because building, e.g., a 30 Mo String is not possible:
I get a OutOfMemoryError.
Thanks in advance for any help/pointer/suggestion. I have already done a
search on the web: I can't find anything interesting.
regards,
jephte -DOT- clain -AT- univ-reunion -DOT- fr
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden