This content has been marked as final. Show 5 replies
<!-- Receive input from requestor. (Note: This maps to operation defined in SiebelHeaderPOCBPEL.wsdl) -->
<receive name="receiveInput" partnerLink="siebelheaderpocbpel_client"
<!-- Generate reply to synchronous request -->
In above code, we have used xml fragment to set username and password. So we need to change them during deployment time.. This is my exact requirement
The deployment descriptor is very useful but that can't be used inside xml fragment.
Please help me on this issue.
Edited by: 839026 on Nov 21, 2012 1:26 AM
No OOTB solution for this I think. What you can do is that keep your username and passwords inside the preference properties as illustrated in the link shared by Vijay.
Retrieve these properties values inside your BPEL and place them in the XML fragment appropriately before assignment.
In this way, your username and password is exposed to Preference property that could be changed through 2 ways:
- From the EM console at Runtime without needing to redeploy the code as stated in the link above
- Through the configuration plan at the time of deployment (which is what you want, as shown below for username)
Let us know how you get along.
<component name="HelloWorld"> <property name="bpel.preference.username"> <replace>XXXXX</replace> </property> </component>