Friday, February 19, 2016

Oracle SOA BPEL Pass Credential to external service

To pass the credential to the service we can use oracle.webservices.auth.username  property in reference of the composite.xml

Below is the example to connect to planisware service.


<reference name="Planisware" ui:wsdlLocation="Planisware_WSDL_New.wsdl">
    <interface.wsdl interface="http://www.planisware.com/SOAP/SampleDoc#wsdl.interface"/>
    <binding.ws port="http://www.planisware.com/SOAP/SampleDoc#wsdl.endpoint)"
                location="Planisware_WSDL_New.wsdl" soapVersion="1.1">
      <property name="weblogic.wsee.wsat.transaction.flowOption"
                type="xs:string" many="false">NEVER</property>
            <property name="oracle.webservices.auth.username" type="xs:string"
                many="false" override="may">UserName</property>
      <property name="oracle.webservices.auth.password" type="xs:string"
                many="false" override="may">Password</property>                
    </binding.ws>
  </reference>

No comments:

Post a Comment