home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / wsgatsam.zip / demo.gif < prev    next >
Text File  |  2003-02-24  |  3KB  |  82 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:lft="http://www.ibm.com/schemas/wsdl/lft/"
  15.              targetNamespace="http://www.fileService.com/largeFile">
  16.  
  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.  
  47. </portType>
  48.  
  49. <binding name="fileServiceBindingSoapHTTPRLFT" type="tns:fileServicePort">
  50.  <lft:binding transport="http://schemas.xmlsoap.org/soap/httpr"/>
  51.  <operation name="checkIn">
  52.    <lft:operation lftAction="" namespace="urn:ibmwsgw#LFTFileService"/>
  53.    
  54.    <input>
  55.      <lft:body parts="fileId changeDesc"/>
  56.      <lft:file part="fileReference" />
  57.    </input>
  58.    <output>
  59.      <lft:body parts="message"/>
  60.    </output>
  61.  </operation>
  62.  
  63.  <operation name="checkOut">
  64.    <lft:operation lftAction="" namespace="urn:ibmwsgw#LFTFileService"/>
  65.    <input>
  66.      <lft:body parts="fileId"/>
  67.    </input>
  68.    <output>
  69.      <lft:file part="fileReference" />
  70.    </output>
  71.  </operation>
  72.  
  73. </binding>
  74.  
  75. <service name="LFTFileService">
  76.  <documentation>HTTPR LFT Example</documentation>
  77.  <port binding="tns:fileServiceBindingSoapHTTPRLFT" name="HTTPRPort">
  78.    <lft:address location="httpr://localhost:81/wsgwlft1/HttprServer#HTTPR.DEMO.REQUEST"/>
  79.  </port>
  80. </service>
  81. </definitions>
  82.