Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added namespaces to sample XML and fixed file reference in README #176

Merged
merged 1 commit into from
Nov 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cxf-soap/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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]
----
Expand Down
12 changes: 6 additions & 6 deletions cxf-soap/src/main/resources/requests/contact/add.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<soapenv:Header/>
<soapenv:Body>
<cus:getCustomersByName>
<name>Non existent</name>
<name>test</name>
</cus:getCustomersByName>
</soapenv:Body>
</soapenv:Envelope>
Loading