Commit 8b066720 authored by O'Reilly Media, Inc.'s avatar O'Reilly Media, Inc.
Browse files

Initial commit

parents
Loading
Loading
Loading
Loading

9780596008437

0 → 120000
+1 −0
Changes for 9780596008437: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
9780596008437
 No newline at end of file

HRService/.project

0 → 100644
+17 −0
Changes for HRService/.project: 17 added lines, 0 removed lines.
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
	<name>HRService</name>
	<comment></comment>
	<projects>
	</projects>
	<buildSpec>
		<buildCommand>
			<name>bpelz.BPELBuilder</name>
			<arguments>
			</arguments>
		</buildCommand>
	</buildSpec>
	<natures>
		<nature>bpelz.BPELNature</nature>
	</natures>
</projectDescription>
+25 −0
Changes for HRService/HRService.bpel: 25 added lines, 0 removed lines.
Original line number Diff line number Diff line
<process name="HRService" 
   targetNamespace="http://acm.org/samples" 
   suppressJoinFailure="yes" 
   xmlns:tns="http://acm.org/samples"  
   xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/" 
   xmlns:bpelx="http://schemas.oracle.com/bpel/extension" 
   xmlns:ora="http://schemas.oracle.com/xpath/extension">
   <partnerLinks>
      <partnerLink name="client" partnerLinkType="tns:HRPartnerLink" 
         partnerRole="HRListener" myRole="HR"/>
   </partnerLinks>
   <variables>
      <variable name="input" messageType="tns:BenefitsMessage"/>
   </variables>
   <sequence name="main">
      <!-- Step 1: client interface receiveInput is called -->
      <receive name="receiveInput" partnerLink="client" 
         portType="tns:HRService" variable="input" 
         createInstance="yes" operation="notify"/>
      <!-- Step 2: immediately invoke callback confirm, passing back same msg -->
      <invoke name="confirm" partnerLink="client" 
         portType="tns:HRCallback" operation="confirm" 
         inputVariable="input"/>
   </sequence>
</process>
 No newline at end of file
+31 −0
Changes for HRService/HRService.wsdl: 31 added lines, 0 removed lines.
Original line number Diff line number Diff line
<?xml version="1.0"?>
<definitions name="MBPension"
   targetNamespace="http://acm.org/samples"
   xmlns:tns="http://acm.org/samples"
   xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
   xmlns="http://schemas.xmlsoap.org/wsdl/">

   <import namespace="http://acm.org/samples" location="canon.wsdl"/>   

   <!-- Two port types: the service and its callback -->
   <portType name="HRService">
      <operation name="notify">
         <input message="tns:BenefitsMessage"/>
      </operation>
   </portType>
   <portType name="HRCallback">
      <operation name="confirm">
         <input message="tns:BenefitsMessage"/>
      </operation>
   </portType>

   <!-- A partner link type for each port type -->
   <plnk:partnerLinkType name="HRPartnerLink">
      <plnk:role name="HR">
         <plnk:portType name="tns:HRService"/>
      </plnk:role>
      <plnk:role name="HRListener">
         <plnk:portType name="tns:HRCallback"/>
      </plnk:role>
   </plnk:partnerLinkType>   
</definitions>
 No newline at end of file

HRService/bpel.xml

0 → 100644
+10 −0
Changes for HRService/bpel.xml: 10 added lines, 0 removed lines.
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<BPELSuitcase>
  <BPELProcess id="HRService" src="HRService.bpel">
    <partnerLinkBindings>
      <partnerLinkBinding name="client">
        <property name="wsdlLocation">HRService.wsdl</property>
      </partnerLinkBinding>
    </partnerLinkBindings>
  </BPELProcess>
</BPELSuitcase>
 No newline at end of file
Loading