axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anil Chukkapalli" <anilchukkapa...@gmail.com>
Subject Re: [axis2] Creating OMText response using MTOM
Date Thu, 07 Jun 2007 22:18:11 GMT
David

 It is in there.

Thanks
Anil

On 6/7/07, Kraus, David <dkraus@microstrategy.com> wrote:
>
>  Try axiom-api-1.2.4.jar.
>
>
>  ------------------------------
>
> *From:* Anil Chukkapalli [mailto:anilchukkapalli@gmail.com]
> *Sent:* Thursday, June 07, 2007 2:55 PM
> *To:* axis-user@ws.apache.org
> *Subject:* Re: [axis2] Creating OMText response using MTOM
>
>
>
> Hi
>
>  The documentation points me to "*
> org.apache.axis2.attachments.ByteArrayDataSource*" but i am  unable to
> find it in any of the jars packaged with Axis1.2 can anyone help me and
> point me to the jar file that contains this class.
>
>  Thanks
> Anil
>
> On 6/7/07, *Anil Chukkapalli* <anilchukkapalli@gmail.com> wrote:
>
> Hi
>
>  I want to create an OMText child for an reponse object of type OMElement
>
>   byte[] filecontents = "contains the file contents";
> ...........................
>   OMElement resp = fac.createOMElement ("response", ns);
>   OMText binaryFileContents = ?
>
>   OMText binaryFileName = ?
>
>   resp.addChild(fileName);
>   resp.addChild(fileContents);
>
> -----------------------------
>
>  How can I create OMText nodes once we have the byte array. Also i looked
> at the tutorial and would like to know in which package is the  class
> ByteArrayOutputStream located.
>
> Thank you
> Anil
>
>
>

Mime
View raw message