Service Virtualization

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

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

    Posted 09-08-2015 04:35 PM

    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.