You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pp...@apache.org on 2023/05/16 14:05:28 UTC

[camel-quarkus] branch main updated: Recommend using wsdl2Java -validate while wsdlvalidator is not supported

This is an automated email from the ASF dual-hosted git repository.

ppalaga pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git


The following commit(s) were added to refs/heads/main by this push:
     new b02c654524 Recommend using wsdl2Java -validate while wsdlvalidator is not supported
b02c654524 is described below

commit b02c654524cfb0c3985947378fa71773dae78999
Author: Peter Palaga <pp...@redhat.com>
AuthorDate: Mon May 15 19:15:55 2023 +0200

    Recommend using wsdl2Java -validate while wsdlvalidator is not supported
---
 docs/modules/ROOT/pages/reference/extensions/cxf-soap.adoc | 9 +++++++++
 extensions/cxf-soap/runtime/src/main/doc/usage.adoc        | 9 +++++++++
 2 files changed, 18 insertions(+)

diff --git a/docs/modules/ROOT/pages/reference/extensions/cxf-soap.adoc b/docs/modules/ROOT/pages/reference/extensions/cxf-soap.adoc
index 91bc1a798f..b21cc7131f 100644
--- a/docs/modules/ROOT/pages/reference/extensions/cxf-soap.adoc
+++ b/docs/modules/ROOT/pages/reference/extensions/cxf-soap.adoc
@@ -293,3 +293,12 @@ TIP: Both {project-name} and Quarkus CXF contain a number of
 
 IMPORTANT: For `wsdl2Java` to work properly, your application will have to directly depend on `io.quarkiverse.cxf:quarkus-cxf`.
 
+TIP: While `wsdlvalidator` is not supported, you can use `wsdl2Java` with the following configuration in `application.properties`
+     to validate your WSDLs:
++
+.application.properties
+[source,properties]
+----
+quarkus.cxf.codegen.wsdl2java.additional-params = -validate
+----
+
diff --git a/extensions/cxf-soap/runtime/src/main/doc/usage.adoc b/extensions/cxf-soap/runtime/src/main/doc/usage.adoc
index 73da8af485..291c658919 100644
--- a/extensions/cxf-soap/runtime/src/main/doc/usage.adoc
+++ b/extensions/cxf-soap/runtime/src/main/doc/usage.adoc
@@ -237,3 +237,12 @@ TIP: Both {project-name} and Quarkus CXF contain a number of
 * `java2ws` - for {link-quarkus-cxf-doc}/user-guide/generate-wsdl-from-java.html[generating WSDL from Java classes]
 
 IMPORTANT: For `wsdl2Java` to work properly, your application will have to directly depend on `io.quarkiverse.cxf:quarkus-cxf`.
+
+TIP: While `wsdlvalidator` is not supported, you can use `wsdl2Java` with the following configuration in `application.properties`
+     to validate your WSDLs:
++
+.application.properties
+[source,properties]
+----
+quarkus.cxf.codegen.wsdl2java.additional-params = -validate
+----