I have three different approaches.Could you please suggest me which one is apt.
We have diiferent operations like orders,payements,markets and so on
1)Create seperate MPG's for order,reservation,market
Client will send the request in JSON format->DP(router MPG routes to respective MPG order/reservation/... and sets the backend)->DP(Order/Payment/..json to soap using MPG) and sends to provider->provider sends response back(MPG converts soap to json)-->DP(router MPG sends bacl the json message to client)
2)Client will send the request in JSON format->DP (only one MPG which does has a seperate rules for each type of operation based on the content of the request set the context var request rule,response rule and call the respective rules).The repective rules will have the conversion JSONto soap viceversa.
3)Client will send the request in JSON format->DP (router MPG setting backends)->DP(MPG does soap to json conversion and viceversa)->WSP(sends the soap to provider)
HermannSW 2700006U546667 Posts
Re: Needed suggestion...2012-12-01T23:36:06ZThis is the accepted answer. This is the accepted answer.
- Daviiid 270004UFEC
If you have such a WSDL and only need validation, you could do in MPGW as well avoiding added latency of chained service in 3).