Caroll Tomas asked 1 year ago
Title : How to utilise Multiple partner link endpoint locations to enable failover in composite in AIA.

Question :

How to utilise Multiple partner link endpoint locations to enable failover in composite in AIA.

1 Answers
ParwezParwez Staff answered 1 year ago

Oracle SOA Suite/AIA has the capabilities  for specifying multiple partner link endpoint locations. This capability can be used  for fail-over in case s if the first endpoint is down.

The endpointURI property of the Composite.xml can be used  to override the endpoint location specified in the default WSDL as shown below.

<reference name=”CalculateTaxService”

ui:wsdlLocation=”http://localhost:8000/soa-infra/services/default/CalculateTax/CalculateTax.wsdl”&gt;

<interface.wsdl interface=”http://xmlns.oracle.com/Failover/CalculateTax/CalculateTax#wsdl.interface(CalculateTax)&#8221;

callbackInterface=”http://xmlns.oracle.com/Failover/CalculateTax/CalculateTax#wsdl.interface(CalculateTaxCallback)”/&gt;

<binding.ws port=”http://xmlns.oracle.com/Failover/CalculateTax/CalculateTax#wsdl.endpoint(calculatetax_client_ep/CalculateTax_pt)&#8221;

location=”http://localhost:8000/soa-infra/services/default/CalculateTax/CalculateTax_client_ep?WSDL&#8221;

soapVersion=”1.1″>

<property name=”endpointURI”>http://localhost:8002/soa-infra/services/MEDIATOR/CalculateTax/CalculateTax_client_ep</property&gt;

<property name=”endpointURI”>http://localhost:8002/soa-infra/services/UTILITIES/CalculateTax/CalculateTax_client_ep</property&gt;

<property name=”weblogic.wsee.wsat.transaction.flowOption”

type=”xs:string” many=”false”>WSDLDriven</property>

</binding.ws>

<callback>

<binding.ws port=”http://xmlns.oracle.com/Failover/CalculateTax/CalculateTax#wsdl.endpoint(calculatetax_client_ep/CalculateTaxCallback_pt)”/&gt;

</callback>

</reference>

the first endpoint uri will be tried first, if it fails then the second uril will be tried and if second also fails, then the default wsdl uri will be invoked.

Cubastion is among a very small number of specialized Siebel CRM Oracle Gold Partners in SME.