axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rangika Mendis" <>
Subject SoapSerializer was modified to support attachments.
Date Fri, 07 Jan 2005 10:41:07 GMT
    Hi All,

    We added  functionalities to  the serializer to serialize soap attachments. The following
files were added for that purpose.

    1. SoapAttachmentHeaders
    2. SoapAttachment

    New API  allows to add Soap Attachment objects to the serializer. 

    The following methods in IWrapperSoapSerializer.hpp can be used  to add attachment details
to the Serializer.

    virtual void addAttachment(const AxisChar* achId, ISoapAttachment* objAttach)=0;

     virtual void addAttachmentBody(const AxisChar* achId, xsd__base64Binary* pAttchBody)=0;

     virtual void addAttachmentHeader(const AxisChar* achId, const AxisChar* achHeaderName,
const AxisChar* achHeaderValue)=0;

        * creates and returns a SoapAttachment object to the caller of this methods.
     *  The user can use this object and fill in the attachment details. This
     *  method doesn't add the created SoapAttachment object to the Serializer.
     *  The user will have to add this object explictly by calling the addAttachment 
     *  method of the IWrapperSoapSerializer interface
     virtual ISoapAttachment* createSoapAttachement()=0;

    These methods will be used by the web service wrapper class.

    Any comments on this will be greatly appreciated.


     Nithya & Rangika 

View raw message