Hello all

I have a xml file which contains an inline base64 encoded image. The
structure is something like this.

    <Order_Attachment>
        <Order_No></Order_No>
        <Attachment>
            <Attachment_Type></Attachment_Type>
            <Description></Description>
            <File_Type></File_Type>
            <File_Size></File_Size>
            <File_Data>
-----------------The Base64 encoded image appears here-------------
                </File_Data>
        </Attachment>
        <Send_Email>
            <Confirmation_Email_Address></Confirmation_Email_Address>
        </Send_Email>
    </Order_Attachment>

 The base64 encoded data is most often more than 100Kb. 

Would it be a better idea to send back ONLY the Base64 encoded image as a
web service response or should I send this XML file with the image
encapsulated inside? What would be a preferable option?

Thanks
Mayur

Reply via email to