WSDL definition example

The following WSDL example defines an SNA JCA LU62 Connector that an application can use to retrieve customer information.
<?xml version="1.0"?> 
<definitions name="CustomerInfo" >
  <types> 
    <xsd:schema targetNamespace="http://www.customerservice.com/Customer" xmlns="http://www.w3.org/2001/XMLSchema/" >
      <xsd:complexType name="Customer"> 
        <xsd:element name="Num" type="xsd:string"/> 
        ...
      </xsd:complexType> 
    </xsd:schema> 
  </types> 
  <message name="lu62operation1Request">
    <part name="iNPUTMSG" type="tns:Customer"/>
  </message>
  <message name="lu62operation1Response">
    <part name="OUTPUTMSGPart" type="tns:Customer"/>
  </message>
  <portType name="test">
    <operation name="lu62operation1">
      <input message="tns:lu62operation1Request" name="lu62operation1Request"/>
      <output message="tns:lu62operation1Response" name="lu62operation1Response"/>
    </operation>
  </portType>
  <binding name="testSNALU62Binding" type="tns:test">
    <snalu62:binding/>
    <operation name="snalu62Op1">
      <snalu62:operation executionTimeout="5000" interactionVerb="-1"/>
      <input name="snalu62Op1Request"/>
      <output name="snalu62Op1Response"/>
    </operation>
  </binding>
  <service name="testSNALU62Service">
    <port binding="tns:testSNALU62Binding" name="testSNALU62Port">
      <snalu62:address chaining="false" confirmMode="false"
          establishConversationRetries="0"
          establishConversationTimeout="5000" flushMode="false"
          manageResponses="true" outgoing="true" password=""
          passwordJCA="passwordJCA" required="true"
          symbolicDestinationName="DSCCRIS0" synchronousMode="false"
          timeBetweenRetries="0" userId="" userNameJCA="userJCA"/>
    </port>
  </service>
</definitions>