⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 atm.wsdl

📁 jbpm-bpel-1.1.Beta3 JBoss jBPM Starters Kit  是一个综合包
💻 WSDL
字号:
<?xml version="1.0" encoding="UTF-8"?>
<definitions targetNamespace="urn:samples:atm"
  xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="urn:samples:atm"
  xmlns:atm="urn:samples:atm" xmlns:tic="urn:samples:ticket"
  xmlns:acc="urn:samples:account"
  xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
  xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema">

  <import namespace="urn:samples:atm" location="interface/frontend.wsdl" />
  <import namespace="urn:samples:ticket" location="interface/ticket.wsdl" />
  <import namespace="urn:samples:account" location="interface/account.wsdl" />

  <!-- customer name property -->
  <bpel:property name="customerId" type="xsd:string" />

  <!-- location of costumerId inside messages -->
  <bpel:propertyAlias propertyName="tns:customerId"
    messageType="atm:logOnRequest" part="customerName" />
  <bpel:propertyAlias propertyName="tns:customerId"
    messageType="atm:balanceChange" part="customerName" />
  <bpel:propertyAlias propertyName="tns:customerId"
    messageType="acc:customerMessage" part="customerName" />
  <bpel:propertyAlias propertyName="tns:customerId"
    messageType="acc:accountOperation" part="body" query="/body/customerName" />

  <!-- ticket number property -->
  <bpel:property name="ticketId" type="xsd:int" />

  <!-- location of ticketId inside messages -->
  <bpel:propertyAlias propertyName="tns:ticketId"
    messageType="tic:ticketMessage" part="ticketNo" />
  <bpel:propertyAlias propertyName="tns:ticketId" messageType="atm:logOnRequest"
    part="ticketNo" />

  <!-- relationship between the ATM and the process -->
  <plt:partnerLinkType name="Atm-Front">
    <plt:role name="FrontEnd">
      <plt:portType name="atm:FrontEnd" />
    </plt:role>
  </plt:partnerLinkType>

  <!-- relationship between the process and the ticket issuer -->
  <plt:partnerLinkType name="Front-Ticket">
    <plt:role name="TicketIssuer">
      <plt:portType name="tic:TicketIssuer" />
    </plt:role>
  </plt:partnerLinkType>

  <!-- relationship between the process and the account system -->
  <plt:partnerLinkType name="Front-Account">
    <plt:role name="AccountSystem">
      <plt:portType name="acc:AccountSystem" />
    </plt:role>
  </plt:partnerLinkType>

</definitions>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -