Hi to all,
I’m having some problems when using the data format soap on a camel Spring XML.
I gave for example this:
<from uri="cxf:bean:wsLocal?dataFormat=CXF_MESSAGE" />
<marshal>
<soap
contentPath="co.com.une.interfazhss.InterfazHSS" version="1.2"
elementNameStrategyRef="soapST" />
</marshal>
<to uri="wsRemoto" />
<process ref="Proceso2" />
The <soap> tag its not recognized and says this:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'soap'.
One of '{"http://
camel.apache.org/schema/spring":description,
"http://camel.apache.org/schema/spring":avro, "http://
camel.apache.org/schema/spring":beanio,
"http://camel.apache.org/schema/spring":bindy, "http://
camel.apache.org/schema/spring":c24io,
"http://camel.apache.org/schema/spring":castor, "http://
camel.apache.org/schema/spring":crypto,
"http://camel.apache.org/schema/spring":csv, "http://
camel.apache.org/schema/spring":custom,
"http://camel.apache.org/schema/spring":flatpack, "http://
camel.apache.org/schema/spring":gzip,
"http://camel.apache.org/schema/spring":hl7, "http://
camel.apache.org/schema/spring":jaxb,
"http://camel.apache.org/schema/spring":jibx, "http://
camel.apache.org/schema/spring":json,
"http://camel.apache.org/schema/spring":protobuf, "http://
camel.apache.org/schema/spring":rss,
"http://camel.apache.org/schema/spring":secureXML, "http://
camel.apache.org/schema/spring":serialization,
"http://camel.apache.org/schema/spring":soapjaxb,
"http://camel.apache.org/schema/spring":string,
"http://camel.apache.org/schema/spring":syslog, "http://
camel.apache.org/schema/spring":tidyMarkup,
"http://camel.apache.org/schema/spring":xmlBeans, "http://
camel.apache.org/schema/spring":xmljson,
"http://camel.apache.org/schema/spring":xstream, "http://
camel.apache.org/schema/spring":pgp,
"http://camel.apache.org/schema/spring":zip}' is expected.
For other data formats like JSON and others work well.
Is there something I can do?
Best regards,