I've set up a CXF-BC provider component so that it connects to an external web service. The component that I have before it is a servicemix-saxon component to create a jbi message that I'm guessing the servicemix-cxf-bc component changes into a soap request, then when it gets the soap response, it turns it back into a jbi message and forwards it on. So that if I put a servicemix-file sender after the cxf-bc component, I see the jbi message, with the results as a jbi:part. The results from the web service is an xml document, but the output of the file sender shows that the xml is being escaped. Example of what is being sent from the cxf-bc component to the file sender:
<jbi:message xmlns:jbi="http://java.sun.com/xml/ns/jbi/wsdl-11-wrapper" xmlns:msg="http://xyz.example.namespace/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="wsMyWebServiceResponse" type="msg:wsMyWebserviceResponse" version="1.0"><jbi:part><document><title>My Title</title><body>Some text</body></document></jbi:part></jbi:message> ok, so I can write another saxon component to pull out the response from the jbi:part, but what's the deal with the xml escaping? I am obviously not doing this correctly, what would be the correct way to do this? Thanks, Will -- View this message in context: http://www.nabble.com/CXF-BC-Provider-tp19677345p19677345.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
