<?xml version="1.0" encoding="UTF-8"?>
<switchyard xmlns="urn:switchyard-config:switchyard:1.0" xmlns:swyd="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/200912" xmlns:sca="http://docs.oasis-open.org/ns/opencsa/sca/200912" xmlns:sh="http://www.jboss.org/bpel/examples" xmlns:soap="urn:switchyard-component-soap:config:1.0" xmlns:trfm="urn:switchyard-config:transform:1.0" name="xts_wsat" targetNamespace="urn:switchyard-quickstart:wstdemo:0.1.0">
  <sca:composite name="xts_wsat" targetNamespace="urn:switchyard-quickstart:wstdemo:0.1.0">
    <sca:service name="BusinessTravelService" promote="BusinessTravelService/BusinessTravelService">
      <soap:binding.soap>
        <soap:contextMapper includes=".*" soapHeadersType="DOM"/>
        <soap:wsdl>BusinessTravelArtifacts.wsdl</soap:wsdl>
        <soap:socketAddr>:18001</soap:socketAddr>
        <soap:contextPath>xts_wsat</soap:contextPath>
      </soap:binding.soap>
    </sca:service>
    <sca:component name="BusinessTravelService">
      <bpel:implementation.bpel process="sh:BusinessTravel"/>
      <sca:service name="BusinessTravelService">
        <sca:interface.wsdl interface="BusinessTravelArtifacts.wsdl#wsdl.porttype(BusinessTravelService)"/>
      </sca:service>
      <sca:reference name="AirportService">
        <sca:interface.wsdl interface="AirportService.wsdl#wsdl.porttype(AirportService)"/>
      </sca:reference>
    </sca:component>
    <sca:reference name="AirportService" multiplicity="0..1" promote="BusinessTravelService/AirportService">
      <sca:interface.wsdl interface="AirportService.wsdl#wsdl.porttype(AirportService)"/>
      <soap:binding.soap>
        <soap:contextMapper includes=".*" soapHeadersType="DOM"/>
        <soap:wsdl>AirportService.wsdl</soap:wsdl>
        <soap:socketAddr>:18001</soap:socketAddr>
      </soap:binding.soap>
    </sca:reference>
  </sca:composite>
</switchyard>
