This is an automated email from the ASF dual-hosted git repository.
aldettinger pushed a commit to branch camel-quarkus-main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus-examples.git
The following commit(s) were added to refs/heads/camel-quarkus-main by this
push:
new ec547e4 Added namespaces to sample XML and fixed file reference in
README
ec547e4 is described below
commit ec547e418ebb43b034c25a7e6dcdb1ae408457a6
Author: Darren Coleman <[email protected]>
AuthorDate: Wed Nov 15 10:01:02 2023 +0000
Added namespaces to sample XML and fixed file reference in README
---
cxf-soap/README.adoc | 2 +-
cxf-soap/src/main/resources/requests/contact/add.xml | 12 ++++++------
cxf-soap/src/main/resources/requests/customer/getByName.xml | 2 +-
3 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/cxf-soap/README.adoc b/cxf-soap/README.adoc
index 8f8010f..981ec6c 100644
--- a/cxf-soap/README.adoc
+++ b/cxf-soap/README.adoc
@@ -97,7 +97,7 @@ We can also test our customer service:
$ curl -X POST -H "Content-Type: text/xml;charset=UTF-8" -d
@src/main/resources/requests/customer/getByName.xml
http://localhost:8080/cxf/services/customer
----
-You can observe that we have hardcoded `test` as the name in the `SOAPBody`
part in `src/main/resources/requests/customer/getByName.soap` as follows:
+You can observe that we have hardcoded `test` as the name in the `SOAPBody`
part in `src/main/resources/requests/customer/getByName.xml` as follows:
[source, xml]
----
diff --git a/cxf-soap/src/main/resources/requests/contact/add.xml
b/cxf-soap/src/main/resources/requests/contact/add.xml
index 523711a..ad6b15b 100644
--- a/cxf-soap/src/main/resources/requests/contact/add.xml
+++ b/cxf-soap/src/main/resources/requests/contact/add.xml
@@ -21,12 +21,12 @@
<soapenv:Body>
<con:addContact>
<arg0>
- <name>Lukas</name>
- <address>
- <city>New York</city>
- <street>Sky 1234</street>
- </address>
- <type>PERSONAL</type>
+ <con:name>Lukas</con:name>
+ <con:address>
+ <con:city>New York</con:city>
+ <con:street>Sky 1234</con:street>
+ </con:address>
+ <con:type>PERSONAL</con:type>
</arg0>
</con:addContact>
</soapenv:Body>
diff --git a/cxf-soap/src/main/resources/requests/customer/getByName.xml
b/cxf-soap/src/main/resources/requests/customer/getByName.xml
index 7070171..5a11a36 100644
--- a/cxf-soap/src/main/resources/requests/customer/getByName.xml
+++ b/cxf-soap/src/main/resources/requests/customer/getByName.xml
@@ -20,7 +20,7 @@
<soapenv:Header/>
<soapenv:Body>
<cus:getCustomersByName>
- <name>Non existent</name>
+ <name>test</name>
</cus:getCustomersByName>
</soapenv:Body>
</soapenv:Envelope>
\ No newline at end of file