Databases Reference
In-Depth Information
Clicking
OK
will create a new configuration plan and open it within JDeveloper.
A sample configuration plan is shown in the code that follows. Note the use of
two elements:
<replace>
is used to replace the value of a property
<searchReplace>
is used to
<search>
for a string and
<replace>
it with
another string
•
•
The scope of the substitution is determined by the different elements within the
configuration plan. The
<composite>
element controls changes within
composite.
xml
. Individual elements within the composite can all be adapted for the target
environment, including
<service>
,
<component>
, and
<reference>
.
<?xmlversion="1.0"encoding="UTF-8"?>
<SOAConfigPlan>
<compositename="FileAdapter2">
<searchReplace>
<search>http://my-dev-server</search>
<replace>http://my-test-server</replace>
<searchReplace>
…
<servicename="filemoveprocess_client_ep">
<bindingtype="ws">
<attributename="port">
<replace>http://xmlns.oracle.com/…</replace>
</attribute>
</binding>
</service>
<componentname="*">
<wsp:PolicyReferenceorawsp:category="management"orawsp:
status="enabled"URI="oracle/log_policy"/>
</component>
…
<referencename="MoveFileService">
<bindingtype="jca"/>
</reference>
</composite>
…
<wsdlAndSchemaname="FileMove.wsdl|MoveFile.jca|xsd/FileMove.xsd">
…
<jca:propertyname="PollingInterval">
<replace>10</replace>
</jca:property>
…