You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by Freeman Fang <fr...@gmail.com> on 2009/03/23 11:18:10 UTC
Re: Facing problem in using CXF in SMX.
The request soap message sent by your client need be MTOM enabled
message (not the the base64binary code embeded inside soap body, but as
the attahment), I'm not sure how can you send MTOM message with your
SOAPUI (Honestly I'm not familiar with this tool, maybe it has this
feature, :-))
So take a look at [1], the wsdl need follow some rule, also you may
need write a cxf client configured as [1] to send out mtom message.
[1]http://cwiki.apache.org/CXF20DOC/mtom.html
Freeman
Richa Khurana wrote:
> Hello,
>
> I am using CXF in SMX. The problem i am facing is with the SOAP Request
> with attachments. I have already set the mtomEnabled variable on both
> CXF BC and CXF SE. Also, I was successfully able to generate the POJO's
>
> But the request that I am getting have the attachment (byte[]) as null.
>
> For reference, I have attached the wsdl, xbean.xml for CXF SE and BC
> components and the generated POJO's along with the class implementing
> the webmethod. I am using SOAP UI as client for sending the request to
> the exposed webmethod.
>
> Any pointers/help is highly appreciated.
>
> Thanks,
>
>