Thanks for the info Anne.. At the moment Axis2 does not support it.. Thilina.
On Sat, Mar 29, 2008 at 8:11 AM, Anne Thomas Manes <[EMAIL PROTECTED]> wrote: > Thilina, > > The WS-I Attachments Profile [1] defines the standard WSDL description for > SwA. > > [1] http://www.ws-i.org/Profiles/AttachmentsProfile-1.0.html > > Anne > > > > On Fri, Mar 28, 2008 at 10:39 AM, Thilina Gunarathne <[EMAIL PROTECTED]> > wrote: > > Hi, > > You cannot generate WSDL with the knowledge of SwA in them.. AFAIK > > there isn't a standard way to mention SwA attachments in WSDL.. ADB > > does not support SwA directly.. > > > > What you can do in the server side is to have your method signature > > take in an String which will be the content-id of the attachment, then > > retrieve your attachment from the messageContext manually using it... > > Have a look at [1] & [2].. > > > > Your following method will result in an MTOM WSDL, where dataHandler > > will get bound to an base64Binary element. > > > > > > > addContentFile(String userID, String password, > > > String serviceID, DataHandler dataHandler, > > > String relAddFilepathName, String contentType, > String source) > > > > thanks, > > Thilina > > > > [1] Using SOAP with Attachments in Apache Axis2 - > http://wso2.org/library/1148 > > [2] Downloading a Binary File from a Web Service using Axis2 and SOAP > > with Attachments - http://wso2.org/library/1675 > > > > > > > > > > How do I write a wsdl for it so I can generate the client and server > using > > > ADB. > > > > > > > > > > > > > > Thanks > > > -- > > > View this message in context: > http://www.nabble.com/Using-SWA-with-ADB-in-axis2-tp16335414p16335414.html > > > Sent from the Axis - User mailing list archive at Nabble.com. > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > -- > > Thilina Gunarathne - http://thilinag.blogspot.com > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Thilina Gunarathne - http://thilinag.blogspot.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
