home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / wsgatsam.zip / LFTSampleJava.wsdl < prev    next >
Text File  |  2003-02-24  |  3KB  |  74 lines

  1. <!-- @wsgw_html_copyright_start@ -->
  2. <!-- Licensed Materials - Property of IBM -->
  3. <!--                             -->
  4. <!-- (c) Copyright IBM Corp. 2001, 2002 All Rights Reserved.-->
  5. <!--                             -->
  6. <!--  US Government Users Restricted Rights - Use, duplication or   -->
  7. <!--  disclosure restricted by GSA ADP Schedule Contract with   -->
  8. <!--  IBM Corp.           -->
  9. <!-- @wsgw_html_copyright_end@ -->
  10. <definitions name="fileServiceDefinition" 
  11.          xmlns="http://schemas.xmlsoap.org/wsdl/"
  12.              xmlns:tns="http://www.fileService.com/largeFile" 
  13.              xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
  14.              xmlns:java="http://schemas.xmlsoap.org/wsdl/java/"
  15.              xmlns:format="http://schemas.xmlsoap.org/wsdl/formatbinding/"
  16.              targetNamespace="http://www.fileService.com/largeFile">
  17.  
  18. <message name="CheckInRequest">
  19.   <part name="fileId"        type="xsd:string"/>
  20.   <part name="changeDesc"    type="xsd:string"/>
  21.   <part name="fileReference" type="xsd:string"/>
  22. </message>
  23.  
  24. <message name="CheckInResponse">
  25.   <part name="message" type="xsd:string"/>
  26. </message>
  27.  
  28. <message name="CheckOutRequest">
  29.   <part name="fileId" type="xsd:string"/>
  30. </message>
  31.  
  32. <message name="CheckOutResponse">
  33.   <part name="fileReference" type="xsd:string"/>
  34. </message>
  35.  
  36. <portType name="fileServicePort">
  37.   <operation name="checkIn">
  38.     <input  message="tns:CheckInRequest"/>
  39.     <output message="tns:CheckInResponse"/>
  40.   </operation>
  41.  
  42.   <operation name="checkOut">
  43.     <input  message="tns:CheckOutRequest"/>
  44.     <output message="tns:CheckOutResponse"/>
  45.   </operation>
  46. </portType>
  47.   
  48.   <binding name="fileServicePortJavaBinding" type="tns:fileServicePort">
  49.     <java:binding/>
  50.     <format:typeMapping encoding="Java" style="Java">
  51.       <format:typeMap typeName="xsd:string" formatType="java.lang.String" />
  52.     </format:typeMapping>
  53.     <operation name="checkIn">
  54.            <java:operation 
  55.                 methodName="checkIn" 
  56.                 parameterOrder="fileId changeDesc fileReference"
  57.                 methodType="instance"/>
  58.       <input/>
  59.       <output/>
  60.     </operation>       
  61.     <operation name="checkOut">
  62.       <java:operation methodName="checkOut"/>
  63.       <input/>
  64.       <output/>
  65.     </operation>       
  66.   </binding>
  67.  
  68.   <service name="LFTFileService">
  69.     <port name="fileServicePortJavaBindingPort" binding="tns:fileServicePortJavaBinding">
  70.       <java:address className="services.lftfileservice.FileService"/>
  71.     </port>
  72.   </service>
  73. </definitions>
  74.