Procedure
When changing the contents of the ESI response meta information file, you should copy the existing file to some other directory that is accessible to the Windchill Method Server. Use the editor of your choice to modify the file. Each attributeMapping element in the file, as described in section ESIMap of this document, generates a child element in the XML element representing the given business object in the response message.
* 
Do not modify the response meta information file that was provided when you installed ERP Connector. This file may be replaced by future software releases. If you wish to modify it, copy it to a new location.
In order for any changes made to the file to take effect, change the value of the responseMetaInfoPath attribute on the distribution target for which to generate the modified response message. This may be achieved using the Manage Distribution UI option that appears under the Utilities option of Site or Organization. From the Edit Distribution Target (or the New Distribution Target) dialogue that comes up, change the value of the field ESI Response Meta Information File Path to point to the file that was modified and click OK to save the changes.
* 
1. The value entered for the ESI Response Meta Information File Path field may begin with "$CODEBASE$" to indicate that the file resides under the Windchill codebase. For example, if the file resides under <Windchill>/codebase/com/ptc/windchill/esi/modified/ , the value may take the form:
"$CODEBASE$/com/ptc/windchill/esi/modified/ESIResponseMetaInfoModified.xml"
2. Releasing an object to the edited distribution target will cause the response message to be generated per the modified version of the response meta information file.
* 
Changing the contents of the response meta information file can change the structure of the ESI response.
¿Fue esto útil?