spacer
Yehuda Shiran November 10, 2001
The WSDL's portType Element
Tips: November 2001

Yehuda Shiran, Ph.D.
Doc JavaScript

Developer News
Google Going Native With Chrome
Mozilla Fixes Firefox Flaws as 3.5 Release Nears
Microsoft and Novell Still Bosom Buddies

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:

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
XML and PHP Simplified · Creating a ASP.NET Contact Form · Data Filtering with PHP
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Intel to Host Live Nehalem Q&A · 12 Tips to Troubleshoot Network File-Sharing · 10 Tips for Selling on Kijiji