You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/10/17 14:00:32 UTC

[GitHub] [camel-quarkus] JiriOndrusek opened a new pull request, #4187: Cxf-soap tests: Refactor and split

JiriOndrusek opened a new pull request, #4187:
URL: https://github.com/apache/camel-quarkus/pull/4187

   fixes https://github.com/apache/camel-quarkus/issues/4171
   
   <!-- Uncomment and fill this section if your PR is not trivial
   [ ] An issue should be filed for the change unless this is a trivial change (fixing a typo or similar). One issue should ideally be fixed by not more than one commit and the other way round, each commit should fix just one issue, without pulling in other changes.
   [ ] Each commit in the pull request should have a meaningful and properly spelled subject line and body. Copying the title of the associated issue is typically enough. Please include the issue number in the commit message prefixed by #.
   [ ] The pull request description should explain what the pull request does, how, and why. If the info is available in the associated issue or some other external document, a link is enough.
   [ ] Phrases like Fix #<issueNumber> or Fixes #<issueNumber> will auto-close the named issue upon merging the pull request. Using them is typically a good idea.
   [ ] Please run mvn process-resources -Pformat (and amend the changes if necessary) before sending the pull request.
   [ ] Contributor guide is your good friend: https://camel.apache.org/camel-quarkus/latest/contributor-guide.html
   -->


-- 
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-unsubscribe@camel.apache.org

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


[GitHub] [camel-quarkus] ppalaga commented on pull request #4187: Cxf-soap tests: Refactor and split

Posted by GitBox <gi...@apache.org>.
ppalaga commented on PR #4187:
URL: https://github.com/apache/camel-quarkus/pull/4187#issuecomment-1282763253

   > Two more nitpicks:
   > 
   > * `cxf-codegen-plugin` should be added to `pluginManagement` in build-parent with `${cxf.version}` and `<version>${cxf.version}</version>` can then be removed from `integration-test-groups/cxf-soap/cxf-soap-server/pom.xml`
   > * The `cxf-xjc-ts` dependency we have in integration-test-groups/cxf-soap/cxf-soap-server/pom.xml should also be present in integration-tests/cxf-soap-grouped/pom.xml
   
   I have done that in https://github.com/apache/camel-quarkus/pull/4195 so that it builds overnight and @llowinge can add his stuff on top of it.


-- 
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-unsubscribe@camel.apache.org

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


[GitHub] [camel-quarkus] JiriOndrusek commented on pull request #4187: Cxf-soap tests: Refactor and split

Posted by GitBox <gi...@apache.org>.
JiriOndrusek commented on PR #4187:
URL: https://github.com/apache/camel-quarkus/pull/4187#issuecomment-1282255080

   `integration-tests/cxf-soap-grouped` was added


-- 
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-unsubscribe@camel.apache.org

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


[GitHub] [camel-quarkus] JiriOndrusek commented on a diff in pull request #4187: Cxf-soap tests: Refactor and split

Posted by GitBox <gi...@apache.org>.
JiriOndrusek commented on code in PR #4187:
URL: https://github.com/apache/camel-quarkus/pull/4187#discussion_r998096158


##########
integration-test-groups/cxf-soap/cxf-soap-client/README.adoc:
##########
@@ -0,0 +1,28 @@
+= Quarkus CXF client tests
+
+These are pure client tests - i.e. there are intentionally no services implemented in the test application.
+All clients access services running in containers.
+
+== Maintenenance notes
+
+=== `CalculatorService.wsdl`
+
+`src/main/resources/wsdl/CalculatorService.wsdl` is a static copy of the WSDL served by the testing container.
+It would be too complicated to start the container before running the plugin, so we rather keep the static copy.
+
+There is `io.quarkiverse.cxf.client.it.CxfClientTest.wsdlUpToDate()` to ensure that it is up to date.

Review Comment:
   fixed



-- 
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-unsubscribe@camel.apache.org

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


[GitHub] [camel-quarkus] JiriOndrusek commented on pull request #4187: Cxf-soap tests: Refactor and split

