|
|
 |
The portType element includes a supported set of operations. Each operation includes the input and the output messages of the operation. Here is the portType element of the interopTest Web service:
<portType name="InteropTestPortType">
- <operation name="echoString" parameterOrder="inputString">
<input message="tns:echoStringRequest" name="echoString" />
<output message="tns:echoStringResponse" name="echoStringResponse" />
</operation>
- <operation name="echoStringArray" parameterOrder="inputStringArray">
<input message="tns:echoStringArrayRequest" name="echoStringArray" />
<output message="tns:echoStringArrayResponse" name="echoStringArrayResponse" />
</operation>
- <operation name="echoInteger" parameterOrder="inputInteger">
<input message="tns:echoIntegerRequest" name="echoInteger" />
<output message="tns:echoIntegerResponse" name="echoIntegerResponse" />
</operation>
- <operation name="echoIntegerArray" parameterOrder="inputIntegerArray">
<input message="tns:echoIntegerArrayRequest" name="echoIntegerArray" />
<output message="tns:echoIntegerArrayResponse" name="echoIntegerArrayResponse" />
</operation>
- <operation name="echoFloat" parameterOrder="inputFloat">
<input message="tns:echoFloatRequest" name="echoFloat" />
<output message="tns:echoFloatResponse" name="echoFloatResponse" />
</operation>
- <operation name="echoFloatArray" parameterOrder="inputFloatArray">
<input message="tns:echoFloatArrayRequest" name="echoFloatArray" />
<output message="tns:echoFloatArrayResponse" name="echoFloatArrayResponse" />
</operation>
- <operation name="echoStruct" parameterOrder="inputStruct">
<input message="tns:echoStructRequest" name="echoStruct" />
<output message="tns:echoStructResponse" name="echoStructResponse" />
</operation>
- <operation name="echoStructArray" parameterOrder="inputStructArray">
<input message="tns:echoStructArrayRequest" name="echoStructArray" />
<output message="tns:echoStructArrayResponse" name="echoStructArrayResponse" />
</operation>
- <operation name="echoVoid">
<input message="tns:echoVoidRequest" name="echoVoid" />
<output message="tns:echoVoidResponse" name="echoVoidResponse" />
</operation>
- <operation name="echoBase64">
<input message="tns:echoBase64Request" name="echoBase64" />
<output message="tns:echoBase64Response" name="echoBase64Response" />
</operation>
- <operation name="echoDate">
<input message="tns:echoDateRequest" name="echoDate" />
<output message="tns:echoDateResponse" name="echoDateResponse" />
</operation>
- <operation name="echoDecimal">
<input message="tns:echoDecimalRequest" name="echoDecimal" />
<output message="tns:echoDecimalResponse" name="echoDecimalResponse" />
</operation>
</portType>
You can call Web services from JavaScript. In upcoming tips and columns we'll cover the motivation and the implementation of Web services, and how to use them from JavaScript.
People who read this tip also read these tips:
Look for similar tips by subject:
|