You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Erwin Reinhoud <Er...@ictu.nl> on 2007/06/26 16:02:28 UTC

base64Binary by value

Hello All,
 
I have a WSDL that defines a xs:base64Binary type. I would like to send the binary data by value,embedded in the SOAP XML message (Not MTOM). After generating the service skeleton code i can get the data by means of a DataHandler, which as such i implemented and deployed, however running the service gives a "Attachement cannot be null" Soapfault. 
 
What do i need to do (setting when generating the service skeleton?) to make this work service side?
 
Thanks in advance.
 
Kind regards,
 
Erwin

Re: base64Binary by value

Posted by Thilina Gunarathne <cs...@gmail.com>.
Hi Erwin,
> implemented and deployed, however running the
> service gives a "Attachement cannot be null" Soapfault.
Does this happen only for the non-mtomized messages..

> What do i need to do (setting when generating the service skeleton?) to make
> this work service side?
Actually this is expected to work without doing anything...  Skeleton
should process inline as well as optimised messages to generate
DataHandlers...

If possible please attach your WSDL... What's the data bindig
mechanism you are using??.

Thanks,
Thilina

>
> Thanks in advance.
>
> Kind regards,
>
> Erwin


-- 
Thilina Gunarathne  -  http://www.wso2.com - http://thilinag.blogspot.com

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org