Author: objectiser
Date: 2010-03-09 13:42:49 -0500 (Tue, 09 Mar 2010)
New Revision: 549
Added:
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/testcases/RiftSaw70TestCase.java
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/Copy of
PolicyQuoteProcess.bpel
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/CreditCheckService.wsdl
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/DrivingRecordCallbackService.wsdl
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/DrivingRecordService.wsdl
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/PolicyQuoteCalculationService.wsdl
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/PolicyQuoteEntityService.wsdl
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/PolicyQuoteProcess.bpel
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/PolicyQuoteProcessArtifacts.wsdl
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/PolicyQuoteProcessService.wsdl
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/bpel-deploy.xml
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/policyQuoteFault.xsd
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/policyQuoteRequest.xsd
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/policyQuoteResponse.xsd
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/types/
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/types/policyQuoteBase.xsd
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/build.xml
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/messages/
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/messages/hello_request1.xml
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/messages/hello_response1.xml
Modified:
trunk/integration-tests/build.xml
Log:
RIFTSAW-172 - add test for issue RIFTSAW-70. Fails if tested against jbossws-native-3.1.2,
which is the default WS stack version in AS5.1.0.GA.
Modified: trunk/integration-tests/build.xml
===================================================================
--- trunk/integration-tests/build.xml 2010-03-09 13:17:45 UTC (rev 548)
+++ trunk/integration-tests/build.xml 2010-03-09 18:42:49 UTC (rev 549)
@@ -145,6 +145,7 @@
<ant antfile="src/test/resources/testcases/RiftSaw_144/build.xml" />
<ant antfile="src/test/resources/testcases/RiftSaw_154/build.xml" />
<ant antfile="src/test/resources/testcases/RiftSaw_163/build.xml" />
+ <ant antfile="src/test/resources/testcases/RiftSaw_70/build.xml" />
</target>
</project>
Added:
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/testcases/RiftSaw70TestCase.java
===================================================================
---
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/testcases/RiftSaw70TestCase.java
(rev 0)
+++
trunk/integration-tests/src/test/java/org/jboss/soa/bpel/tests/testcases/RiftSaw70TestCase.java 2010-03-09
18:42:49 UTC (rev 549)
@@ -0,0 +1,60 @@
+/*
+ * JBoss, Home of Professional Open Source.
+ * Copyright 2006, Red Hat Middleware LLC, and individual contributors
+ * as indicated by the @author tags. See the copyright.txt file in the
+ * distribution for a full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site:
http://www.fsf.org.
+ */
+package org.jboss.soa.bpel.tests.testcases;
+
+import org.jboss.soa.bpel.tests.RiftSawTest;
+import org.jboss.soa.bpel.tests.RiftSawTestSetup;
+
+import junit.framework.Test;
+
+/**
+ * Test case for running the RiftSaw_70 testcase.
+ */
+public class RiftSaw70TestCase extends RiftSawTest {
+
+ private static final String TEST_NAME = "RiftSaw_70";
+
+ public RiftSaw70TestCase() {
+ super(TEST_NAME);
+ }
+
+ public static Test suite() {
+ return(new RiftSawTestSetup(RiftSaw70TestCase.class,
+ TEST_NAME, "RiftSaw_70-1.jar"));
+ }
+
+ public void testSendHello() throws Exception {
+ String result=sendSOAPMessage("hello_request1.xml",
+ "http://localhost:8080/RiftSaw_70WS");
+
+ // If testing against cxf, then result is presented slightly differently
+ if (result.indexOf("SOAP-ENV") != -1) {
+ result = result.replaceAll("SOAP-ENV", "env");
+ result = result.replaceAll(" xmlns=\"\"","");
+ result = result.replaceAll("\"","'");
+ result = result.replaceAll("<env:Header
/>","<env:Header></env:Header>");
+ }
+
+ // Comment out until RIFTSAW-70 is fixed
+ assertMessageFromFile(result, "hello_response1.xml");
+ }
+}
Added: trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/Copy of
PolicyQuoteProcess.bpel
===================================================================
--- trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/Copy of
PolicyQuoteProcess.bpel (rev 0)
+++ trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/Copy of
PolicyQuoteProcess.bpel 2010-03-09 18:42:49 UTC (rev 549)
@@ -0,0 +1,432 @@
+<!-- PolicyQuoteProcess BPEL Process [Generated by the Eclipse BPEL Designer] -->
+<!-- Date: Thu Dec 03 16:03:20 MST 2009 -->
+<bpel:process name="PolicyQuoteProcess"
+
targetNamespace="http://eclipse.org/bpel/sample"
+ suppressJoinFailure="yes"
+
xmlns:tns="http://eclipse.org/bpel/sample"
+
xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable...
+
xmlns:spl="http://eclipse.org/bpel/sampleArtifacts"
xmlns:orchws="http://soa.jboss.org/OrchestratedServices"
xmlns:cas="http://soa.jboss.org/CreditAgencyServices"
xmlns:dmv="http://soa.jboss.org/ExternalService"
xmlns:drcs="http://soa.jboss.org/CallbackServices"
xmlns:calc="http://soa.jboss.org/TaskServices"
xmlns:polent="http://soa.jboss.org/EntityServices"
xmlns:pol="http://www.example.org/policyQuote"
xmlns:driv="http://www.example.org/drivingRecord"
xmlns:cred="http://www.example.org/creditCheck"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+ <!-- ================================================================= -->
+ <!-- PARTNERLINKS -->
+ <!-- List of services participating in this BPEL process -->
+ <!-- ================================================================= -->
+ <bpel:import
namespace="http://soa.jboss.org/EntityServices"
location="PolicyQuoteEntityService.wsdl"
importType="http://schemas.xmlsoap.org/wsdl/"></bpel:impo...
+ <bpel:import
namespace="http://soa.jboss.org/TaskServices"
location="PolicyQuoteCalculationService.wsdl"
importType="http://schemas.xmlsoap.org/wsdl/"></bpel:impo...
+ <bpel:import
namespace="http://soa.jboss.org/CallbackServices"
location="DrivingRecordCallbackService.wsdl"
importType="http://schemas.xmlsoap.org/wsdl/"></bpel:impo...
+ <bpel:import
namespace="http://soa.jboss.org/ExternalService"
location="DrivingRecordService.wsdl"
importType="http://schemas.xmlsoap.org/wsdl/"></bpel:impo...
+ <bpel:import
namespace="http://soa.jboss.org/CreditAgencyServices"
location="CreditCheckService.wsdl"
importType="http://schemas.xmlsoap.org/wsdl/"></bpel:impo...
+ <bpel:import
namespace="http://soa.jboss.org/OrchestratedServices"
location="PolicyQuoteProcessService.wsdl"
importType="http://schemas.xmlsoap.org/wsdl/"></bpel:impo...
+ <bpel:import
namespace="http://eclipse.org/bpel/sampleArtifacts"
location="PolicyQuoteProcessArtifacts.wsdl"
importType="http://schemas.xmlsoap.org/wsdl/"></bpel:impo...
+ <bpel:partnerLinks>
+ <bpel:partnerLink name="CreditCheckService"
partnerLinkType="spl:CreditCheckServiceLT"
partnerRole="CreditCheckServiceRole"></bpel:partnerLink>
+ <bpel:partnerLink name="DrivingRecordService"
partnerLinkType="spl:DrivingRecordServiceLT"
partnerRole="DrivingRecordServiceRole"></bpel:partnerLink>
+ <bpel:partnerLink name="PolicyQuoteCalculationService"
partnerLinkType="spl:PolicyQuoteCalculationServiceLT"
partnerRole="PolicyQuoteCalculationServiceRole"></bpel:partnerLink>
+ <bpel:partnerLink name="PolicyQuoteEntityService"
partnerLinkType="spl:PolicyQuoteEntityServiceLT"
partnerRole="PolicyQuoteEntityServiceRole"></bpel:partnerLink>
+ <bpel:partnerLink name="DrivingRecordCallbackService"
partnerLinkType="spl:DrivingRecordCallbackServiceLT"
myRole="DrivingRecordCallbackServiceRole"></bpel:partnerLink>
+
+ <bpel:partnerLink name="PolicyQuoteProcessService"
partnerLinkType="spl:PolicyQuoteProcessServiceLT"
myRole="PolicyQuoteProcessServiceRole"></bpel:partnerLink>
+ </bpel:partnerLinks>
+
+ <!-- ================================================================= -->
+ <!-- VARIABLES -->
+ <!-- List of messages and XML documents used within this BPEL process -->
+ <!-- ================================================================= -->
+ <bpel:variables>
+ <bpel:variable name="PolicyQuoteRequest"
messageType="orchws:PolicyQuoteProcessServiceReq"></bpel:variable>
+ <bpel:variable name="PolicyQuoteResponse"
messageType="orchws:PolicyQuoteProcessServiceRes"></bpel:variable>
+ <bpel:variable name="CreditCheckRequest"
messageType="cas:CreditCheckServiceReq"></bpel:variable>
+ <bpel:variable name="CreditCheckResponse"
messageType="cas:CreditCheckServiceRes"></bpel:variable>
+ <bpel:variable name="DrivingRecordRequest"
messageType="dmv:DrivingRecordServiceReq"></bpel:variable>
+ <bpel:variable name="DrivingRecordResponse"
messageType="drcs:DrivingRecordCallbackServiceReq"></bpel:variable>
+ <bpel:variable name="PolicyQuoteCalculationRequest"
messageType="calc:PolicyQuoteCalculationServiceReq"></bpel:variable>
+ <bpel:variable name="PolicyQuoteCalculationResponse"
messageType="calc:PolicyQuoteCalculationServiceRes"></bpel:variable>
+ <bpel:variable name="PolicyQuoteEntityRequest"
messageType="polent:PolicyQuoteEntityServiceReq"></bpel:variable>
+ <bpel:variable name="PolicyQuoteEntityResponse"
messageType="polent:PolicyQuoteEntityServiceRes"></bpel:variable>
+ <bpel:variable name="PolicyQuoteFault"
messageType="orchws:PolicyQuoteProcessServiceFault1"></bpel:variable>
+ </bpel:variables>
+
+ <!-- ================================================================= -->
+ <!-- ORCHESTRATION LOGIC -->
+ <!-- Set of activities coordinating the flow of messages across the -->
+ <!-- services integrated within this business process -->
+ <!-- ================================================================= -->
+ <bpel:correlationSets>
+ <bpel:correlationSet name="SSNCorrelationSet"
properties="spl:SSN"></bpel:correlationSet>
+
+ </bpel:correlationSets>
+ <bpel:sequence name="PolicyQuoteSequence">
+
+
+ <bpel:receive name="ReceivePolicyQuoteRequest"
partnerLink="PolicyQuoteProcessService"
operation="PolicyQuoteProcessServiceOp"
portType="orchws:PolicyQuoteProcessServicePortType"
variable="PolicyQuoteRequest" createInstance="yes">
+ <bpel:correlations>
+ <bpel:correlation set="SSNCorrelationSet"
initiate="yes"></bpel:correlation>
+ </bpel:correlations>
+ </bpel:receive>
+ <bpel:assign validate="no"
name="AssignDataForDrivingRecordRequest">
+ <bpel:copy>
+ <bpel:from>
+ <bpel:literal
xml:space="preserve"><ns1:drivingRecordRequest
xmlns:ns1="http://www.example.org/drivingRecord"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <ns1:name></ns1:name>
+ <ns1:ssn></ns1:ssn>
+ <ns1:dlNumber></ns1:dlNumber>
+ <ns1:age></ns1:age>
+</ns1:drivingRecordRequest>
+</bpel:literal>
+ </bpel:from>
+ <bpel:to variable="DrivingRecordRequest"
part="in"></bpel:to>
+ </bpel:copy>
+ <bpel:copy>
+ <bpel:from part="in"
variable="PolicyQuoteRequest">
+ <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[pol:receivePolicyQuote/pol:policyQuoteInfo/pol:driverName]]></bpel:query>
+ </bpel:from>
+ <bpel:to part="in"
variable="DrivingRecordRequest">
+ <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[driv:name]]></bpel:query>
+ </bpel:to>
+ </bpel:copy>
+ <bpel:copy>
+ <bpel:from part="in"
variable="PolicyQuoteRequest">
+ <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[pol:receivePolicyQuote/pol:policyQuoteInfo/pol:ssn]]></bpel:query>
+ </bpel:from>
+ <bpel:to part="in"
variable="DrivingRecordRequest">
+ <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[driv:ssn]]></bpel:query>
+ </bpel:to>
+ </bpel:copy>
+ <bpel:copy>
+ <bpel:from part="in"
variable="PolicyQuoteRequest">
+ <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[pol:receivePolicyQuote/pol:policyQuoteInfo/pol:dlNumber]]></bpel:query>
+ </bpel:from>
+ <bpel:to part="in"
variable="DrivingRecordRequest">
+ <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[driv:dlNumber]]></bpel:query>
+ </bpel:to>
+ </bpel:copy>
+
+ <bpel:copy>
+ <bpel:from part="in"
variable="PolicyQuoteRequest">
+ <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[pol:receivePolicyQuote/pol:policyQuoteInfo/pol:age]]></bpel:query>
+ </bpel:from>
+ <bpel:to part="in"
variable="DrivingRecordRequest">
+ <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[driv:age]]></bpel:query>
+ </bpel:to>
+ </bpel:copy>
+ </bpel:assign>
+ <bpel:invoke name="SendDrivingRecordRequest"
partnerLink="DrivingRecordService" operation="DrivingRecordServiceOp"
portType="dmv:DrivingRecordServicePortType"
inputVariable="DrivingRecordRequest">
+ <bpel:correlations>
+ <bpel:correlation set="SSNCorrelationSet"
initiate="no"></bpel:correlation>
+ </bpel:correlations>
+ </bpel:invoke>
+
+ <bpel:receive name="ReceiveDrivingRecordResponse"
partnerLink="DrivingRecordCallbackService"
operation="DrivingRecordCallbackServiceOp"
portType="drcs:DrivingRecordCallbackServicePortType"
variable="DrivingRecordResponse">
+ <bpel:correlations>
+ <bpel:correlation set="SSNCorrelationSet"
initiate="no"></bpel:correlation>
+ </bpel:correlations>
+ </bpel:receive>
+ <bpel:if name="If">
+
<bpel:condition><![CDATA[$DrivingRecordResponse.in/driv:numberOfTickets <=
4]]></bpel:condition>
+ <bpel:sequence name="OkDriverSequence">
+ <bpel:assign validate="no"
name="AssignDataForCreditCheckRequest">
+ <bpel:copy>
+ <bpel:from>
+ <bpel:literal
xml:space="preserve"><ns2:creditCheckRequest
xmlns:ns2="http://www.example.org/creditCheck"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <ns2:ssn></ns2:ssn>
+</ns2:creditCheckRequest>
+</bpel:literal>
+ </bpel:from>
+ <bpel:to variable="CreditCheckRequest"
part="in"></bpel:to>
+ </bpel:copy>
+ <bpel:copy>
+ <bpel:from part="in"
variable="PolicyQuoteRequest">
+ <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[pol:receivePolicyQuote/pol:policyQuoteInfo/pol:ssn]]></bpel:query>
+ </bpel:from>
+ <bpel:to part="in"
variable="CreditCheckRequest">
+ <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[cred:ssn]]></bpel:query>
+ </bpel:to>
+ </bpel:copy>
+ </bpel:assign>
+ <bpel:invoke name="SendCreditCheckRequest"
partnerLink="CreditCheckService" operation="CreditCheckServiceOp"
portType="cas:CreditCheckServicePortType"
inputVariable="CreditCheckRequest"
outputVariable="CreditCheckResponse"></bpel:invoke>
+ <bpel:assign validate="no"
name="AssignDataForCalculateQuote">
+ <bpel:copy>
+ <bpel:from>
+ <bpel:literal
xml:space="preserve"><ns2:policyQuote
xmlns:ns2="http://www.example.org/policyQuote"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <ns2:calculatePolicyQuote>
+ <ns2:requestDate></ns2:requestDate>
+ <ns2:task></ns2:task>
+ <ns2:policyQuoteInfo>
+ <ns2:policyType></ns2:policyType>
+ <ns2:vehicleYear></ns2:vehicleYear>
+ <ns2:driverName></ns2:driverName>
+ <ns2:ssn></ns2:ssn>
+ <ns2:dlNumber></ns2:dlNumber>
+ <ns2:age></ns2:age>
+ <ns2:numberOfAccidents></ns2:numberOfAccidents>
+ <ns2:numberOfTickets></ns2:numberOfTickets>
+ <ns2:creditScore></ns2:creditScore>
+ </ns2:policyQuoteInfo>
+ </ns2:calculatePolicyQuote>
+</ns2:policyQuote>
+</bpel:literal>
+ </bpel:from>
+ <bpel:to part="in"
variable="PolicyQuoteCalculationRequest">
+<!--
+ <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[pol:calculatePolicyQuote]]></bpel:query>
+-->
+ </bpel:to>
+ </bpel:copy>
+ <bpel:copy>
+ <bpel:from part="in"
variable="PolicyQuoteRequest">
+ <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[pol:receivePolicyQuote/pol:requestDate]]></bpel:query>
+ </bpel:from>
+ <bpel:to part="in"
variable="PolicyQuoteCalculationRequest">
+ <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0">
+
<![CDATA[pol:calculatePolicyQuote/pol:requestDate]]>
+ </bpel:query>
+ </bpel:to>
+ </bpel:copy>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <bpel:copy><bpel:from>
+ <bpel:literal
xml:space="preserve">calculatePolicyQuote</bpel:literal>
+ </bpel:from>
+ <bpel:to part="in"
variable="PolicyQuoteCalculationRequest">
+ <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[pol:calculatePolicyQuote/pol:task]]></bpel:query>
+ </bpel:to>
+
+
+
+
+
+
+
+ </bpel:copy>
+ <bpel:copy><bpel:from part="in"
variable="PolicyQuoteRequest">
+ <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0">
+
<![CDATA[pol:receivePolicyQuote/pol:policyQuoteInfo/pol:policyType]]>
+ </bpel:query>
+ </bpel:from>
+ <bpel:to part="in"
variable="PolicyQuoteCalculationRequest">
+ <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0">
+
<![CDATA[pol:calculatePolicyQuote/pol:policyQuoteInfo/pol:policyType]]>
+ </bpel:query>
+ </bpel:to>
+
+ </bpel:copy>
+ <bpel:copy><bpel:from part="in"
variable="PolicyQuoteRequest">
+ <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[pol:receivePolicyQuote/pol:policyQuoteInfo/pol:vehicleYear]]></bpel:query>
+ </bpel:from>
+ <bpel:to part="in"
variable="PolicyQuoteCalculationRequest">
+ <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0">
+
<![CDATA[pol:calculatePolicyQuote/pol:policyQuoteInfo/pol:vehicleYear]]>
+ </bpel:query>
+ </bpel:to>
+
+ </bpel:copy>
+ <bpel:copy><bpel:from part="in"
variable="PolicyQuoteRequest">
+ <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[pol:receivePolicyQuote/pol:policyQuoteInfo/pol:driverName]]></bpel:query>
+ </bpel:from>
+ <bpel:to part="in"
variable="PolicyQuoteCalculationRequest">
+ <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0">
+
<![CDATA[pol:calculatePolicyQuote/pol:policyQuoteInfo/pol:driverName]]>
+ </bpel:query>
+ </bpel:to>
+
+ </bpel:copy>
+ <bpel:copy><bpel:from part="in"
variable="PolicyQuoteRequest">
+ <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[pol:receivePolicyQuote/pol:policyQuoteInfo/pol:ssn]]></bpel:query>
+ </bpel:from>
+ <bpel:to part="in"
variable="PolicyQuoteCalculationRequest">
+ <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0">
+
<![CDATA[pol:calculatePolicyQuote/pol:policyQuoteInfo/pol:ssn]]>
+ </bpel:query>
+ </bpel:to>
+
+ </bpel:copy>
+ <bpel:copy><bpel:from part="in"
variable="PolicyQuoteRequest">
+ <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[pol:receivePolicyQuote/pol:policyQuoteInfo/pol:dlNumber]]></bpel:query>
+ </bpel:from>
+ <bpel:to part="in"
variable="PolicyQuoteCalculationRequest">
+ <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0">
+
<![CDATA[pol:calculatePolicyQuote/pol:policyQuoteInfo/pol:dlNumber]]>
+ </bpel:query>
+ </bpel:to>
+
+ </bpel:copy>
+ <bpel:copy><bpel:from part="in"
variable="PolicyQuoteRequest">
+ <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[pol:receivePolicyQuote/pol:policyQuoteInfo/pol:age]]></bpel:query>
+ </bpel:from>
+ <bpel:to part="in"
variable="PolicyQuoteCalculationRequest">
+ <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0">
+
<![CDATA[pol:calculatePolicyQuote/pol:policyQuoteInfo/pol:age]]>
+ </bpel:query>
+ </bpel:to>
+
+ </bpel:copy>
+ <bpel:copy><bpel:from part="in"
variable="DrivingRecordResponse">
+ <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[driv:numberOfAccidents]]></bpel:query>
+ </bpel:from>
+ <bpel:to part="in"
variable="PolicyQuoteCalculationRequest">
+ <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0">
+
<![CDATA[pol:calculatePolicyQuote/pol:policyQuoteInfo/pol:numberOfAccidents]]>
+ </bpel:query>
+ </bpel:to>
+
+ </bpel:copy>
+ <bpel:copy><bpel:from part="in"
variable="DrivingRecordResponse">
+ <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[driv:numberOfTickets]]></bpel:query>
+ </bpel:from>
+ <bpel:to part="in"
variable="PolicyQuoteCalculationRequest">
+ <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0">
+
<![CDATA[pol:calculatePolicyQuote/pol:policyQuoteInfo/pol:numberOfTickets]]>
+ </bpel:query>
+ </bpel:to>
+
+ </bpel:copy>
+ <bpel:copy><bpel:from part="out"
variable="CreditCheckResponse">
+ <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[cred:score]]></bpel:query>
+ </bpel:from>
+ <bpel:to part="in"
variable="PolicyQuoteCalculationRequest">
+ <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0">
+
<![CDATA[pol:calculatePolicyQuote/pol:policyQuoteInfo/pol:creditScore]]>
+ </bpel:query>
+ </bpel:to>
+
+ </bpel:copy>
+
+ </bpel:assign>
+ <bpel:invoke name="SendPolicyQuoteCalculationRequest"
partnerLink="PolicyQuoteCalculationService"
operation="PolicyQuoteCalculationServiceOp"
portType="calc:PolicyQuoteCalculationServicePortType"
inputVariable="PolicyQuoteCalculationRequest"
outputVariable="PolicyQuoteCalculationResponse"></bpel:invoke>
+ <bpel:assign validate="no"
name="AssignDataForPolicyQuoteEntityRequest">
+ <bpel:copy>
+ <bpel:from>
+ <bpel:literal
xml:space="preserve"><ns2:policyQuote
xmlns:ns2="http://www.example.org/policyQuote"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <ns2:createPolicyQuote>
+ <ns2:requestDate></ns2:requestDate>
+ <ns2:task></ns2:task>
+ <ns2:policyQuoteInfo>
+ <ns2:policyType></ns2:policyType>
+ <ns2:vehicleYear></ns2:vehicleYear>
+ <ns2:driverName></ns2:driverName>
+ <ns2:ssn></ns2:ssn>
+ <ns2:dlNumber></ns2:dlNumber>
+ <ns2:age></ns2:age>
+ <ns2:numberOfAccidents></ns2:numberOfAccidents>
+ <ns2:numberOfTickets></ns2:numberOfTickets>
+ <ns2:creditScore></ns2:creditScore>
+ </ns2:policyQuoteInfo>
+ </ns2:createPolicyQuote>
+</ns2:policyQuote>
+</bpel:literal>
+ </bpel:from>
+ <bpel:to variable="PolicyQuoteEntityRequest"
part="in"></bpel:to>
+ </bpel:copy>
+ <bpel:copy>
+ <bpel:from part="out"
variable="PolicyQuoteCalculationResponse">
+ <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[pol:calculatePolicyQuote/pol:requestDate]]></bpel:query>
+ </bpel:from>
+ <bpel:to part="in"
variable="PolicyQuoteEntityRequest">
+ <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[pol:createPolicyQuote/pol:requestDate]]></bpel:query>
+ </bpel:to>
+ </bpel:copy>
+
+
+ <bpel:copy><bpel:from>
+ <bpel:literal
xml:space="preserve">createPolicyQuote</bpel:literal>
+ </bpel:from>
+ <bpel:to part="in"
variable="PolicyQuoteEntityRequest">
+ <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[pol:createPolicyQuote/pol:task]]></bpel:query>
+ </bpel:to>
+
+ </bpel:copy>
+ <bpel:copy><bpel:from part="out"
variable="PolicyQuoteCalculationResponse">
+ <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[pol:calculatePolicyQuote/pol:policyQuoteInfo]]></bpel:query>
+ </bpel:from>
+ <bpel:to part="in"
variable="PolicyQuoteEntityRequest">
+ <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[pol:createPolicyQuote/pol:policyQuoteInfo]]></bpel:query>
+ </bpel:to>
+
+ </bpel:copy>
+ </bpel:assign>
+ <bpel:invoke name="SendPolicyQuoteEntityRequest"
partnerLink="PolicyQuoteEntityService"
operation="PolicyQuoteEntityServiceOp"
portType="polent:PolicyQuoteEntityServicePortType"
inputVariable="PolicyQuoteEntityRequest"
outputVariable="PolicyQuoteEntityResponse"></bpel:invoke>
+
+ <bpel:assign validate="no"
name="AssignDataForReply">
+
+
+
+
+
+
+
+
+ <bpel:copy><bpel:from>
+ <bpel:literal xml:space="preserve">
<pol:policyQuote>
+ <pol:receivePolicyQuote>
+ <pol:requestDate>2010-01-01</pol:requestDate>
+ <pol:task>receivePolicyQuote</pol:task>
+ <pol:policyQuoteInfo>
+ <pol:policyType>AUTO</pol:policyType>
+ <pol:vehicleYear>2004</pol:vehicleYear>
+ <pol:driverName>Bob</pol:driverName>
+ <pol:ssn>123456789</pol:ssn>
+ <pol:dlNumber>987654321</pol:dlNumber>
+ <pol:age>30</pol:age>
+ <pol:numberOfAccidents>0</pol:numberOfAccidents>
+ <pol:numberOfTickets>0</pol:numberOfTickets>
+ <pol:creditScore>0</pol:creditScore>
+ <pol:price>0</pol:price>
+ </pol:policyQuoteInfo>
+ </pol:receivePolicyQuote>
+ </pol:policyQuote></bpel:literal>
+ </bpel:from><bpel:to part="out"
variable="PolicyQuoteResponse"></bpel:to>
+
+
+
+ </bpel:copy>
+ <bpel:copy><bpel:from part="out"
variable="PolicyQuoteEntityResponse">
+ <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[pol:createPolicyQuote/pol:requestDate]]></bpel:query>
+ </bpel:from>
+ <bpel:to part="out"
variable="PolicyQuoteResponse">
+ <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[pol:receivePolicyQuote/pol:requestDate]]></bpel:query>
+ </bpel:to>
+
+ </bpel:copy>
+ <bpel:copy><bpel:from>
+ <bpel:literal
xml:space="preserve">requestPolicyQuote</bpel:literal>
+ </bpel:from>
+ <bpel:to part="out"
variable="PolicyQuoteResponse">
+ <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[pol:receivePolicyQuote/pol:task]]></bpel:query>
+ </bpel:to>
+
+ </bpel:copy>
+ <bpel:copy><bpel:from part="out"
variable="PolicyQuoteEntityResponse">
+ <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[pol:createPolicyQuote/pol:policyQuoteInfo]]></bpel:query>
+ </bpel:from>
+ <bpel:to part="out"
variable="PolicyQuoteResponse">
+ <bpel:query
queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0"><![CDATA[pol:receivePolicyQuote/pol:policyQuoteInfo]]></bpel:query>
+ </bpel:to>
+
+ </bpel:copy>
+ </bpel:assign>
+ </bpel:sequence>
+ </bpel:if>
+ <bpel:reply name="SendPolicyQuoteResponse"
partnerLink="PolicyQuoteProcessService"
operation="PolicyQuoteProcessServiceOp"
portType="orchws:PolicyQuoteProcessServicePortType"
variable="PolicyQuoteResponse">
+ <bpel:correlations>
+ <bpel:correlation set="SSNCorrelationSet"
initiate="no"></bpel:correlation>
+ </bpel:correlations>
+ </bpel:reply>
+ </bpel:sequence>
+</bpel:process>
+
Added:
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/CreditCheckService.wsdl
===================================================================
---
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/CreditCheckService.wsdl
(rev 0)
+++
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/CreditCheckService.wsdl 2010-03-09
18:42:49 UTC (rev 549)
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions
targetNamespace="http://soa.jboss.org/CreditAgencyServices"
xmlns:ns2="http://www.example.org/creditCheck"
xmlns:ns1="http://www.example.org/creditCheck"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="http://soa.jboss.org/CreditAgencyServices"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
+ <wsdl:types>
+ <schema elementFormDefault="qualified"
targetNamespace="http://www.example.org/creditCheck"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:cred="http://www.example.org/creditCheck">
+
+ <element name="creditCheckRequest"
type="cred:creditCheckRequestType">
+ </element>
+
+ <complexType name="creditCheckRequestType">
+ <sequence>
+ <element name="ssn" type="string"/>
+ </sequence>
+ </complexType>
+</schema>
+ <schema elementFormDefault="qualified"
targetNamespace="http://www.example.org/creditCheck"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:cred="http://www.example.org/creditCheck">
+
+ <element name="creditCheckResponse"
type="cred:creditCheckResponseType">
+ </element>
+
+ <complexType name="creditCheckResponseType">
+ <sequence>
+ <element name="ssn" type="string"/>
+ <element name="score" type="int"/>
+ </sequence>
+ </complexType>
+</schema>
+ </wsdl:types>
+ <wsdl:message name="CreditCheckServiceReq">
+ <wsdl:part name="in" element="ns2:creditCheckRequest">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="CreditCheckServiceRes">
+ <wsdl:part name="out" element="ns2:creditCheckResponse">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:portType name="CreditCheckServicePortType">
+ <wsdl:operation name="CreditCheckServiceOp">
+ <wsdl:input name="CreditCheckServiceReq"
message="tns:CreditCheckServiceReq">
+ </wsdl:input>
+ <wsdl:output name="CreditCheckServiceRes"
message="tns:CreditCheckServiceRes">
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="CreditCheckServiceBinding"
type="tns:CreditCheckServicePortType">
+ <soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="CreditCheckServiceOp">
+ <soap:operation
soapAction="http://soa.jboss.org/CreditAgencyServices/CreditCheckSer...
+ <wsdl:input name="CreditCheckServiceReq">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="CreditCheckServiceRes">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="CreditCheckServiceService">
+ <wsdl:port name="CreditCheckServicePortType"
binding="tns:CreditCheckServiceBinding">
+ <soap:address
location="http://localhost:8080/CreditCheckService/ebws/CreditAgencyServices/CreditCheckService"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
Added:
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/DrivingRecordCallbackService.wsdl
===================================================================
---
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/DrivingRecordCallbackService.wsdl
(rev 0)
+++
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/DrivingRecordCallbackService.wsdl 2010-03-09
18:42:49 UTC (rev 549)
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions
targetNamespace="http://soa.jboss.org/CallbackServices"
xmlns:tns="http://soa.jboss.org/CallbackServices"
xmlns:ns1="http://www.example.org/drivingRecord"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+ <wsdl:types>
+ <schema elementFormDefault="qualified"
targetNamespace="http://www.example.org/drivingRecord"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:driv="http://www.example.org/drivingRecord">
+
+
+ <element name="drivingRecordResponse"
type="driv:DrivingRecordResponseType">
+ </element>
+
+ <complexType name="DrivingRecordResponseType">
+ <sequence>
+ <element name="name" type="string"/>
+ <element name="ssn" type="string"/>
+ <element name="dlNumber" type="string"/>
+ <element name="age" type="string"/>
+ <element name="numberOfTickets" type="string"/>
+ <element name="numberOfAccidents" type="string"/>
+ </sequence>
+ </complexType>
+
+</schema>
+ </wsdl:types>
+ <wsdl:message name="DrivingRecordCallbackServiceReq">
+ <wsdl:part name="in" element="ns1:drivingRecordResponse">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:portType name="DrivingRecordCallbackServicePortType">
+ <wsdl:operation name="DrivingRecordCallbackServiceOp">
+ <wsdl:input name="DrivingRecordCallbackServiceReq"
message="tns:DrivingRecordCallbackServiceReq">
+ </wsdl:input>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="DrivingRecordCallbackServiceBinding"
type="tns:DrivingRecordCallbackServicePortType">
+ <soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="DrivingRecordCallbackServiceOp">
+ <soap:operation
soapAction="http://soa.jboss.org/CallbackServices/DrivingRecordCallb...
+ <wsdl:input name="DrivingRecordCallbackServiceReq">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="DrivingRecordCallbackServiceService">
+ <wsdl:port name="DrivingRecordCallbackServicePortType"
binding="tns:DrivingRecordCallbackServiceBinding">
+ <soap:address
location="http://localhost:8080/DrivingRecordCallbackService"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
Added:
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/DrivingRecordService.wsdl
===================================================================
---
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/DrivingRecordService.wsdl
(rev 0)
+++
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/DrivingRecordService.wsdl 2010-03-09
18:42:49 UTC (rev 549)
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions
targetNamespace="http://soa.jboss.org/ExternalService"
xmlns:tns="http://soa.jboss.org/ExternalService"
xmlns:ns1="http://www.example.org/drivingRecord"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+ <wsdl:types>
+ <schema elementFormDefault="qualified"
targetNamespace="http://www.example.org/drivingRecord"
xmlns="http://www.w3.org/2001/XMLSchema"
xmlns:driv="http://www.example.org/drivingRecord">
+
+
+ <element name="drivingRecordRequest"
type="driv:DrivingRecordRequestType">
+ </element>
+
+ <complexType name="DrivingRecordRequestType">
+ <sequence>
+ <element name="name" type="string"/>
+ <element name="ssn" type="string"/>
+ <element name="dlNumber" type="string"/>
+ <element name="age" type="string"/>
+ </sequence>
+ </complexType>
+</schema>
+ </wsdl:types>
+ <wsdl:message name="DrivingRecordServiceReq">
+ <wsdl:part name="in" element="ns1:drivingRecordRequest">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:portType name="DrivingRecordServicePortType">
+ <wsdl:operation name="DrivingRecordServiceOp">
+ <wsdl:input name="DrivingRecordServiceReq"
message="tns:DrivingRecordServiceReq">
+ </wsdl:input>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="DrivingRecordServiceBinding"
type="tns:DrivingRecordServicePortType">
+ <soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="DrivingRecordServiceOp">
+ <soap:operation
soapAction="http://soa.jboss.org/ExternalService/DrivingRecordServic...
+ <wsdl:input name="DrivingRecordServiceReq">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="DrivingRecordServiceService">
+ <wsdl:port name="DrivingRecordServicePortType"
binding="tns:DrivingRecordServiceBinding">
+ <soap:address
location="http://localhost:8080/DrivingRecordService/ExternalService/DrivingRecordService"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
Added:
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/PolicyQuoteCalculationService.wsdl
===================================================================
---
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/PolicyQuoteCalculationService.wsdl
(rev 0)
+++
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/PolicyQuoteCalculationService.wsdl 2010-03-09
18:42:49 UTC (rev 549)
@@ -0,0 +1,295 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions
targetNamespace="http://soa.jboss.org/TaskServices"
xmlns:ns2="http://www.example.org/policyQuote"
xmlns:ns1="http://www.example.org/policyQuote"
xmlns:ns3="http://www.example.org/policyQuote"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="http://soa.jboss.org/TaskServices"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
+ <wsdl:types>
+ <xs:schema elementFormDefault="qualified"
targetNamespace="http://www.example.org/policyQuote"
xmlns:pol="http://www.example.org/policyQuote"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+ <xs:include schemaLocation="./types/policyQuoteBase.xsd"/>
+
+ <xs:element name="policyQuote">
+ <xs:complexType>
+ <xs:choice maxOccurs="1" minOccurs="1">
+ <xs:element name="receivePolicyQuote"
type="pol:ReceivePolicyQuoteType"/>
+ <xs:element name="createPolicyQuote"
type="pol:CreatePolicyQuoteType"/>
+ <xs:element name="deletePolicyQuote"
type="pol:DeletePolicyQuoteType"/>
+ <xs:element name="getPolicyQuote"
type="pol:GetPolicyQuoteType"/>
+ <xs:element name="calculatePolicyQuote"
type="pol:CalculatePolicyQuoteType"/>
+ </xs:choice>
+ </xs:complexType>
+ </xs:element>
+
+
+ <xs:complexType name="ReceivePolicyQuoteType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="receivePolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteInfo"
type="pol:PolicyQuoteInfoType"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:complexType name="CreatePolicyQuoteType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="createPolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteInfo"
type="pol:PolicyQuoteInfoType"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:complexType name="GetPolicyQuoteType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="getPolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteID" type="xs:integer"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+
+ <xs:complexType name="DeletePolicyQuoteType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="deletePolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteID" type="xs:integer"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+
+ <xs:complexType name="CalculatePolicyQuoteType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="calculatePolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteInfo"
type="pol:PolicyQuoteInfoType"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+</xs:schema>
+ <xs:schema elementFormDefault="qualified"
targetNamespace="http://www.example.org/policyQuote"
xmlns:pol="http://www.example.org/policyQuote"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+ <xs:include schemaLocation="./types/policyQuoteBase.xsd"/>
+
+ <xs:element name="policyQuoteReply">
+ <xs:complexType>
+ <xs:choice maxOccurs="1" minOccurs="1">
+ <xs:element name="receivePolicyQuote"
type="pol:ReceivePolicyQuoteReplyType"/>
+ <xs:element name="createPolicyQuote"
type="pol:CreatePolicyQuoteReplyType"/>
+ <xs:element name="deletePolicyQuote"
type="pol:DeletePolicyQuoteReplyType"/>
+ <xs:element name="getPolicyQuote"
type="pol:GetPolicyQuoteReplyType"/>
+ <xs:element name="calculatePolicyQuote"
type="pol:CalculatePolicyQuoteReplyType"/>
+ </xs:choice>
+ </xs:complexType>
+ </xs:element>
+
+
+ <xs:complexType name="ReceivePolicyQuoteReplyType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="receivePolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteInfo"
type="pol:PolicyQuoteInfoType"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+
+ <xs:complexType name="CreatePolicyQuoteReplyType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="createPolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteID" type="xs:integer"/>
+ <xs:element name="policyQuoteInfo"
type="pol:PolicyQuoteInfoType"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+
+ <xs:complexType name="GetPolicyQuoteReplyType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="getPolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteID" type="xs:integer"/>
+ <xs:element name="policyQuoteInfo"
type="pol:PolicyQuoteInfoType"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+
+ <xs:complexType name="DeletePolicyQuoteReplyType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="deletePolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteID" type="xs:integer"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+
+ <xs:complexType name="CalculatePolicyQuoteReplyType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="calculatePolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteInfo"
type="pol:PolicyQuoteInfoType"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+</xs:schema>
+ <xs:schema elementFormDefault="qualified"
targetNamespace="http://www.example.org/policyQuote"
xmlns:pol="http://www.example.org/policyQuote"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+ <xs:include schemaLocation="./types/policyQuoteBase.xsd"/>
+
+ <xs:element name="policyQuoteFault">
+ <xs:complexType>
+ <xs:choice maxOccurs="1" minOccurs="1">
+ <xs:element name="policyQuoteFault"
type="pol:PolicyQuoteFaultType"/>
+ </xs:choice>
+ </xs:complexType>
+ </xs:element>
+
+
+ <xs:complexType name="PolicyQuoteFaultType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="receivePolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteFault"
type="pol:PolicyQuoteFaultType">
+ </xs:element>
+ <xs:element name="policyQuoteInfo"
type="pol:PolicyQuoteInfoType"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+
+</xs:schema>
+ </wsdl:types>
+ <wsdl:message name="PolicyQuoteCalculationServiceReq">
+ <wsdl:part name="in" element="ns2:policyQuote">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="PolicyQuoteCalculationServiceRes">
+ <wsdl:part name="out" element="ns2:policyQuoteReply">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="PolicyQuoteCalculationServiceFault1">
+ <wsdl:part name="fault1" element="ns2:policyQuoteFault">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:portType name="PolicyQuoteCalculationServicePortType">
+ <wsdl:operation name="PolicyQuoteCalculationServiceOp">
+ <wsdl:input name="PolicyQuoteCalculationServiceReq"
message="tns:PolicyQuoteCalculationServiceReq">
+ </wsdl:input>
+ <wsdl:output name="PolicyQuoteCalculationServiceRes"
message="tns:PolicyQuoteCalculationServiceRes">
+ </wsdl:output>
+ <wsdl:fault name="fault1"
message="tns:PolicyQuoteCalculationServiceFault1">
+ </wsdl:fault>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="PolicyQuoteCalculationServiceBinding"
type="tns:PolicyQuoteCalculationServicePortType">
+ <soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="PolicyQuoteCalculationServiceOp">
+ <soap:operation
soapAction="http://soa.jboss.org/TaskServices/PolicyQuoteCalculation...
+ <wsdl:input name="PolicyQuoteCalculationServiceReq">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="PolicyQuoteCalculationServiceRes">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="fault1">
+ <soap:fault name="fault1" use="literal"/>
+ </wsdl:fault>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="PolicyQuoteCalculationServiceService">
+ <wsdl:port name="PolicyQuoteCalculationServicePortType"
binding="tns:PolicyQuoteCalculationServiceBinding">
+ <soap:address
location="http://localhost:8080/PolicyQuoteCalculationService/ebws/TaskServices/PolicyQuoteCalculationService"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
Added:
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/PolicyQuoteEntityService.wsdl
===================================================================
---
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/PolicyQuoteEntityService.wsdl
(rev 0)
+++
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/PolicyQuoteEntityService.wsdl 2010-03-09
18:42:49 UTC (rev 549)
@@ -0,0 +1,295 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions
targetNamespace="http://soa.jboss.org/EntityServices"
xmlns:ns2="http://www.example.org/policyQuote"
xmlns:ns1="http://www.example.org/policyQuote"
xmlns:ns3="http://www.example.org/policyQuote"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="http://soa.jboss.org/EntityServices"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
+ <wsdl:types>
+ <xs:schema elementFormDefault="qualified"
targetNamespace="http://www.example.org/policyQuote"
xmlns:pol="http://www.example.org/policyQuote"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+ <xs:include schemaLocation="./types/policyQuoteBase.xsd"/>
+
+ <xs:element name="policyQuote">
+ <xs:complexType>
+ <xs:choice maxOccurs="1" minOccurs="1">
+ <xs:element name="receivePolicyQuote"
type="pol:ReceivePolicyQuoteType"/>
+ <xs:element name="createPolicyQuote"
type="pol:CreatePolicyQuoteType"/>
+ <xs:element name="deletePolicyQuote"
type="pol:DeletePolicyQuoteType"/>
+ <xs:element name="getPolicyQuote"
type="pol:GetPolicyQuoteType"/>
+ <xs:element name="calculatePolicyQuote"
type="pol:CalculatePolicyQuoteType"/>
+ </xs:choice>
+ </xs:complexType>
+ </xs:element>
+
+
+ <xs:complexType name="ReceivePolicyQuoteType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="receivePolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteInfo"
type="pol:PolicyQuoteInfoType"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:complexType name="CreatePolicyQuoteType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="createPolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteInfo"
type="pol:PolicyQuoteInfoType"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:complexType name="GetPolicyQuoteType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="getPolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteID" type="xs:integer"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+
+ <xs:complexType name="DeletePolicyQuoteType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="deletePolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteID" type="xs:integer"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+
+ <xs:complexType name="CalculatePolicyQuoteType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="calculatePolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteInfo"
type="pol:PolicyQuoteInfoType"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+</xs:schema>
+ <xs:schema elementFormDefault="qualified"
targetNamespace="http://www.example.org/policyQuote"
xmlns:pol="http://www.example.org/policyQuote"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+ <xs:include schemaLocation="./types/policyQuoteBase.xsd"/>
+
+ <xs:element name="policyQuoteReply">
+ <xs:complexType>
+ <xs:choice maxOccurs="1" minOccurs="1">
+ <xs:element name="receivePolicyQuote"
type="pol:ReceivePolicyQuoteReplyType"/>
+ <xs:element name="createPolicyQuote"
type="pol:CreatePolicyQuoteReplyType"/>
+ <xs:element name="deletePolicyQuote"
type="pol:DeletePolicyQuoteReplyType"/>
+ <xs:element name="getPolicyQuote"
type="pol:GetPolicyQuoteReplyType"/>
+ <xs:element name="calculatePolicyQuote"
type="pol:CalculatePolicyQuoteReplyType"/>
+ </xs:choice>
+ </xs:complexType>
+ </xs:element>
+
+
+ <xs:complexType name="ReceivePolicyQuoteReplyType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="receivePolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteInfo"
type="pol:PolicyQuoteInfoType"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+
+ <xs:complexType name="CreatePolicyQuoteReplyType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="createPolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteID" type="xs:integer"/>
+ <xs:element name="policyQuoteInfo"
type="pol:PolicyQuoteInfoType"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+
+ <xs:complexType name="GetPolicyQuoteReplyType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="getPolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteID" type="xs:integer"/>
+ <xs:element name="policyQuoteInfo"
type="pol:PolicyQuoteInfoType"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+
+ <xs:complexType name="DeletePolicyQuoteReplyType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="deletePolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteID" type="xs:integer"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+
+ <xs:complexType name="CalculatePolicyQuoteReplyType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="calculatePolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteInfo"
type="pol:PolicyQuoteInfoType"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+</xs:schema>
+ <xs:schema elementFormDefault="qualified"
targetNamespace="http://www.example.org/policyQuote"
xmlns:pol="http://www.example.org/policyQuote"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+ <xs:include schemaLocation="./types/policyQuoteBase.xsd"/>
+
+ <xs:element name="policyQuoteFault">
+ <xs:complexType>
+ <xs:choice maxOccurs="1" minOccurs="1">
+ <xs:element name="policyQuoteFault"
type="pol:PolicyQuoteFaultType"/>
+ </xs:choice>
+ </xs:complexType>
+ </xs:element>
+
+
+ <xs:complexType name="PolicyQuoteFaultType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="receivePolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteFault"
type="pol:PolicyQuoteFaultType">
+ </xs:element>
+ <xs:element name="policyQuoteInfo"
type="pol:PolicyQuoteInfoType"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+
+</xs:schema>
+ </wsdl:types>
+ <wsdl:message name="PolicyQuoteEntityServiceReq">
+ <wsdl:part name="in" element="ns2:policyQuote">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="PolicyQuoteEntityServiceFault1">
+ <wsdl:part name="fault1" element="ns2:policyQuoteFault">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="PolicyQuoteEntityServiceRes">
+ <wsdl:part name="out" element="ns2:policyQuoteReply">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:portType name="PolicyQuoteEntityServicePortType">
+ <wsdl:operation name="PolicyQuoteEntityServiceOp">
+ <wsdl:input name="PolicyQuoteEntityServiceReq"
message="tns:PolicyQuoteEntityServiceReq">
+ </wsdl:input>
+ <wsdl:output name="PolicyQuoteEntityServiceRes"
message="tns:PolicyQuoteEntityServiceRes">
+ </wsdl:output>
+ <wsdl:fault name="fault1"
message="tns:PolicyQuoteEntityServiceFault1">
+ </wsdl:fault>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="PolicyQuoteEntityServiceBinding"
type="tns:PolicyQuoteEntityServicePortType">
+ <soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="PolicyQuoteEntityServiceOp">
+ <soap:operation
soapAction="http://soa.jboss.org/EntityServices/PolicyQuoteEntitySer...
+ <wsdl:input name="PolicyQuoteEntityServiceReq">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="PolicyQuoteEntityServiceRes">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="fault1">
+ <soap:fault name="fault1" use="literal"/>
+ </wsdl:fault>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="PolicyQuoteEntityServiceService">
+ <wsdl:port name="PolicyQuoteEntityServicePortType"
binding="tns:PolicyQuoteEntityServiceBinding">
+ <soap:address
location="http://localhost:8080/PolicyQuoteEntityService/ebws/EntityServices/PolicyQuoteEntityService"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
Added:
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/PolicyQuoteProcess.bpel
===================================================================
---
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/PolicyQuoteProcess.bpel
(rev 0)
+++
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/PolicyQuoteProcess.bpel 2010-03-09
18:42:49 UTC (rev 549)
@@ -0,0 +1,97 @@
+<!-- PolicyQuoteProcess BPEL Process [Generated by the Eclipse BPEL Designer] -->
+<!-- Date: Thu Dec 03 16:03:20 MST 2009 -->
+<bpel:process name="PolicyQuoteProcess"
+
targetNamespace="http://eclipse.org/bpel/sample"
+ suppressJoinFailure="yes"
+
xmlns:tns="http://eclipse.org/bpel/sample"
+
xmlns:bpel="http://docs.oasis-open.org/wsbpel/2.0/process/executable...
+
xmlns:spl="http://eclipse.org/bpel/sampleArtifacts"
xmlns:orchws="http://soa.jboss.org/OrchestratedServices"
xmlns:cas="http://soa.jboss.org/CreditAgencyServices"
xmlns:dmv="http://soa.jboss.org/ExternalService"
xmlns:drcs="http://soa.jboss.org/CallbackServices"
xmlns:calc="http://soa.jboss.org/TaskServices"
xmlns:polent="http://soa.jboss.org/EntityServices"
xmlns:pol="http://www.example.org/policyQuote"
xmlns:driv="http://www.example.org/drivingRecord"
xmlns:cred="http://www.example.org/creditCheck"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+ <!-- ================================================================= -->
+ <!-- PARTNERLINKS -->
+ <!-- List of services participating in this BPEL process -->
+ <!-- ================================================================= -->
+ <bpel:import
namespace="http://soa.jboss.org/EntityServices"
location="PolicyQuoteEntityService.wsdl"
importType="http://schemas.xmlsoap.org/wsdl/"></bpel:impo...
+ <bpel:import
namespace="http://soa.jboss.org/TaskServices"
location="PolicyQuoteCalculationService.wsdl"
importType="http://schemas.xmlsoap.org/wsdl/"></bpel:impo...
+ <bpel:import
namespace="http://soa.jboss.org/CallbackServices"
location="DrivingRecordCallbackService.wsdl"
importType="http://schemas.xmlsoap.org/wsdl/"></bpel:impo...
+ <bpel:import
namespace="http://soa.jboss.org/ExternalService"
location="DrivingRecordService.wsdl"
importType="http://schemas.xmlsoap.org/wsdl/"></bpel:impo...
+ <bpel:import
namespace="http://soa.jboss.org/CreditAgencyServices"
location="CreditCheckService.wsdl"
importType="http://schemas.xmlsoap.org/wsdl/"></bpel:impo...
+ <bpel:import
namespace="http://soa.jboss.org/OrchestratedServices"
location="PolicyQuoteProcessService.wsdl"
importType="http://schemas.xmlsoap.org/wsdl/"></bpel:impo...
+ <bpel:import
namespace="http://eclipse.org/bpel/sampleArtifacts"
location="PolicyQuoteProcessArtifacts.wsdl"
importType="http://schemas.xmlsoap.org/wsdl/"></bpel:impo...
+ <bpel:partnerLinks>
+ <bpel:partnerLink name="CreditCheckService"
partnerLinkType="spl:CreditCheckServiceLT"
partnerRole="CreditCheckServiceRole"></bpel:partnerLink>
+ <bpel:partnerLink name="DrivingRecordService"
partnerLinkType="spl:DrivingRecordServiceLT"
partnerRole="DrivingRecordServiceRole"></bpel:partnerLink>
+ <bpel:partnerLink name="PolicyQuoteCalculationService"
partnerLinkType="spl:PolicyQuoteCalculationServiceLT"
partnerRole="PolicyQuoteCalculationServiceRole"></bpel:partnerLink>
+ <bpel:partnerLink name="PolicyQuoteEntityService"
partnerLinkType="spl:PolicyQuoteEntityServiceLT"
partnerRole="PolicyQuoteEntityServiceRole"></bpel:partnerLink>
+ <bpel:partnerLink name="DrivingRecordCallbackService"
partnerLinkType="spl:DrivingRecordCallbackServiceLT"
myRole="DrivingRecordCallbackServiceRole"></bpel:partnerLink>
+
+ <bpel:partnerLink name="PolicyQuoteProcessService"
partnerLinkType="spl:PolicyQuoteProcessServiceLT"
myRole="PolicyQuoteProcessServiceRole"></bpel:partnerLink>
+ </bpel:partnerLinks>
+
+ <!-- ================================================================= -->
+ <!-- VARIABLES -->
+ <!-- List of messages and XML documents used within this BPEL process -->
+ <!-- ================================================================= -->
+ <bpel:variables>
+ <bpel:variable name="PolicyQuoteRequest"
messageType="orchws:PolicyQuoteProcessServiceReq"></bpel:variable>
+ <bpel:variable name="PolicyQuoteResponse"
messageType="orchws:PolicyQuoteProcessServiceRes"></bpel:variable>
+ <bpel:variable name="CreditCheckRequest"
messageType="cas:CreditCheckServiceReq"></bpel:variable>
+ <bpel:variable name="CreditCheckResponse"
messageType="cas:CreditCheckServiceRes"></bpel:variable>
+ <bpel:variable name="DrivingRecordRequest"
messageType="dmv:DrivingRecordServiceReq"></bpel:variable>
+ <bpel:variable name="DrivingRecordResponse"
messageType="drcs:DrivingRecordCallbackServiceReq"></bpel:variable>
+ <bpel:variable name="PolicyQuoteCalculationRequest"
messageType="calc:PolicyQuoteCalculationServiceReq"></bpel:variable>
+ <bpel:variable name="PolicyQuoteCalculationResponse"
messageType="calc:PolicyQuoteCalculationServiceRes"></bpel:variable>
+ <bpel:variable name="PolicyQuoteEntityRequest"
messageType="polent:PolicyQuoteEntityServiceReq"></bpel:variable>
+ <bpel:variable name="PolicyQuoteEntityResponse"
messageType="polent:PolicyQuoteEntityServiceRes"></bpel:variable>
+ <bpel:variable name="PolicyQuoteFault"
messageType="orchws:PolicyQuoteProcessServiceFault1"></bpel:variable>
+ </bpel:variables>
+
+ <!-- ================================================================= -->
+ <!-- ORCHESTRATION LOGIC -->
+ <!-- Set of activities coordinating the flow of messages across the -->
+ <!-- services integrated within this business process -->
+ <!-- ================================================================= -->
+ <bpel:correlationSets>
+ <bpel:correlationSet name="SSNCorrelationSet"
properties="spl:SSN"></bpel:correlationSet>
+
+ </bpel:correlationSets>
+ <bpel:sequence name="PolicyQuoteSequence">
+
+
+ <bpel:receive name="ReceivePolicyQuoteRequest"
partnerLink="PolicyQuoteProcessService"
operation="PolicyQuoteProcessServiceOp"
portType="orchws:PolicyQuoteProcessServicePortType"
variable="PolicyQuoteRequest" createInstance="yes">
+ <bpel:correlations>
+ <bpel:correlation set="SSNCorrelationSet"
initiate="yes"></bpel:correlation>
+ </bpel:correlations>
+ </bpel:receive>
+
+ <bpel:assign validate="no" name="AssignDataForReply">
+ <bpel:copy><bpel:from>
+ <bpel:literal xml:space="preserve">
<pol:policyQuote>
+ <pol:receivePolicyQuote>
+ <pol:requestDate>2010-01-01</pol:requestDate>
+ <pol:task>receivePolicyQuote</pol:task>
+ <pol:policyQuoteInfo>
+ <pol:policyType>AUTO</pol:policyType>
+ <pol:vehicleYear>2004</pol:vehicleYear>
+ <pol:driverName>Bob</pol:driverName>
+ <pol:ssn>123456789</pol:ssn>
+ <pol:dlNumber>987654321</pol:dlNumber>
+ <pol:age>30</pol:age>
+ <pol:numberOfAccidents>0</pol:numberOfAccidents>
+ <pol:numberOfTickets>0</pol:numberOfTickets>
+ <pol:creditScore>0</pol:creditScore>
+ <pol:price>0</pol:price>
+ </pol:policyQuoteInfo>
+ </pol:receivePolicyQuote>
+ </pol:policyQuote></bpel:literal>
+ </bpel:from><bpel:to part="out"
variable="PolicyQuoteResponse"></bpel:to>
+ </bpel:copy>
+ </bpel:assign>
+ <bpel:reply name="SendPolicyQuoteResponse"
partnerLink="PolicyQuoteProcessService"
operation="PolicyQuoteProcessServiceOp"
portType="orchws:PolicyQuoteProcessServicePortType"
variable="PolicyQuoteResponse">
+ <bpel:correlations>
+ <bpel:correlation set="SSNCorrelationSet"
initiate="no"></bpel:correlation>
+ </bpel:correlations>
+ </bpel:reply>
+ </bpel:sequence>
+</bpel:process>
+
Added:
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/PolicyQuoteProcessArtifacts.wsdl
===================================================================
---
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/PolicyQuoteProcessArtifacts.wsdl
(rev 0)
+++
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/PolicyQuoteProcessArtifacts.wsdl 2010-03-09
18:42:49 UTC (rev 549)
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"
standalone="no"?>
+<definitions
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:driv="http://www.example.org/drivingRecord"
xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
xmlns:pol="http://www.example.org/policyQuote"
xmlns:tns="http://eclipse.org/bpel/sampleArtifacts"
xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop"
xmlns:wsdl="http://soa.jboss.org/CreditAgencyServices"
xmlns:wsdl1="http://soa.jboss.org/ExternalService"
xmlns:wsdl2="http://soa.jboss.org/TaskServices"
xmlns:wsdl3="http://soa.jboss.org/EntityServices"
xmlns:wsdl4="http://soa.jboss.org/CallbackServices"
xmlns:wsdl5="http://soa.jboss.org/OrchestratedServices"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
name="PolicyQuoteProcessArtifacts"
targetNamespace="http://eclipse.org/bpel/sampleArtifacts">
+ <plnk:partnerLinkType name="CreditCheckServiceLT">
+ <plnk:role name="CreditCheckServiceRole"
portType="wsdl:CreditCheckServicePortType"/>
+ </plnk:partnerLinkType>
+ <plnk:partnerLinkType name="DrivingRecordServiceLT">
+ <plnk:role name="DrivingRecordServiceRole"
portType="wsdl1:DrivingRecordServicePortType"/>
+ </plnk:partnerLinkType>
+ <plnk:partnerLinkType name="PolicyQuoteCalculationServiceLT">
+ <plnk:role name="PolicyQuoteCalculationServiceRole"
portType="wsdl2:PolicyQuoteCalculationServicePortType"/>
+ </plnk:partnerLinkType>
+ <plnk:partnerLinkType name="PolicyQuoteEntityServiceLT">
+ <plnk:role name="PolicyQuoteEntityServiceRole"
portType="wsdl3:PolicyQuoteEntityServicePortType"/>
+ </plnk:partnerLinkType>
+ <plnk:partnerLinkType name="DrivingRecordCallbackServiceLT">
+ <plnk:role name="DrivingRecordCallbackServiceRole"
portType="wsdl4:DrivingRecordCallbackServicePortType"/>
+ </plnk:partnerLinkType>
+ <plnk:partnerLinkType name="PolicyQuoteProcessServiceLT">
+ <plnk:role name="PolicyQuoteProcessServiceRole"
portType="wsdl5:PolicyQuoteProcessServicePortType"/>
+ </plnk:partnerLinkType>
+ <vprop:property name="SSN" type="xsd:string"/>
+ <vprop:propertyAlias messageType="wsdl5:PolicyQuoteProcessServiceReq"
part="in" propertyName="tns:SSN">
+
<vprop:query><![CDATA[/pol:receivePolicyQuote/pol:policyQuoteInfo/pol:ssn]]></vprop:query>
+ </vprop:propertyAlias>
+ <vprop:propertyAlias messageType="wsdl4:DrivingRecordCallbackServiceReq"
part="in" propertyName="tns:SSN">
+ <vprop:query><![CDATA[/driv:ssn]]></vprop:query>
+ </vprop:propertyAlias>
+ <vprop:propertyAlias messageType="wsdl1:DrivingRecordServiceReq"
part="in" propertyName="tns:SSN">
+ <vprop:query><![CDATA[/driv:ssn]]></vprop:query>
+ </vprop:propertyAlias>
+ <vprop:propertyAlias messageType="wsdl5:PolicyQuoteProcessServiceRes"
part="out" propertyName="tns:SSN">
+
<vprop:query><![CDATA[/pol:receivePolicyQuote/pol:policyQuoteInfo/pol:ssn]]></vprop:query>
+ </vprop:propertyAlias>
+ <import location="CreditCheckService.wsdl"
namespace="http://soa.jboss.org/CreditAgencyServices"/>
+ <import location="DrivingRecordService.wsdl"
namespace="http://soa.jboss.org/ExternalService"/>
+ <import location="PolicyQuoteCalculationService.wsdl"
namespace="http://soa.jboss.org/TaskServices"/>
+ <import location="PolicyQuoteEntityService.wsdl"
namespace="http://soa.jboss.org/EntityServices"/>
+ <import location="DrivingRecordCallbackService.wsdl"
namespace="http://soa.jboss.org/CallbackServices"/>
+ <import location="PolicyQuoteProcessService.wsdl"
namespace="http://soa.jboss.org/OrchestratedServices"/>
+</definitions>
Added:
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/PolicyQuoteProcessService.wsdl
===================================================================
---
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/PolicyQuoteProcessService.wsdl
(rev 0)
+++
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/PolicyQuoteProcessService.wsdl 2010-03-09
18:42:49 UTC (rev 549)
@@ -0,0 +1,296 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<wsdl:definitions
targetNamespace="http://soa.jboss.org/OrchestratedServices"
xmlns:tns="http://soa.jboss.org/OrchestratedServices"
xmlns:ns1="http://www.example.org/policyQuote"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
+ <wsdl:types>
+ <xs:schema elementFormDefault="qualified"
targetNamespace="http://www.example.org/policyQuote"
xmlns:pol="http://www.example.org/policyQuote"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+ <xs:include schemaLocation="./types/policyQuoteBase.xsd"/>
+
+ <xs:element name="policyQuote">
+ <xs:complexType>
+ <xs:choice maxOccurs="1" minOccurs="1">
+ <xs:element name="receivePolicyQuote"
type="pol:ReceivePolicyQuoteType"/>
+ <xs:element name="createPolicyQuote"
type="pol:CreatePolicyQuoteType"/>
+ <xs:element name="deletePolicyQuote"
type="pol:DeletePolicyQuoteType"/>
+ <xs:element name="getPolicyQuote"
type="pol:GetPolicyQuoteType"/>
+ <xs:element name="calculatePolicyQuote"
type="pol:CalculatePolicyQuoteType"/>
+ </xs:choice>
+ </xs:complexType>
+ </xs:element>
+
+
+ <xs:complexType name="ReceivePolicyQuoteType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="receivePolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteInfo"
type="pol:PolicyQuoteInfoType"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:complexType name="CreatePolicyQuoteType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="createPolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteInfo"
type="pol:PolicyQuoteInfoType"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:complexType name="GetPolicyQuoteType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="getPolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteID" type="xs:integer"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+
+ <xs:complexType name="DeletePolicyQuoteType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="deletePolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteID" type="xs:integer"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+
+ <xs:complexType name="CalculatePolicyQuoteType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="calculatePolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteInfo"
type="pol:PolicyQuoteInfoType"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+</xs:schema>
+ <xs:schema elementFormDefault="qualified"
targetNamespace="http://www.example.org/policyQuote"
xmlns:pol="http://www.example.org/policyQuote"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+ <xs:include schemaLocation="./types/policyQuoteBase.xsd"/>
+
+ <xs:element name="policyQuoteReply">
+ <xs:complexType>
+ <xs:choice maxOccurs="1" minOccurs="1">
+ <xs:element name="receivePolicyQuote"
type="pol:ReceivePolicyQuoteReplyType"/>
+ <xs:element name="createPolicyQuote"
type="pol:CreatePolicyQuoteReplyType"/>
+ <xs:element name="deletePolicyQuote"
type="pol:DeletePolicyQuoteReplyType"/>
+ <xs:element name="getPolicyQuote"
type="pol:GetPolicyQuoteReplyType"/>
+ <xs:element name="calculatePolicyQuote"
type="pol:CalculatePolicyQuoteReplyType"/>
+ </xs:choice>
+ </xs:complexType>
+ </xs:element>
+
+
+ <xs:complexType name="ReceivePolicyQuoteReplyType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="receivePolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteInfo"
type="pol:PolicyQuoteInfoType"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+
+ <xs:complexType name="CreatePolicyQuoteReplyType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="createPolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteID" type="xs:integer"/>
+ <xs:element name="policyQuoteInfo"
type="pol:PolicyQuoteInfoType"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+
+ <xs:complexType name="GetPolicyQuoteReplyType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="getPolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteID" type="xs:integer"/>
+ <xs:element name="policyQuoteInfo"
type="pol:PolicyQuoteInfoType"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+
+ <xs:complexType name="DeletePolicyQuoteReplyType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="deletePolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteID" type="xs:integer"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+
+ <xs:complexType name="CalculatePolicyQuoteReplyType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="calculatePolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteInfo"
type="pol:PolicyQuoteInfoType"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+</xs:schema>
+ <xs:schema elementFormDefault="qualified"
targetNamespace="http://www.example.org/policyQuote"
xmlns:pol="http://www.example.org/policyQuote"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
+
+ <xs:include schemaLocation="./types/policyQuoteBase.xsd"/>
+
+ <xs:element name="policyQuoteFault">
+ <xs:complexType>
+ <xs:choice maxOccurs="1" minOccurs="1">
+ <xs:element name="policyQuoteFault"
type="pol:PolicyQuoteFaultType"/>
+ </xs:choice>
+ </xs:complexType>
+ </xs:element>
+
+
+ <xs:complexType name="PolicyQuoteFaultType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="receivePolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteFault"
type="pol:PolicyQuoteFaultType">
+ </xs:element>
+ <xs:element name="policyQuoteInfo"
type="pol:PolicyQuoteInfoType"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+
+ </xs:schema>
+ </wsdl:types>
+
+ <wsdl:message name="PolicyQuoteProcessServiceRes">
+ <wsdl:part name="out" element="ns1:policyQuoteReply">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="PolicyQuoteProcessServiceFault1">
+ <wsdl:part name="fault1" element="ns1:policyQuoteFault">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:message name="PolicyQuoteProcessServiceReq">
+ <wsdl:part name="in" element="ns1:policyQuote">
+ </wsdl:part>
+ </wsdl:message>
+ <wsdl:portType name="PolicyQuoteProcessServicePortType">
+ <wsdl:operation name="PolicyQuoteProcessServiceOp">
+ <wsdl:input name="PolicyQuoteProcessServiceReq"
message="tns:PolicyQuoteProcessServiceReq">
+ </wsdl:input>
+ <wsdl:output name="PolicyQuoteProcessServiceRes"
message="tns:PolicyQuoteProcessServiceRes">
+ </wsdl:output>
+ <wsdl:fault name="fault1"
message="tns:PolicyQuoteProcessServiceFault1">
+ </wsdl:fault>
+ </wsdl:operation>
+ </wsdl:portType>
+ <wsdl:binding name="PolicyQuoteProcessServiceBinding"
type="tns:PolicyQuoteProcessServicePortType">
+ <soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
+ <wsdl:operation name="PolicyQuoteProcessServiceOp">
+ <soap:operation
soapAction="http://soa.jboss.org/OrchestratedServices/PolicyQuotePro...
+ <wsdl:input name="PolicyQuoteProcessServiceReq">
+ <soap:body use="literal"/>
+ </wsdl:input>
+ <wsdl:output name="PolicyQuoteProcessServiceRes">
+ <soap:body use="literal"/>
+ </wsdl:output>
+ <wsdl:fault name="fault1">
+ <soap:fault name="fault1" use="literal"/>
+ </wsdl:fault>
+ </wsdl:operation>
+ </wsdl:binding>
+ <wsdl:service name="PolicyQuoteProcessServiceService">
+ <wsdl:port name="PolicyQuoteProcessServicePortType"
binding="tns:PolicyQuoteProcessServiceBinding">
+ <soap:address location="http://localhost:8080/RiftSaw_70WS"/>
+ </wsdl:port>
+ </wsdl:service>
+</wsdl:definitions>
Added:
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/bpel-deploy.xml
===================================================================
--- trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/bpel-deploy.xml
(rev 0)
+++
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/bpel-deploy.xml 2010-03-09
18:42:49 UTC (rev 549)
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<deploy
xmlns="http://www.apache.org/ode/schemas/dd/2007/03"
xmlns:CallbackServices="http://soa.jboss.org/CallbackServices"
xmlns:CreditAgencyServices="http://soa.jboss.org/CreditAgencyService...
xmlns:EntityServices="http://soa.jboss.org/EntityServices"
xmlns:ExternalService="http://soa.jboss.org/ExternalService"
xmlns:OrchestratedServices="http://soa.jboss.org/OrchestratedService...
xmlns:TaskServices="http://soa.jboss.org/TaskServices"
xmlns:sample="http://eclipse.org/bpel/sample">
+ <process name="sample:PolicyQuoteProcess">
+ <active>true</active>
+ <retired>false</retired>
+ <process-events generate="all"/>
+ <provide partnerLink="DrivingRecordCallbackService">
+ <service name="CallbackServices:DrivingRecordCallbackServiceService"
port="DrivingRecordCallbackServicePortType"/>
+ </provide>
+ <provide partnerLink="PolicyQuoteProcessService">
+ <service name="OrchestratedServices:PolicyQuoteProcessServiceService"
port="PolicyQuoteProcessServicePortType"/>
+ </provide>
+ <invoke partnerLink="CreditCheckService">
+ <service name="CreditAgencyServices:CreditCheckServiceService"
port="CreditCheckServicePortType"/>
+ </invoke>
+ <invoke partnerLink="DrivingRecordService">
+ <service name="ExternalService:DrivingRecordServiceService"
port="DrivingRecordServicePortType"/>
+ </invoke>
+ <invoke partnerLink="PolicyQuoteCalculationService">
+ <service name="TaskServices:PolicyQuoteCalculationServiceService"
port="PolicyQuoteCalculationServicePortType"/>
+ </invoke>
+ <invoke partnerLink="PolicyQuoteEntityService">
+ <service name="EntityServices:PolicyQuoteEntityServiceService"
port="PolicyQuoteEntityServicePortType"/>
+ </invoke>
+ </process>
+</deploy>
\ No newline at end of file
Added:
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/policyQuoteFault.xsd
===================================================================
---
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/policyQuoteFault.xsd
(rev 0)
+++
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/policyQuoteFault.xsd 2010-03-09
18:42:49 UTC (rev 549)
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema"
+
targetNamespace="http://www.example.org/policyQuote"
+
xmlns:pol="http://www.example.org/policyQuote"
elementFormDefault="qualified">
+
+ <xs:include schemaLocation="./types/policyQuoteBase.xsd"/>
+
+ <xs:element name="policyQuoteFault">
+ <xs:complexType>
+ <xs:choice minOccurs="1" maxOccurs="1">
+ <xs:element name="policyQuoteFault"
type="pol:PolicyQuoteFaultType"/>
+ </xs:choice>
+ </xs:complexType>
+ </xs:element>
+
+
+ <xs:complexType name="PolicyQuoteFaultType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="receivePolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteFault"
+ type="pol:PolicyQuoteFaultType">
+ </xs:element>
+ <xs:element name="policyQuoteInfo"
type="pol:PolicyQuoteInfoType"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+
+</xs:schema>
+
Added:
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/policyQuoteRequest.xsd
===================================================================
---
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/policyQuoteRequest.xsd
(rev 0)
+++
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/policyQuoteRequest.xsd 2010-03-09
18:42:49 UTC (rev 549)
@@ -0,0 +1,110 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema"
+
targetNamespace="http://www.example.org/policyQuote"
+
xmlns:pol="http://www.example.org/policyQuote"
elementFormDefault="qualified">
+
+ <xs:include schemaLocation="./types/policyQuoteBase.xsd"/>
+
+ <xs:element name="policyQuote">
+ <xs:complexType>
+ <xs:choice minOccurs="1" maxOccurs="1">
+ <xs:element name="receivePolicyQuote"
type="pol:ReceivePolicyQuoteType"/>
+ <xs:element name="createPolicyQuote"
type="pol:CreatePolicyQuoteType"/>
+ <xs:element name="deletePolicyQuote"
type="pol:DeletePolicyQuoteType"/>
+ <xs:element name="getPolicyQuote"
type="pol:GetPolicyQuoteType"/>
+ <xs:element name="calculatePolicyQuote"
type="pol:CalculatePolicyQuoteType"/>
+ </xs:choice>
+ </xs:complexType>
+ </xs:element>
+
+
+ <xs:complexType name="ReceivePolicyQuoteType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="receivePolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteInfo"
type="pol:PolicyQuoteInfoType"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:complexType name="CreatePolicyQuoteType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="createPolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteInfo"
type="pol:PolicyQuoteInfoType"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+ <xs:complexType name="GetPolicyQuoteType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="getPolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteID" type="xs:integer"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+
+ <xs:complexType name="DeletePolicyQuoteType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="deletePolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteID" type="xs:integer"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+
+ <xs:complexType name="CalculatePolicyQuoteType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="calculatePolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteInfo"
type="pol:PolicyQuoteInfoType"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+</xs:schema>
+
Added:
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/policyQuoteResponse.xsd
===================================================================
---
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/policyQuoteResponse.xsd
(rev 0)
+++
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/policyQuoteResponse.xsd 2010-03-09
18:42:49 UTC (rev 549)
@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema"
+
targetNamespace="http://www.example.org/policyQuote"
+
xmlns:pol="http://www.example.org/policyQuote"
+ elementFormDefault="qualified">
+
+ <xs:include schemaLocation="./types/policyQuoteBase.xsd"/>
+
+ <xs:element name="policyQuoteReply">
+ <xs:complexType>
+ <xs:choice minOccurs="1" maxOccurs="1">
+ <xs:element name="receivePolicyQuote"
+ type="pol:ReceivePolicyQuoteReplyType" />
+ <xs:element name="createPolicyQuote"
+ type="pol:CreatePolicyQuoteReplyType" />
+ <xs:element name="deletePolicyQuote"
+ type="pol:DeletePolicyQuoteReplyType" />
+ <xs:element name="getPolicyQuote"
+ type="pol:GetPolicyQuoteReplyType" />
+ <xs:element name="calculatePolicyQuote"
+ type="pol:CalculatePolicyQuoteReplyType" />
+ </xs:choice>
+ </xs:complexType>
+ </xs:element>
+
+
+ <xs:complexType name="ReceivePolicyQuoteReplyType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="receivePolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteInfo"
type="pol:PolicyQuoteInfoType"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+
+ <xs:complexType name="CreatePolicyQuoteReplyType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="createPolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteID" type="xs:integer"/>
+ <xs:element name="policyQuoteInfo"
type="pol:PolicyQuoteInfoType"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+
+ <xs:complexType name="GetPolicyQuoteReplyType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="getPolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteID" type="xs:integer"/>
+ <xs:element name="policyQuoteInfo"
type="pol:PolicyQuoteInfoType"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+
+ <xs:complexType name="DeletePolicyQuoteReplyType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="deletePolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteID" type="xs:integer"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+
+ <xs:complexType name="CalculatePolicyQuoteReplyType">
+ <xs:complexContent>
+ <xs:extension base="pol:PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="task">
+ <xs:simpleType>
+ <xs:restriction base="pol:TaskType">
+ <xs:enumeration value="calculatePolicyQuote"/>
+ </xs:restriction>
+ </xs:simpleType>
+ </xs:element>
+ <xs:element name="policyQuoteInfo"
type="pol:PolicyQuoteInfoType"/>
+ </xs:sequence>
+ </xs:extension>
+ </xs:complexContent>
+ </xs:complexType>
+
+</xs:schema>
+
Added:
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/types/policyQuoteBase.xsd
===================================================================
---
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/types/policyQuoteBase.xsd
(rev 0)
+++
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/bpel/types/policyQuoteBase.xsd 2010-03-09
18:42:49 UTC (rev 549)
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<xs:schema
xmlns:xs="http://www.w3.org/2001/XMLSchema"
+
targetNamespace="http://www.example.org/policyQuote"
+
xmlns:pol="http://www.example.org/policyQuote"
elementFormDefault="qualified">
+
+
+ <xs:complexType name="PolicyQuoteType">
+ <xs:sequence>
+ <xs:element name="requestDate" type="xs:date"/>
+ </xs:sequence>
+ </xs:complexType>
+
+
+ <xs:complexType name="PolicyQuoteInfoType">
+ <xs:sequence>
+ <xs:element name="policyType" type="xs:string"/>
+ <xs:element name="vehicleYear" type="xs:string"/>
+ <xs:element name="driverName" type="xs:string"/>
+ <xs:element name="ssn" type="xs:string"/>
+ <xs:element name="dlNumber" type="xs:string"/>
+ <xs:element name="age" type="xs:int"/>
+ <xs:element name="numberOfAccidents" type="xs:int"/>
+ <xs:element name="numberOfTickets" type="xs:int"/>
+ <xs:element name="creditScore" type="xs:int"/>
+ <xs:element name="price" type="xs:int"/>
+ </xs:sequence>
+ </xs:complexType>
+
+
+ <xs:simpleType name="TaskType">
+ <xs:restriction base="xs:NMTOKEN">
+ <xs:enumeration value="receivePolicyQuote" />
+ <xs:enumeration value="createPolicyQuote" />
+ <xs:enumeration value="getPolicyQuote" />
+ <xs:enumeration value="deletePolicyQuote" />
+ <xs:enumeration value="calculatePolicyQuote" />
+ </xs:restriction>
+ </xs:simpleType>
+
+
+
+</xs:schema>
+
Added: trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/build.xml
===================================================================
--- trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/build.xml
(rev 0)
+++ trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/build.xml 2010-03-09
18:42:49 UTC (rev 549)
@@ -0,0 +1,30 @@
+<project name="RiftSaw_70" default="deploy"
basedir=".">
+
+ <description>
+ ${ant.project.name}
+ ${line.separator}
+ </description>
+
+ <property name="version" value="1" />
+
+ <property name="deploy.dir" value="${basedir}/target/tests"/>
+ <property name="test.dir"
value="${basedir}/src/test/resources/testcases/${ant.project.name}" />
+
+ <property name="sample.jar.name"
value="${ant.project.name}-${version}.jar" />
+
+ <target name="deploy">
+ <echo>Deploy ${ant.project.name}</echo>
+ <mkdir dir="${deploy.dir}/${ant.project.name}" />
+ <jar basedir="${test.dir}/bpel"
destfile="${deploy.dir}/${ant.project.name}/${sample.jar.name}" />
+
+ <copy todir="${deploy.dir}/${ant.project.name}">
+ <fileset dir="${test.dir}/messages"/>
+ </copy>
+ </target>
+
+ <target name="undeploy">
+ <echo>Undeploy ${ant.project.name}</echo>
+ <delete file="${deploy.dir}/${sample.jar.name}" />
+ </target>
+
+</project>
Added:
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/messages/hello_request1.xml
===================================================================
---
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/messages/hello_request1.xml
(rev 0)
+++
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/messages/hello_request1.xml 2010-03-09
18:42:49 UTC (rev 549)
@@ -0,0 +1,23 @@
+<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:pol="http://www.example.org/policyQuote">
+ <soapenv:Header/>
+ <soapenv:Body>
+ <pol:policyQuote>
+ <pol:receivePolicyQuote>
+ <pol:requestDate>2010-01-01</pol:requestDate>
+ <pol:task>receivePolicyQuote</pol:task>
+ <pol:policyQuoteInfo>
+ <pol:policyType>AUTO</pol:policyType>
+ <pol:vehicleYear>2004</pol:vehicleYear>
+ <pol:driverName>Bob</pol:driverName>
+ <pol:ssn>123456789</pol:ssn>
+ <pol:dlNumber>987654321</pol:dlNumber>
+ <pol:age>30</pol:age>
+ <pol:numberOfAccidents>0</pol:numberOfAccidents>
+ <pol:numberOfTickets>0</pol:numberOfTickets>
+ <pol:creditScore>0</pol:creditScore>
+ <pol:price>0</pol:price>
+ </pol:policyQuoteInfo>
+ </pol:receivePolicyQuote>
+ </pol:policyQuote>
+ </soapenv:Body>
+</soapenv:Envelope>
Added:
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/messages/hello_response1.xml
===================================================================
---
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/messages/hello_response1.xml
(rev 0)
+++
trunk/integration-tests/src/test/resources/testcases/RiftSaw_70/messages/hello_response1.xml 2010-03-09
18:42:49 UTC (rev 549)
@@ -0,0 +1,18 @@
+<env:Envelope
xmlns:env='http://schemas.xmlsoap.org/soap/envelope/'><env:...
xmlns='http://www.example.org/policyQuote'>
+ <pol:receivePolicyQuote
xmlns:pol='http://www.example.org/policyQuote'>
+ <pol:requestDate>2010-01-01</pol:requestDate>
+ <pol:task>receivePolicyQuote</pol:task>
+ <pol:policyQuoteInfo>
+ <pol:policyType
xmlns:pol='http://www.example.org/policyQuote'>AUTO</pol:po...
+ <pol:vehicleYear
xmlns:pol='http://www.example.org/policyQuote'>2004</pol:ve...
+ <pol:driverName
xmlns:pol='http://www.example.org/policyQuote'>Bob</pol:dri...
+ <pol:ssn
xmlns:pol='http://www.example.org/policyQuote'>123456789</p...
+ <pol:dlNumber
xmlns:pol='http://www.example.org/policyQuote'>987654321</p...
+ <pol:age
xmlns:pol='http://www.example.org/policyQuote'>30</pol:age>
+ <pol:numberOfAccidents
xmlns:pol='http://www.example.org/policyQuote'>0</pol:numbe...
+ <pol:numberOfTickets
xmlns:pol='http://www.example.org/policyQuote'>0</pol:numbe...
+ <pol:creditScore
xmlns:pol='http://www.example.org/policyQuote'>0</pol:credi...
+ <pol:price
xmlns:pol='http://www.example.org/policyQuote'>0</pol:price...
+ </pol:policyQuoteInfo>
+ </pol:receivePolicyQuote>
+ </policyQuoteReply></env:Body></env:Envelope>
\ No newline at end of file