From 172cce86678488211fa47b877ddf53af0841634b Mon Sep 17 00:00:00 2001 From: Darren Coleman Date: Wed, 15 Nov 2023 10:01:02 +0000 Subject: [PATCH] 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 ++++++------ .../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 8f8010f9..981ec6ca 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 523711a7..ad6b15b1 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 @@ - Lukas -
- New York - Sky 1234 -
- PERSONAL + Lukas + + New York + Sky 1234 + + PERSONAL
diff --git a/cxf-soap/src/main/resources/requests/customer/getByName.xml b/cxf-soap/src/main/resources/requests/customer/getByName.xml index 70701710..5a11a367 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 @@ - Non existent + test \ No newline at end of file