> I am assuming at this point that the error is in my client-side > implementation of an Axis1 MTOM client. > Is there any client-side coding practices I am not following? > Are there issues for MTOM support in Axis1? AFAIK MTOM is not officially supported in Axis 1.. Whatever there is a an experimental effort...
If you need full blown MTOM support, you would need to switch to Axis2.. thanks, Thilina > > Thanks, > > Mike Barlotta > Associate > Booz | Allen | Hamilton > > -----Original Message----- > From: Anne Thomas Manes [mailto:[EMAIL PROTECTED] > Sent: Friday, November 02, 2007 7:40 PM > To: axis-user@ws.apache.org > Subject: Re: Axis1/1.4 Client to MTOM WebService > > You could try interfacing using SwA rather than MTOM. You would have to > convert the WSDL to one that defines the attachment explicitly. > > Anne > > On 11/2/07, Barlotta, Michael [USA] <[EMAIL PROTECTED]> wrote: > > Thanks Thilina, > > > > I thought I read MTOM support was added in Axis1... > > > > If I understand correctly I need to base64 encode the bytes that are > > read from a file and pass that to the JAFDataHandlerSerializer. Right? > > > > What are my other options in Axis1 to get this to work given the WS > > input required? > > > > Thanks again, > > > > Mike Barlotta > > Associate > > Booz | Allen | Hamilton > > > > -----Original Message----- > > From: Thilina Gunarathne [mailto:[EMAIL PROTECTED] > > Sent: Friday, November 02, 2007 4:12 PM > > To: axis-user@ws.apache.org > > Subject: Re: Axis1/1.4 Client to MTOM WebService > > > > Hi, > > I"m not sure about the level of support for MTOM in Axis 1.4.. IIRC > > DIms added some basic support some time back.. > > > > Looking at your code, you seems to be trying to send the binary data > > inline only.. You need to make sure to base64 encode the binary data > > when putting them inline... > > > > But this approach will only work for smaller binary data only... > > > > > Serializer jafs = new JAFDataHandlerSerializer(); jafs.serialize(new > > > > QName("binaryData"), null, data.getBinaryData(), context); > > Make sure to base64 encode the above data... > > > > ~Thilina > > > > <REMOVED EMAIL TRAIL> > > > > --------------------------------------------------------------------- > > 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] > > --------------------------------------------------------------------- > 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]