Select a resource to rename it, and the files that import the resource or depend on it are also updated. For example, rename a process name and the related B-unit tests and process deployment descriptor references are automatically updated.
When you select
Refactor
, a
Rename Resource
dialog opens and you can select
Preview
to view the changes that will be made.
You can also move a resource. For example, if you move a WSDL, all other WSDL, BPEL, BPRD and PDD's are updated to point at the moved WSDL.
Rename (or move) the following resources:
Process name
. Note that the rename does not change the
.bpel
file name. It changes the
<process name>
element in the BPEL process.
WSDL file name
Schema file name
Schema element or type
Target namespace
In the WSDL editor, you can refactor the target namespace. This action triggers a global refactoring of namespaces for all resources that reference the WSDL or XSD. In a WSDL, if you highlight a port type, you can right-mouse click and select
Refactor > Rename
to update resources that reference this element. Similar behavior exists in the Schema editor for complex types.