Author |
Message
|
srk31 |
Posted: Wed Jul 08, 2015 8:02 am Post subject: chaining of message flows |
|
|
Apprentice
Joined: 01 Sep 2010 Posts: 39
|
Hi,
I have two webservices. serviceA which is exposed to end client. serviceB is the actual service provider.
When we receive a request in serviceA, we transform the request in serviceA according to serviceB wsdl specification.
In similar fashion, we have to do the response.
There are two option i can see
1. create queues b/w serviceA and serviceB
2. adding serviceB subflow into serviceA message flow.
So my question is, if both are independent message flows, how can i call service B from service A.
how can i mock the actual backend response. In datapower, we create a xml firewall without actually calling the backend service provider by setting system variable.
is it possible in wmb too
Thanks |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Jul 08, 2015 8:07 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
You mean, how do you make a soap request from one flow to another flow? |
|
Back to top |
|
 |
srk31 |
Posted: Wed Jul 08, 2015 8:17 am Post subject: |
|
|
Apprentice
Joined: 01 Sep 2010 Posts: 39
|
Thats correct, both are independent message flows. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Jul 08, 2015 8:37 am Post subject: Re: chaining of message flows |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
srk31 wrote: |
There are two option i can see
1. create queues b/w serviceA and serviceB
2. adding serviceB subflow into serviceA message flow. |
Or 3, just call service B from service A
srk31 wrote: |
So my question is, if both are independent message flows, how can i call service B from service A. |
With a SOAPRequest node.
srk31 wrote: |
how can i mock the actual backend response. In datapower, we create a xml firewall without actually calling the backend service provider by setting system variable.
is it possible in wmb too |
No _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Jul 08, 2015 8:41 am Post subject: Re: chaining of message flows |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
srk31 wrote: |
how can i mock the actual backend response. |
With a flow. |
|
Back to top |
|
 |
inMo |
Posted: Wed Jul 08, 2015 11:15 am Post subject: |
|
|
 Master
Joined: 27 Jun 2009 Posts: 216 Location: NY
|
The Jackson 5 solved this years ago:
A -> B -> C
It's easy as
One -> Two -> Three |
|
Back to top |
|
 |
|