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:
committed by
Artem Bilan
parent
ae1150ae1a
commit
faa06093dc
@@ -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>";
|
||||
|
||||
|
||||
@@ -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. -->
|
||||
|
||||
Reference in New Issue
Block a user