Focal Point
iWAY 6.0.1 HTTP listener dynamic xml response

This topic can be found at:
http://forums.informationbuilders.com/eve/forums/a/tpc/f/1381057331/m/9227011016

September 22, 2011, 06:24 PM
<Sergio Marcano>
iWAY 6.0.1 HTTP listener dynamic xml response
Hello All,

How can I set a dynamic HTTP response in a HTTP listener?


I've the following problem, I need to use the HTTP listener to receive a document, process it (invoke a WS) and then return an anser with a value, the value is a variable returned by the WS called in the channel pflow.

The HTTP listener is working, it receive the document then it pass the document to the route but the response to the HTTP caller is always the content of the document that we are exposing via HTTP in the DocumentRoot directory.

The question is.

How can I set a dynamic HTTP response in a HTTP listener?

Best Regards,
Sergio.
September 23, 2011, 04:31 PM
Igor Y
What do you want to set in the response?


iWay Service Manager (6.0.1 - patch.62627)
DMC Version 7 Release 7
September 23, 2011, 06:03 PM
<Sergio Marcano>
The response will contain an XML document, I found that I can use the nHTTP Listener to expose a REST type service.