Hi Andrea,

[1] may help
[1]http://servicemix.apache.org/integrate-cxf-with-servicemix.html

Andrea Zoppello wrote:
Hi Ashwin,

I'm using soap12, and traced with soap monitor it seems the SOAP response is valid ahainst the WSDL.

Please could you point the code where the soap response body is mapped into the normalized message!!!
It's JbiInWsdl1Interceptor.java

BTW One of the point that is more difficult when using cxf-bc is that it's very difficult to debug, there's no documentation about the interceptor an the order in which these are called.

For example i've a SA exposing a cxf consumer endpoint then within the flow at some point i've used a cxf-bc-provider as a transformer of a pipeline to call an external webservice.

I've tried to debug, the code but some interceptor are called both by cxf-bc-consumer and provider and it's not easy to understand what happen if something goes wrong.

Do you use eclipse? if so, you can import the servicemix code into eclipse from which you can debug more easily.
Andrea

Ashwin Karpe ha scritto:
Hi Andrea,

There are a number of possibilities here. The CXF-BC Provider is responsible
for validating the SOAP response from the endpoint and then mapping the
soap:body into the message exchange as a JBI message/part or raw message. Can you please provide further detail on the settings for CXF-BC provider. Also please specify the SOAP version and WSDL version. This is significant for the mapping to take place correctly. The response payload also has to be
WSDL valid in order for the mapping to happen correctly.
It is curious however that a null output is being pushed in the Message
exchange without throwing some form of exception...!!!

Cheers,

Ashwin...



Andrea Zoppello-2 wrote:
Hi all,

I'm repeating some test i made a year ago with servicemix-cxf-bc.

The cxf-bc-consumer seem s to work quite well, but on the other side i'm having
a lot of problems when using cxf-bc-provider to call an external
webservice.

I'm using a cxf-bc-provider as a transformer within a pipeline.

I've setup a tcp-monitor between my cxf-bc-provider and the external-webservice
and the soap response from external webservice is right.

The problem is that cxf-bc-provider is responding with a null output message.


Could someone point where is the right point to debug to see what goes wrong???? What i want to know is if there are some point where i could have in the log file the soap-response obtained and where the soap message is tranformed into a normalized message.

Thx

Andrea







-----
--- Ashwin Karpe, Principal Consultant, PS - Opensource Center of Competence Progress Software Corporation
14 Oak Park Drive
Bedford, MA 01730
--- +1-972-304-9084 (Office) +1-972-971-1700 (Mobile) ---- Blog: http://opensourceknowledge.blogspot.com/





Reply via email to