Posted: Mon Mar 11, 2013 3:09 pm Post subject: Calling Web Service and HTTP Request in a flow
Newbie
Joined: 31 Jan 2013 Posts: 6
Hello,
Here is the scenario:
1. I have a flow expose as a web service.
2. This flow has a input when I call it. This input contains some data "A".
3. The first step in my flow is to call a web service (SOAPRequest). This returns a response "B".
4. Then I have to make an HTTPRequest to start an instance in WPS using REST.
5. The request of this HTTPRequest must be consolidating by A + B.
My problem:
1. If I make OutputRoot = InputRoot before calling the first web service. This SOAPRequest fails because I'm sending information its not going to use.
2. If instead I just call my web service, I lost my InputRoot with info "A" where I have part of the request I need to send to the HTTPRequest.
My flow is this:
MQInput --> Compute (where I fill the request for my web service) --> sub-flow to call my web service --> Compute (where I try to consolidate A+B) --> MQ Header --> HTTP Request (to start instance in WPS with REST) --> Compute (to read the response and fill the message response of my flow) --> SOAP Envelope --> SOAP Reply
There is anyway to save this "A" information in order to not lose it and make the call of my web service and then use A+B in my HTTPRequest?
Thanx in advanced for any hint you could gave to me...
Joined: 29 Nov 2011 Posts: 490 Location: UK...somewhere
You clearly are missing some basic understanding/training of how the message assembly works. You need to read up on Environment, Local Environment and Exception List and understand how they are used, and how they are different to the Root message tree.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum