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)
This topic has been locked.
3 replies Latest Post - 2012-12-04T07:52:38Z by devdp
Pinned topic Needed suggestion...
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-12-04T07:52:38Z at 2012-12-04T07:52:38Z by devdp
Daviiid 270004UFEC213 Posts
HermannSW 2700006U542735 PostsACCEPTED ANSWER
Re: Needed suggestion...2012-12-01T23:36:06Z in response to DaviiidI prefer 2) over 1), and am not sure what WSDL you want to use for 3).
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).