cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

We are happy to announce the new Windchill Customization board! Learn more.

Example of XSLTransform.applyXSL

SWeiler_9940261
15-Moonstone

Example of XSLTransform.applyXSL

I'm making a call to ParseAndProcessResult and getting a NullPointerException. It seems to be a problem with the variable response in the following code. Does anyone have an example of what response should be? It seems to be an xml.

 

postRestulInfo = XSLTransformer.applyXSL(response, new File(xslLocation), xslParams,
XSLTransformer.XSL_PARAM_NAME_VALUE_SEPERATOR, XSLTransformer.XSL_PARAM_SEPERATOR);

1 ACCEPTED SOLUTION

Accepted Solutions

I opened a case with PTC. This was their reply:

 

The response is an XML string. It is typically the com.infoengine.object.IeCollection result from invoking one of the “export” ESI tasks (i.e. ExportTo*.xml files located in Windchill/tasks/com/ptc/windchill/esi/export).

View solution in original post

1 REPLY 1

I opened a case with PTC. This was their reply:

 

The response is an XML string. It is typically the com.infoengine.object.IeCollection result from invoking one of the “export” ESI tasks (i.e. ExportTo*.xml files located in Windchill/tasks/com/ptc/windchill/esi/export).

Top Tags