File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
XML and Related Technologies
adding SOAP attachment
Joined: Jun 16, 2008
Sep 09, 2008 08:53:00
Dear believers ,
I need to add the following SMIL part ( I do have the part as a bytes array ) to a SOAP
using the SAAJ, the smil part should have content type of application/smil and the id smil.smil , and it should be the first part (start)
<smil><head><layout><root-layout backgroundColor="#FFFFFF" background-color="#FFFFFF" height="480px" width="640px"/>
<region id="Image" top="0" left="0" height="50%" width="100%" fit="meet"/>
<region id="Text" top="50%" left="0" height="50%" width="100%" fit="scroll"/>
<body><par dur="4000ms"><img src="Happy.gif" region="Image"></img>
also suppose that i have bytes of a
how can I add it to the SOAP message as MIME attachment , what should the content type be, what are the steps exactly !!please help
Joined: Mar 22, 2005
Sep 12, 2008 23:40:00
An example of a SAAJ client can be
. Expanding on that it should be possible to construct any SAAJ message you wish.
Depending on what you want to do with the text you may prefer to send it in a CDATA section instead, thus you wouldn't have to create elements for all the tags.
explains how to send SOAP attachments using SAAJ.
Ping & DNS
- my free Android networking tools app
It is sorta covered in the
JavaRanch Style Guide
subject: adding SOAP attachment
Parsing SOAP Information
Problem with smil fit:scroll
SAAJ - SOAP attachment
Parsing POST Information
Extracting SOAP Attachments!! Help!!
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014