Posted by GitBox <gi...@apache.org>.
JiriOndrusek commented on PR #4187:
URL: https://github.com/apache/camel-quarkus/pull/4187#issuecomment-1282541668

   Changes are formatted by `mvn process-resources -Pformat -N`


-- 
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-unsubscribe@camel.apache.org

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


[GitHub] [camel-quarkus] JiriOndrusek commented on a diff in pull request #4187: Cxf-soap tests: Refactor and split

Posted by GitBox <gi...@apache.org>.
JiriOndrusek commented on code in PR #4187:
URL: https://github.com/apache/camel-quarkus/pull/4187#discussion_r998096355


##########
integration-test-groups/cxf-soap/cxf-soap-ws-security/README.adoc:
##########
@@ -0,0 +1,28 @@
+= Quarkus CXF client tests

Review Comment:
   fixed



##########
integration-test-groups/cxf-soap/cxf-soap-ws-security/README.adoc:
##########
@@ -0,0 +1,28 @@
+= Quarkus CXF client tests
+
+These are pure client tests - i.e. there are intentionally no services implemented in the test application.
+All clients access services running in containers.
+
+== Maintenenance notes
+
+=== `CalculatorService.wsdl`
+
+`src/main/resources/wsdl/WssCalculatorService.wsdl` is a static copy of the WSDL served by the testing container.
+It would be too complicated to start the container before running the plugin, so we rather keep the static copy.
+
+There is `io.quarkiverse.cxf.client.it.CxfClientTest.wsdlUpToDate()` to ensure that it is up to date.

Review Comment:
   fixed



-- 
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-unsubscribe@camel.apache.org

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


[GitHub] [camel-quarkus] ppalaga commented on pull request #4187: Cxf-soap tests: Refactor and split

Posted by GitBox <gi...@apache.org>.
ppalaga commented on PR #4187:
URL: https://github.com/apache/camel-quarkus/pull/4187#issuecomment-1282532397

   @JiriOndrusek could you please run `mvn process-resources -Pformat -N` from the root folder and amend?
   


-- 
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-unsubscribe@camel.apache.org

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


[GitHub] [camel-quarkus] JiriOndrusek commented on a diff in pull request #4187: Cxf-soap tests: Refactor and split

Posted by GitBox <gi...@apache.org>.
JiriOndrusek commented on code in PR #4187:
URL: https://github.com/apache/camel-quarkus/pull/4187#discussion_r998098890


##########
integration-test-groups/cxf-soap/cxf-soap-server/src/test/java/org/apache/camel/quarkus/component/cxf/soap/it/CxfSoapServiceTest.java:
##########
@@ -38,7 +38,7 @@ public void simpleSoapService() {
         final HelloPortType helloPort = service.getHelloPort();
         String endpointURL = getServerUrl() + "/soapservice/hello";
         ((BindingProvider) helloPort).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, endpointURL);
-        Assertions.assertThat(helloPort.hello("World")).isEqualTo("Hello World from CXF service");

Review Comment:
   thanks for noticing!



-- 
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-unsubscribe@camel.apache.org

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


[GitHub] [camel-quarkus] ppalaga commented on pull request #4187: Cxf-soap tests: Refactor and split

Posted by GitBox <gi...@apache.org>.
ppalaga commented on PR #4187:
URL: https://github.com/apache/camel-quarkus/pull/4187#issuecomment-1282608008

   @JiriOndrusek cxf-soap-ws-security works for me in native mode with rev 5cc40ca


-- 
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-unsubscribe@camel.apache.org

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


[GitHub] [camel-quarkus] ppalaga closed pull request #4187: Cxf-soap tests: Refactor and split

Posted by GitBox <gi...@apache.org>.
ppalaga closed pull request #4187: Cxf-soap tests: Refactor and split
URL: https://github.com/apache/camel-quarkus/pull/4187


-- 
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-unsubscribe@camel.apache.org

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


[GitHub] [camel-quarkus] llowinge commented on a diff in pull request #4187: Cxf-soap tests: Refactor and split

Posted by GitBox <gi...@apache.org>.
llowinge commented on code in PR #4187:
URL: https://github.com/apache/camel-quarkus/pull/4187#discussion_r997351676


