You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Martin Perez <mp...@gmail.com> on 2005/12/27 09:58:48 UTC
Axis with attachments
Hi people.
I have a Java:RPC web service that have been running for many months. The
problem is that currently I have to move big binary data in some of the WS
methods, and so I thought that a good solution would be to add attachment
support for that methods.
I managed to create and send attachments from any method easily, and also
handle that attachments on the server. But my question is, how can I handle
binary data responses? i.e. how can the server send a response with an
attachment and how can the client handle it?
Also, I would like to ask if this is the best approach for my case, or if I
should change my WS model to wrapped or document. Performance is not
currently a big decision factor on my project.
Kind regards,
Martin
Re: Axis with attachments
Posted by Wade Chandler <hw...@yahoo.com>.
--- Martin Perez <mp...@gmail.com> wrote:
> Hi people.
>
> I have a Java:RPC web service that have been running
> for many months. The
> problem is that currently I have to move big binary
> data in some of the WS
> methods, and so I thought that a good solution would
> be to add attachment
> support for that methods.
>
> I managed to create and send attachments from any
> method easily, and also
> handle that attachments on the server. But my
> question is, how can I handle
> binary data responses? i.e. how can the server send
> a response with an
> attachment and how can the client handle it?
>
> Also, I would like to ask if this is the best
> approach for my case, or if I
> should change my WS model to wrapped or document.
> Performance is not
> currently a big decision factor on my project.
>
> Kind regards,
>
> Martin
>
Search the archives for Decemember and November. I
replied to a person with enough information to get you
going. The stuff I wrote about applies to both server
and client. Basically attachments apply the same to
both server and client. You just have to format
you're WSDL certain ways and what not or use the
Attachments services provided by MessageContext. I
prefer to embed attachments within my WSDL and java
object model. You'll see what I'm talking about just
search the archives.
Wade