• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
looking for sample code: webservice in document mode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: NIB in Java Client-anyone?
  • Next by Date: Re: You've backtracked to far...
  • Previous by thread: RE: NIB in Java Client-anyone?
  • Next by thread: Apache Rewrite [L,PT] vs [L,R], sessions, and WebObjects
  • Index(es):
    • Date
    • Thread