##########
integration-test-groups/cxf-soap/cxf-soap-ws-security/src/main/java/org/apache/camel/quarkus/component/cxf/soap/it/CxfSoapResource.java:
##########
@@ -0,0 +1,60 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.quarkus.component.cxf.soap.it;
+
+import java.net.URI;
+
+import javax.enterprise.context.ApplicationScoped;
+import javax.inject.Inject;
+import javax.ws.rs.Consumes;
+import javax.ws.rs.POST;
+import javax.ws.rs.Path;
+import javax.ws.rs.Produces;
+import javax.ws.rs.QueryParam;
+import javax.ws.rs.core.MediaType;
+import javax.ws.rs.core.Response;
+
+import org.apache.camel.ProducerTemplate;
+import org.jboss.eap.quickstarts.wscalculator.wsscalculator.Modulo;
+
+@Path("/cxf-soap")
+@ApplicationScoped
+public class CxfSoapResource {
+
+    @Inject
+    ProducerTemplate producerTemplate;
+
+    @Path("/modulo")
+    @POST
+    @Consumes(MediaType.WILDCARD)
+    @Produces(MediaType.TEXT_PLAIN)
+    public Response modulo(@QueryParam("a") int a,
+            @QueryParam("b") int b)
+            throws Exception {
+        Modulo modulo = new Modulo();

Review Comment:
   @JiriOndrusek Where is this `module` being used ?



-- 
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-unsubscribe@camel.apache.org

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


[GitHub] [camel-quarkus] JiriOndrusek commented on pull request #4187: Cxf-soap tests: Refactor and split

Posted by GitBox <gi...@apache.org>.
JiriOndrusek commented on PR #4187:
URL: https://github.com/apache/camel-quarkus/pull/4187#issuecomment-1282509093

   @ppalaga I noticed a native error thrown for the test of `cxf-soap-ws-security`. It is:
   
   ```
   com.oracle.svm.core.util.UserError$UserException: Classes that should be initialized at run time got initialized during image building:
    org.ehcache.sizeof.impl.JvmInformation$15 the class was requested to be initialized at run time (subtype of org.ehcache.sizeof.impl.JvmInformation). To see why org.ehcache.sizeof.impl.JvmInformation$15 got initialized use --trace-class-initialization=org.ehcache.sizeof.impl.JvmInformation$15
   org.ehcache.sizeof.impl.JvmInformation the class was requested to be initialized at run time (from feature io.quarkus.runner.Feature.beforeAnalysis with 'JvmInformation.class'). org.ehcache.sizeof.impl.AgentSizeOf caused initialization of this class with the following trace: 
   	at org.ehcache.sizeof.impl.JvmInformation.<clinit>(JvmInformation.java:40)
   	at org.ehcache.sizeof.impl.AgentLoader.warnIfOSX(AgentLoader.java:159)
   	at org.ehcache.sizeof.impl.AgentLoader.loadAgent(AgentLoader.java:130)
   	at org.ehcache.sizeof.impl.AgentSizeOf.<clinit>(AgentSizeOf.java:42)
   
   ```
   
   Did you encounter similar problem, i.e. during upgrade of `quarkus-cxf`?


-- 
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-unsubscribe@camel.apache.org

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


[GitHub] [camel-quarkus] llowinge commented on a diff in pull request #4187: Cxf-soap tests: Refactor and split

Posted by GitBox <gi...@apache.org>.
llowinge commented on code in PR #4187:
URL: https://github.com/apache/camel-quarkus/pull/4187#discussion_r997351676


##########
integration-test-groups/cxf-soap/cxf-soap-ws-security/src/main/java/org/apache/camel/quarkus/component/cxf/soap/it/CxfSoapResource.java:
##########
@@ -0,0 +1,60 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.quarkus.component.cxf.soap.it;
+
+import java.net.URI;
+
+import javax.enterprise.context.ApplicationScoped;
+import javax.inject.Inject;
+import javax.ws.rs.Consumes;
+import javax.ws.rs.POST;
+import javax.ws.rs.Path;
+import javax.ws.rs.Produces;
+import javax.ws.rs.QueryParam;
+import javax.ws.rs.core.MediaType;
+import javax.ws.rs.core.Response;
+
+import org.apache.camel.ProducerTemplate;
+import org.jboss.eap.quickstarts.wscalculator.wsscalculator.Modulo;
+
+@Path("/cxf-soap")
+@ApplicationScoped
+public class CxfSoapResource {
+
+    @Inject
+    ProducerTemplate producerTemplate;
+
+    @Path("/modulo")
+    @POST
+    @Consumes(MediaType.WILDCARD)
+    @Produces(MediaType.TEXT_PLAIN)
+    public Response modulo(@QueryParam("a") int a,
+            @QueryParam("b") int b)
+            throws Exception {
+        Modulo modulo = new Modulo();

Review Comment:
   @JiriOndrusek Where is this `modulo` being used ?



-- 
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-unsubscribe@camel.apache.org

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


[GitHub] [camel-quarkus] ppalaga commented on pull request #4187: Cxf-soap tests: Refactor and split

Posted by GitBox <gi...@apache.org>.
ppalaga commented on PR #4187:
URL: https://github.com/apache/camel-quarkus/pull/4187#issuecomment-1282564510

   Two more nitpicks: 
   
   * `cxf-codegen-plugin` should be added to `pluginManagement` in build-parent with `${cxf.version}` and `<version>${cxf.version}</version>` can then be removed from `integration-test-groups/cxf-soap/cxf-soap-server/pom.xml`
   * The `cxf-xjc-ts` dependency we have in integration-test-groups/cxf-soap/cxf-soap-server/pom.xml should also be present in integration-tests/cxf-soap-grouped/pom.xml


-- 
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-unsubscribe@camel.apache.org

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


[GitHub] [camel-quarkus] JiriOndrusek commented on a diff in pull request #4187: Cxf-soap tests: Refactor and split

Posted by GitBox <gi...@apache.org>.
JiriOndrusek commented on code in PR #4187:
URL: https://github.com/apache/camel-quarkus/pull/4187#discussion_r998354610


##########
extensions/cxf-soap/deployment/src/main/java/org/apache/camel/quarkus/component/cxf/soap/deployment/CxfSoapProcessor.java:
##########
@@ -36,6 +37,11 @@ FeatureBuildItem feature() {
         return new FeatureBuildItem(FEATURE);
     }
 
+    @BuildStep
+    SystemPropertyBuildItem ehcacheAgentSizeOfBypass() {
+        return new SystemPropertyBuildItem("org.ehcache.sizeof.AgentSizeOf.bypass", "true");

Review Comment:
   @ppalaga  I fixed the native failure with disablement of `org.ehcache.sizeof.AgentSizeOf`, but I'm not sure whether this change could impact any usecases. What do you think?



-- 
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-unsubscribe@camel.apache.org

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


[GitHub] [camel-quarkus] ppalaga commented on a diff in pull request #4187: Cxf-soap tests: Refactor and split

Posted by GitBox <gi...@apache.org>.
ppalaga commented on code in PR #4187:
URL: https://github.com/apache/camel-quarkus/pull/4187#discussion_r997253319


##########
integration-test-groups/cxf-soap/cxf-soap-client/README.adoc:
##########
@@ -0,0 +1,28 @@
+= Quarkus CXF client tests
+
+These are pure client tests - i.e. there are intentionally no services implemented in the test application.
+All clients access services running in containers.
+
+== Maintenenance notes
+
+=== `CalculatorService.wsdl`
+
+`src/main/resources/wsdl/CalculatorService.wsdl` is a static copy of the WSDL served by the testing container.
+It would be too complicated to start the container before running the plugin, so we rather keep the static copy.
+
+There is `io.quarkiverse.cxf.client.it.CxfClientTest.wsdlUpToDate()` to ensure that it is up to date.

Review Comment:
   ```suggestion
   There is `org.apache.camel.quarkus.component.cxf.soap.it.CxfSoapClientTest.wsdlUpToDate()` to ensure that it is up to date.
   ```



##########
integration-test-groups/cxf-soap/cxf-soap-server/src/test/java/org/apache/camel/quarkus/component/cxf/soap/it/CxfSoapServiceTest.java:
##########
@@ -38,7 +38,7 @@ public void simpleSoapService() {
         final HelloPortType helloPort = service.getHelloPort();
         String endpointURL = getServerUrl() + "/soapservice/hello";
         ((BindingProvider) helloPort).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, endpointURL);
-        Assertions.assertThat(helloPort.hello("World")).isEqualTo("Hello World from CXF service");

Review Comment:
   We could have kept using assert-j it tends to have nicer error messages. Not worth bothering with it right now, let's keep it as you have it. 



##########
integration-test-groups/cxf-soap/cxf-soap-ws-security/README.adoc:
##########
@@ -0,0 +1,28 @@
+= Quarkus CXF client tests
+
+These are pure client tests - i.e. there are intentionally no services implemented in the test application.
+All clients access services running in containers.
+
+== Maintenenance notes
+
+=== `CalculatorService.wsdl`
+
+`src/main/resources/wsdl/WssCalculatorService.wsdl` is a static copy of the WSDL served by the testing container.
+It would be too complicated to start the container before running the plugin, so we rather keep the static copy.
+
+There is `io.quarkiverse.cxf.client.it.CxfClientTest.wsdlUpToDate()` to ensure that it is up to date.

Review Comment:
   ```suggestion
   There is `org.apache.camel.quarkus.component.cxf.soap.it.CxfSoapClientTest.wsdlUpToDate()` to ensure that it is up to date.
   ```



##########
integration-test-groups/cxf-soap/cxf-soap-ws-security/README.adoc:
##########
@@ -0,0 +1,28 @@
+= Quarkus CXF client tests

Review Comment:
   ```suggestion
   = Quarkus CXF WS-Security tests
   ```



-- 
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-unsubscribe@camel.apache.org

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


[GitHub] [camel-quarkus] JiriOndrusek commented on pull request #4187: Cxf-soap tests: Refactor and split

Posted by GitBox <gi...@apache.org>.
JiriOndrusek commented on PR #4187:
URL: https://github.com/apache/camel-quarkus/pull/4187#issuecomment-1280914994

   Replaces https://github.com/apache/camel-quarkus/pull/4172


-- 
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-unsubscribe@camel.apache.org

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


[GitHub] [camel-quarkus] JiriOndrusek commented on a diff in pull request #4187: Cxf-soap tests: Refactor and split

Posted by GitBox <gi...@apache.org>.
JiriOndrusek commented on code in PR #4187:
URL: https://github.com/apache/camel-quarkus/pull/4187#discussion_r998096625


##########
integration-test-groups/cxf-soap/cxf-soap-ws-security/src/main/java/org/apache/camel/quarkus/component/cxf/soap/it/CxfSoapResource.java:
##########
@@ -0,0 +1,60 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.quarkus.component.cxf.soap.it;
+
+import java.net.URI;
+
+import javax.enterprise.context.ApplicationScoped;
+import javax.inject.Inject;
+import javax.ws.rs.Consumes;
+import javax.ws.rs.POST;
+import javax.ws.rs.Path;
+import javax.ws.rs.Produces;
+import javax.ws.rs.QueryParam;
+import javax.ws.rs.core.MediaType;
+import javax.ws.rs.core.Response;
+
+import org.apache.camel.ProducerTemplate;
+import org.jboss.eap.quickstarts.wscalculator.wsscalculator.Modulo;
+
+@Path("/cxf-soap")
+@ApplicationScoped
+public class CxfSoapResource {
+
+    @Inject
+    ProducerTemplate producerTemplate;
+
+    @Path("/modulo")
+    @POST
+    @Consumes(MediaType.WILDCARD)
+    @Produces(MediaType.TEXT_PLAIN)
+    public Response modulo(@QueryParam("a") int a,
+            @QueryParam("b") int b)
+            throws Exception {
+        Modulo modulo = new Modulo();

Review Comment:
   removed



-- 
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-unsubscribe@camel.apache.org

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