-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SAVARA-361 Add all info into swyd descriptor
- Loading branch information
objectiser
committed
Nov 8, 2012
1 parent
79f7744
commit 385242c
Showing
3 changed files
with
255 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
81 changes: 47 additions & 34 deletions
81
bundles/org.savara.switchyard.bpel/src/test/resources/expected/loan_approval/switchyard.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,52 @@ | ||
<switchyard xmlns="urn:switchyard-config:switchyard:1.0" xmlns:bean="urn:switchyard-component-bean:config:1.0" xmlns:bpel="http://docs.oasis-open.org/ns/opencsa/sca/200903" xmlns:examples="http://www.jboss.org/bpel/examples" xmlns:ls="http://example.com/loan-approval/loanService/" xmlns:ra="http://example.com/loan-approval/riskAssessment/" xmlns:sca="http://docs.oasis-open.org/ns/opencsa/sca/200912" xmlns:soap="urn:switchyard-component-soap:config:1.0" xmlns:swyd="urn:switchyard-config:switchyard:1.0" xmlns:trfm="urn:switchyard-config:transform:1.0" name="loanapproval" targetNamespace="http://www.apache.org/ode/schemas/dd/2007/03"> | ||
<sca:composite name="loanapproval" targetNamespace="http://www.apache.org/ode/schemas/dd/2007/03"> | ||
<sca:service name="loanApprovalProcess" promote="loanApprovalProcess"> | ||
<soap:binding.soap> | ||
<soap:wsdl> | ||
<switchyard xmlns="urn:switchyard-config:switchyard:1.0" xmlns:examples="http://www.jboss.org/bpel/examples" xmlns:ls="http://example.com/loan-approval/loanService/" xmlns:ra="http://example.com/loan-approval/riskAssessment/" name="loanapproval"> | ||
<composite xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200912" name="loanapproval"> | ||
<service name="loanService" promote="loanapprovalComponent/loanService"> | ||
<interface.wsdl interface="loanServicePT.wsdl#wsdl.porttype(loanServicePT)"/> | ||
<binding.soap xmlns="urn:switchyard-component-soap:config:1.0"> | ||
<wsdl> | ||
loanServicePT.wsdl | ||
</soap:wsdl> | ||
<soap:socketAddr> | ||
</wsdl> | ||
<socketAddr> | ||
:18001 | ||
</soap:socketAddr> | ||
</soap:binding.soap> | ||
</sca:service> | ||
<sca:component name="loanApprovalProcess"> | ||
<bpel:implementation.bpel process="ls:loanApprovalProcess"/> | ||
<sca:service name="loanService"> | ||
<sca:interface.wsdl interface="loanServicePT.wsdl#wsdl.porttype(loanServicePT)"/> | ||
</sca:service> | ||
<sca:reference name="riskAssessor"> | ||
<sca:interface.wsdl interface="riskAssessmentPT.wsdl#wsdl.porttype(riskAssessmentPT)"/> | ||
</sca:reference> | ||
</sca:component> | ||
<sca:service name="riskAssessmentProcess" promote="riskAssessmentProcess"> | ||
<soap:binding.soap> | ||
<soap:wsdl> | ||
</socketAddr> | ||
</binding.soap> | ||
</service> | ||
<reference multiplicity="1..1" name="riskAssessor" promote="loanapprovalComponent/riskAssessor"> | ||
<interface.wsdl interface="riskAssessmentPT.wsdl#wsdl.porttype(riskAssessmentPT)"/> | ||
<binding.soap xmlns="urn:switchyard-component-soap:config:1.0"> | ||
<wsdl> | ||
riskAssessmentPT.wsdl | ||
</soap:wsdl> | ||
<soap:socketAddr> | ||
</wsdl> | ||
<socketAddr> | ||
:18001 | ||
</soap:socketAddr> | ||
</soap:binding.soap> | ||
</sca:service> | ||
<sca:component name="riskAssessmentProcess"> | ||
<bpel:implementation.bpel process="ra:riskAssessmentProcess"/> | ||
<sca:service name="riskAssessor"> | ||
<sca:interface.wsdl interface="riskAssessmentPT.wsdl#wsdl.porttype(riskAssessmentPT)"/> | ||
</sca:service> | ||
</sca:component> | ||
</sca:composite> | ||
</socketAddr> | ||
</binding.soap> | ||
</reference> | ||
<component name="loanapprovalComponent"> | ||
<implementation.bpel xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903" process="ls:loanApprovalProcess"/> | ||
<service name="loanService"> | ||
<interface.wsdl interface="loanServicePT.wsdl#wsdl.porttype(loanServicePT)"/> | ||
</service> | ||
<reference name="riskAssessor"> | ||
<interface.wsdl interface="riskAssessmentPT.wsdl#wsdl.porttype(riskAssessmentPT)"/> | ||
</reference> | ||
</component> | ||
<service name="riskAssessor" promote="loanapprovalComponent/riskAssessor"> | ||
<interface.wsdl interface="riskAssessmentPT.wsdl#wsdl.porttype(riskAssessmentPT)"/> | ||
<binding.soap xmlns="urn:switchyard-component-soap:config:1.0"> | ||
<wsdl> | ||
riskAssessmentPT.wsdl | ||
</wsdl> | ||
<socketAddr> | ||
:18001 | ||
</socketAddr> | ||
</binding.soap> | ||
</service> | ||
<component name="loanapprovalComponent"> | ||
<implementation.bpel xmlns="http://docs.oasis-open.org/ns/opencsa/sca/200903" process="ra:riskAssessmentProcess"/> | ||
<service name="riskAssessor"> | ||
<interface.wsdl interface="riskAssessmentPT.wsdl#wsdl.porttype(riskAssessmentPT)"/> | ||
</service> | ||
</component> | ||
</composite> | ||
</switchyard> |
Oops, something went wrong.