----- Original Message ----- From: "Mark Mueller" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 03, 2003 14:32 Subject: Re: Fear of Attachments
> Hi Steve, > > Thanks for the paper, it is helpful. I gather that it > makes sense to support both MIME and DIME attachments > in order to increase interoperability -- probably with > two different operations in order to be able to > specify the MIME-type of the MIME attachment in the > WSDL binding. > > Your code samples are useful, but I'd really like to > see the WSDL. I am leery of using "DataHandler" in my > WSDL because it seems Java-specific. I like the idea > of specifying the attachment file type as "anyType" in > the message description and describing the mime-type > as "application/octet-stream" because it "feels" > generic and WSDL2Java creates a nice client which > handles the attachment. The only qualm I have is that > the client maps the mime-part to an Object which may > not be very efficient. > > Mark There is no WSDL. Or to be precise, attachments arent in the signature thta WSDL knows about. I am just tacking them into the call before I make the request, and on the receiving end I pull out the attachments after the RPC invocation does it work of calling my method