llowinge commented on code in PR #4293:
URL: https://github.com/apache/camel-quarkus/pull/4293#discussion_r1031382114


##########
integration-test-groups/cxf-soap/cxf-soap-client/src/main/java/org/apache/camel/quarkus/component/cxf/soap/client/it/CxfSoapClientRoutes.java:
##########
@@ -38,16 +47,45 @@ public class CxfSoapClientRoutes extends RouteBuilder {
     @ConfigProperty(name = "camel-quarkus.it.calculator.baseUri")
     String serviceBaseUri;
 
+    public static final String MESSAGE_RAW_SIMPLE_ADD = "<soapenv:Envelope 
xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"; 
xmlns:ser=\"http://www.jboss.org/eap/quickstarts/wscalculator/Calculator\";>\n"
+            +
+            "   <soapenv:Header/>\n" +
+            "   <soapenv:Body>\n" +
+            "      <ser:add>\n" +
+            "         <arg0>%s</arg0>\n" +
+            "         <arg1>%s</arg1>\n" +
+            "      </ser:add>\n" +
+            "   </soapenv:Body>\n" +
+            "</soapenv:Envelope>";
+
     @Override
     public void configure() {
 
         from("direct:simpleUriBean")
-                .to("cxf:bean:soapClientEndpoint?dataFormat=PAYLOAD");
+                .to("cxf:bean:soapClientEndpoint?dataFormat=POJO");

Review Comment:
   It was working only by accident. With change to @SessionScoped of the 
`soapClientEndpoint` it has to be `POJO` mode. `PAYLOAD` mode was never used in 
that case.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to