How to Set httpBasicUsername and httpBasicPassword Parameters Dynamically

(Doc ID 1097274.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle(R) BPEL Process Manager - Version: and later   [Release: AS10gR3 and later ]
Information in this document applies to any platform.


How to setup the httpBasicUsername and httpBasicPassword parameters dynamically when making a call to a secure web service.

It used to be hard coded in bpel.xml file as follows,
<?xml version = '1.0' encoding = 'UTF-8'?>
<BPELProcess id="EloquaLeadGen" src="EloquaLeadGen.bpel">
<partnerLinkBinding name="PartnerLink_FreeScanCreateAccount">
<property name="wsdlLocation">FreeScanCallRef.wsdl</property>
<property name="httpRealm">FreeScan Admin Login</property>
<property name="httpBasicHeaders">credentials</property>
<property name="httpBasicUsername">myusername</property>
<property name="httpBasicPassword">xxx</property>
<property name="rejectedMessageHandlers">file://C:/</property>


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms