you might consider sending it as a binary attachment (never tried, only read 
about it) or, if you want to return it
within the XML, you can first serialize the object tree into a byte[] and then 
Base64-encode it (which will make it a
about 30% larger) and embed that into the XML as a very big block of text).  or 
you might consider an approach other
than web services for this particular call or breaking the API into smaller 
operatiosn (instead of returning one big
lump of data perhaps it can be accessed in pieces - are clients typically going 
to want the whole block or just pieces
of it?).

...............ron.

>
> my web service returns a very huge result, that going to send to the client. 
> when it retuns result it goes out of
> memeory and slow performance. I my service should directly seririalize result 
> to the output stream as in java servlet
> e.g.; out.writel(myOMElement);
>
>
>
>
> With Warm Regards,
>
> Muhammad Iqbal
> MCIT, DCS, SCJP, MCP (.NET)
> Etilize Inc.
> Cell#: 0092-300-9377801
> [EMAIL PROTECTED]


Reply via email to