Hello,
I was testing SOAP requests with the drools-camel-server-example and I have trouble with it.
Everything is fine when I run org.drools.server.CxfSoapClientServerTest but I noted that the SOAP request is sent to a spring reference of the cxf endpoint and when I want to change it to cxfrs://
http://localhost:9002/soap to be more realistic, it raises this exception :
Caused by: org.apache.cxf.interceptor.Fault: .No message body writer has been found for class : class com.sun.xml.internal.messaging.saaj.soap.ver1_1.Message1_1Impl, ContentType : text/plain.
at org.apache.cxf.jaxrs.client.WebClient$BodyWriter.handleMessage(WebClient.java:938) ~[cxf-rt-frontend-jaxrs-2.6.8.jar:2.6.8]
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262) ~[cxf-api-2.6.8.jar:2.6.8]
at org.apache.cxf.jaxrs.client.WebClient.doChainedInvocation(WebClient.java:839) ~[cxf-rt-frontend-jaxrs-2.6.8.jar:2.6.8]
... 90 common frames omitted
Caused by: org.apache.cxf.jaxrs.client.ClientWebApplicationException: .No message body writer has been found for class : class com.sun.xml.internal.messaging.saaj.soap.ver1_1.Message1_1Impl, ContentType : text/plain.
at org.apache.cxf.jaxrs.client.AbstractClient.reportMessageHandlerProblem(AbstractClient.java:635) ~[cxf-rt-frontend-jaxrs-2.6.8.jar:2.6.8]
at org.apache.cxf.jaxrs.client.AbstractClient.writeBody(AbstractClient.java:401) ~[cxf-rt-frontend-jaxrs-2.6.8.jar:2.6.8]
at org.apache.cxf.jaxrs.client.WebClient$BodyWriter.handleMessage(WebClient.java:930) ~[cxf-rt-frontend-jaxrs-2.6.8.jar:2.6.8]
... 92 common frames omitted
I don't know how to correct this issue.