Advertisement
eskalera

Artifacts.wsdl

May 9th, 2013
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 3.94 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:mod2="http://tempuri.org/" xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://artifacts" xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop" name="process" targetNamespace="http://artifacts">
  3.  
  4.     <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5.     TYPE DEFINITION - List of types participating in this BPEL process
  6.     The BPEL Designer will generate default request and response types
  7.     but you can define or import any XML Schema type and use them as part
  8.     of the message types.
  9.     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->    
  10.  
  11.     <types>
  12.         <schema xmlns="http://www.w3.org/2001/XMLSchema" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://artifacts">
  13.  
  14.             <element name="ArtifactsRequest">
  15.                 <complexType>
  16.                     <sequence>                 
  17.                         <element name="input_mod2-1-1_arg0" type="string"/>
  18.                     </sequence>
  19.                 </complexType>
  20.             </element>
  21.  
  22.             <element name="ArtifactsResponse">
  23.                 <complexType>
  24.                     <sequence>      
  25.                         <element name="result_mod2-1-1_mod2Result" type="string"/>
  26.                     </sequence>
  27.                 </complexType>
  28.             </element>
  29.         </schema>
  30.     </types>
  31.  
  32.     <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  33.     MESSAGE TYPE DEFINITION - Definition of the message types used as
  34.     part of the port type defintions
  35.     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->    
  36.     <message name="ArtifactsRequestMessage">
  37.         <part element="tns:ArtifactsRequest" name="payload"/>
  38.     </message>
  39.     <message name="ArtifactsResponseMessage">
  40.         <part element="tns:ArtifactsResponse" name="payload"/>
  41.     </message>
  42.  
  43.     <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  44.     PORT TYPE DEFINITION - A port type groups a set of operations into
  45.     a logical service unit.
  46.     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->    
  47.  
  48.     <!-- portType implemented by the Artifacts BPEL process -->
  49.     <portType name="Artifacts">
  50.         <operation name="process">
  51.             <input message="tns:ArtifactsRequestMessage"/>
  52.             <output message="tns:ArtifactsResponseMessage"/>
  53.         </operation>
  54.     </portType>    
  55.  
  56.     <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  57.     BINDING DEFINITION - Defines the message format and protocol details
  58.     for a web service.
  59.     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
  60.     <binding name="ArtifactsBinding" type="tns:Artifacts">
  61.         <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
  62.         <operation name="process">
  63.             <soap:operation soapAction="http://Artifacts/process"/>
  64.             <input>
  65.                 <soap:body use="literal"/>
  66.             </input>
  67.             <output>
  68.                 <soap:body use="literal"/>
  69.             </output>
  70.         </operation>
  71.     </binding>
  72.  
  73.     <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  74.     SERVICE DEFINITION - A service groups a set of ports into
  75.     a service unit.
  76.     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
  77.     <service name="process">
  78.         <port binding="tns:ArtifactsBinding" name="ArtifactsPort">
  79.             <soap:address location="http://localhost:8080/ode/processes/process"/>
  80.         </port>
  81.     </service>
  82.  
  83.     <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  84.     PARTNER LINK TYPE DEFINITION
  85.     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->    
  86.     <plnk:partnerLinkType name="ArtifactsPLT">
  87.         <plnk:role name="ArtifactsRole" portType="tns:Artifacts"/>
  88.     </plnk:partnerLinkType>
  89.  
  90.     <plnk:partnerLinkType name="mod2PLT">
  91.         <plnk:role name="mod2Role" portType="mod2:Azure"/>
  92.     </plnk:partnerLinkType>
  93.     <import location="mod2.wsdl" namespace="http://tempuri.org/"/>
  94. </definitions>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement