This content has been marked as final. Show 5 replies
Can you please specify what exactly you want to change it...
Try this Deployment Descriptor
<!-- 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>
We can use property option what you are mentioned. But to get the xml file content we need to use readFile function.
This fixed my issue.
Edited by: 839026 on Nov 30, 2012 5:41 AM