Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Group,
Is there any way to force a Windchill task to output XML according to our own schema?
We'd like to create SOAP services to Windchill using Windchill tasks with webjects (or other high-level constructs), but the consumer of these services requires we produce the responses according to their XML schema. It appears that all @return types that I've been able to find construct XML according to some "wc:" namespace, and that we can't control that - is that true??
If not possible to do what we wish (as indicated above), is our only / best option to write our own SOAP services using servlets?
Thank you in advance,
-- Marty Ross
XSLT and or use java code to execute task and output desired XML by traversing group(s) sent back in webject task response.
Sent from my Verizon Wireless BlackBerry
Are you suggesting calling the task by a wrapper that would produce my XML?
Is thereany way to get the task itself to produce my XML - i.e., so that when I call the task directly using http://wchost/Windchill/servlet/IE/tasks/com/mycompany/task.xml it returns XML conforming to my schema?
I've tried using XSLT inside a task (e.g. using Windchill's "Translate-Group" webject), butI've only had luckwith that iftheXSLT produces output that looks like serialized Info*Engine groups (i.e., begins with "<wc:collection>", etc.)
In Reply to Dave DeMay:
XSLT and or use java code to execute task and output desired XML by traversing group(s) sent back in webject task response.