Hi,

What do you mean by "the incoming soap message doesn't match the expected one 
from the wsdl"? The incoming message is of course supposed to match the format 
defined in the wsdl (that's the contract for the communication), so if you 
provide a wsdl the messages sent to that provider have to match the description 
in there.

I think the example http://camel.apache.org/cxf-example.html may give you some 
guidance for communications without a WSDL.

Best regards
Stephan

-----Original Message-----
From: Smith-John [mailto:mich...@gmail.com] 
Sent: Dienstag, 7. Mai 2013 13:57
To: users@camel.apache.org
Subject: Re: How to create a generic SOAP consumer?

Hi,

can you please give me a example how to use CXF_MESSAGE format?
http://camel.apache.org/cxf doesn't say much about it.

Trying it like
from("cxf:http://localhost:8080/service?dataFormat=CXF_MESSAGE";) I'm getting
a NP exception.

And with providing a wsdl like
from("cxf:http://localhost:8050/SoapPluginCallback?wsdlURL=someurltoawsdl&dataFormat=CXF_MESSAGE";)
I have the problem again that incoming soap messages doesn't match the
ecpected ones from the wsdl. ("Message part XXX was not recognized.  (Does
it exist in service WSDL?)")

Regards.



--
View this message in context: 
http://camel.465427.n5.nabble.com/How-to-create-a-generic-SOAP-consumer-tp5731741p5732117.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to