Update WS sample to the latest w3schools changes

w3schools sample webservice has a new url
http://www.w3schools.com/webservices/tempconvert.asmx
to
http://www.w3schools.com/xml/tempconvert.asmx"
This commit is contained in:
Andrew Thompson
2016-04-28 11:10:39 -04:00
committed by Artem Bilan
parent ae1150ae1a
commit faa06093dc
2 changed files with 3 additions and 3 deletions

View File

@@ -39,7 +39,7 @@ public class WebServiceDemoTestApp {
// Compose the XML message according to the server's schema
String requestXml =
"<FahrenheitToCelsius xmlns=\"http://www.w3schools.com/webservices/\">" +
"<FahrenheitToCelsius xmlns=\"http://www.w3schools.com/xml/\">" +
"<Fahrenheit>90.0</Fahrenheit>" +
"</FahrenheitToCelsius>";

View File

@@ -18,9 +18,9 @@
Web Service for the given URI, and the reply Message is sent to the 'celsiusChannel'. -->
<chain input-channel="fahrenheitChannel" output-channel="celsiusChannel">
<ws:header-enricher>
<ws:soap-action value="http://www.w3schools.com/webservices/FahrenheitToCelsius"/>
<ws:soap-action value="http://www.w3schools.com/xml/FahrenheitToCelsius"/>
</ws:header-enricher>
<ws:outbound-gateway uri="http://www.w3schools.com/webservices/tempconvert.asmx"/>
<ws:outbound-gateway uri="http://www.w3schools.com/xml/tempconvert.asmx"/>
</chain>
<!-- The response from the service is logged to the console. -->