I have create a service that is expecting an xml post. The client is setting the content-type to text/xml and the service is correctly receiving the xml post as a node object I then convert the node to document etc… the service seems to work fine and returns one string title xmlResponse, which is, as one might expect, and xml string formated as such
i.e.
On the settings tab of the service I have set the Service Output Template Type = xml and put one %value xmlResponse% in the template
when I test the service using the $xmldata in querystring method
i.e.
http://webMethods:5595/invoke/.../service?$xmldata=<?xml version="1.0" encoding="UTF-8"?>…
I get back a properly formatted xml document as I expect, but when the service is invoked via a POST with the content-type = text/xml webMethods returns the following (looks to me like the pipeline as values) and ignores the template
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?> ...what is going on? is this a bug? any ideas on how to fix?