Service with multiple data protocols

Document ID : KB000074467
Last Modified Date : 23/03/2018
Show Technical Document Details
Introduction:
When attempting to virtualize an endpoint that provides multiple services, SOAP, XML, JSON and REST (GET/POST) using one DPH will not handle all protocols. Need to use multiple DPH's to see how we can capture all requests with valid data.
Question:
What protocols need to be used When attempting to virtualize an endpoint that provides multiple services, SOAP, XML, JSON and REST (GET/POST)?
 
Environment:
DevTest 10.x environments
Answer:
Using DPH's in the below order will help if there are Soap requests, XML requests, JSON requests with POST calls and REST requests with GET calls.
. XML Data Protocol 
. Web Services (Soap) 
. JSON 2.0
Additional Information:
. https://docops.ca.com/devtest-solutions/10-1/en/using/using-ca-service-virtualization/using-devtest-workstation-with-ca-service-virtualization/creating-service-images/using-data-protocols/xml-data-protocol

. https://docops.ca.com/devtest-solutions/10-1/en/using/using-ca-service-virtualization/using-devtest-workstation-with-ca-service-virtualization/creating-service-images/using-data-protocols/web-services-soap-data-protocol

. https://docops.ca.com/devtest-solutions/10-1/en/using/using-ca-service-virtualization/using-devtest-workstation-with-ca-service-virtualization/creating-service-images/using-data-protocols/json-data-protocol