My Oracle Support Banner

How to Set httpBasicUsername and httpBasicPassword Parameters Dynamically (Doc ID 1097274.1)

Last updated on APRIL 23, 2019

Applies to:

Oracle(R) BPEL Process Manager 10g - Version 10.1.3.4 and later
Information in this document applies to any platform.

Goal

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'?>
<BPELSuitcase>
<BPELProcess id="EloquaLeadGen" src="EloquaLeadGen.bpel">
<partnerLinkBindings>
<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>
</partnerLinkBinding>
</partnerLinkBindings>
</BPELProcess>
</BPELSuitcase>



Solution

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.