Hi,
You may need to take the operation name out of the soap message, and put
it as the value of jbi:message type attribute.
Here is an example
<jbi:message xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper"
xmlns:msg="http://cxf.component.camel.apache.org" type="msg:echo">
<jbi:part>
<ns1:echo xmlns:ns1="http://cxf.component.camel.apache.org">
<arg0 xmlns="http://cxf.component.camel.apache.org">Hello
World!</arg0></ns1:echo>
</jbi:part>
</jbi:message>
Willem
angel.ortiz wrote:
Hi Willem,
Thanks for the info. So, I must transform my SOAP request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:info="http://path.to.service/InformationService/">
<soapenv:Body>
<info:displayInformation>
<approver>000000001</approver>
</info:displayInformation>
</soapenv:Body>
</soapenv:Envelope>
into a JBI message like this:
<jbi:message xmlns="http://java.sun.com/xml/ns/jbi"
xmlns:jbi='http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper' >
<jbi:part>
<displayInformation
xmlns="http://path.to.service/InformationService/">
<approver>000000001</approver>
</displayInformation>
</jbi:part>
</jbi:message>
Is this correct? Am I missing something?
Thanks,
Angel