AnsweredAssumed Answered

service end-point with data input as part of sub-domain

Question asked by Naushad.Wahab on Sep 8, 2015

Has anyone virtualized a real service where some of the data passed to the service is contained in the sub-domain of the end point. For example:

http://item32W.mydomain.com:1234/MyServices/getOrderCount

 

Here the data value which is passed to the service is "item32W". The same service is called with many different data values as sub-domain in the URL and the service responds back with different values.

Question is when we virtualize such a service, how can we parse the (incoming) data value (from the URL) and respond back with the corresponding values?

 

Any pointers would be useful. Thank you very much.

Outcomes