1 Reply Latest reply on Feb 21, 2013 11:45 AM by David Ward

    property support in switchyard.xml

    Jeff Bride Novice

      Hi,

         i suspect this topic is related to https://community.jboss.org/thread/221347?tstart=0 from the SY-dev forum but don't want to hijack that thread incase it ends up being different.

       

      wondering if switchyard could support the following property substitution as per below :

       

       

       

      <sca:reference name="com.acme.server" multiplicity="0..1" promote="myService/myPortType">

            <sca:interface.wsdl interface="WEB-INF/wsdl/mywsdl.wsdl#wsdl.porttype(myPortType)"/>

            <soap:binding.soap>

              <soap:contextMapper/>

              <soap:wsdl>WEB-INF/wsdl/mywsdl.wsdl</soap:wsdl>

              <soap:wsdlPort>myPortType</soap:wsdlPort>

              <soap:endpointAddress>${com.acme.production.environment.soap.end.point.url}</soap:endpointAddress>

            </soap:binding.soap>

      </sca:reference>

       

       

       

      where SY would resolve ${com.acme.production.environment.soap.end.point.url} at runtime via jvm System properties ?

       

      thanks!  jeff