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

Yehuda Shiran, Ph.D.
Doc JavaScript

Developer News
News Flash: Adobe Has iPhone Workaround
Adobe's Flash 10.1 Goes Mobile (Minus iPhone)
A Salute to Visionary CEOs

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 >
Building a Banking Application Home Page with OOP · Mixing Scripting Languages · Review: phpFox, a Social Networking CMS with all the Bells and Whistles
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Enterprise 2.0: Social Networking in the Cloud · BroadSoft Marketplace Hastens Pace of Telephony Innovation · Review: HTC Hero for Sprint