| <?xml version="1.0"?>
|
| <!-- |
| Copyright 2002-2004 The Apache Software Foundation |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
|
|
| <j:jelly
|
| xmlns:soap="jelly:soap"
|
| xmlns:log="jelly:log"
|
| xmlns:j="jelly:core">
|
|
|
| <soap:invoke
|
| var="answer"
|
| endpoint="http://nagoya.apache.org:5049/axis/services/echo"
|
| namespace="http://soapinterop.org/"
|
| method="echoString">Hi Jim!</soap:invoke>
|
|
|
| <log:info>Sent: Hi Jim! and received: ${answer} of type: ${answer.class.name}</log:info>
|
|
|
| <soap:invoke
|
| var="answer"
|
| endpoint="http://services.xmethods.net:80/soap/servlet/rpcrouter"
|
| namespace="urn:xmethods-Temperature"
|
| method="getTemp">40031</soap:invoke>
|
|
|
| <log:info>Sent: 40031 and received: ${answer} of type: ${answer.class.name}</log:info>
|
|
|
| <j:set var="x" value="${300}"/>
|
|
|
| <soap:invoke
|
| var="answer"
|
| endpoint="http://www.xmlbus.com:9010/xmlbus/container/Converter/ConverterService/ConverterPort/"
|
| namespace="urn:target-converter-service"
|
| method="mmToInch"
|
| params="${x.floatValue()}"/>
|
|
|
| <log:info>Sent: ${x} mm and received: ${answer} inches of type: ${answer.class.name}</log:info>
|
| </j:jelly>
|