The service method can either process the attachment in some way or 
ignore it, in which case nothing happens to the attachment on the 
server.

The attachment can be processed by 2 means.  First, a parameter of 
type DataHandler will be associated with an attachment.  The client 
will serialize it as an attachment and the server deserialize it into 
the DataHandler.  Second, the service method can specify its first 
parameter to be of type SOAPContext, in which case the context for 
the request will be passed to the method.  From that context, code in 
the method can extract any and all attachments.

On 18 Jun 2003 at 13:20, Firas Abughazaleh wrote:

> Hi ppl,
>  
>  When an SwA Envelope is sent to server (Apache SOAP 2.2), does the remote 
> method i am calling on the server has to provide special handling to attachements, 
> or 
> is the whole attachments mechanism
> embedded inside server plumbing code and the remote method does not have to 
> be changed to handle it ? I.e.: Transparent conversion between using normal SOAP 
> RPC and using SwA on the server side.
>  
> Thanks,
> - Firas
> 
> 
> 
> 


Scott Nichol

Do not reply directly to this e-mail address,
as it is filtered to only receive e-mail from
specific mailing lists.


Reply via email to