Hi, I have virtualized a rest service using request/response pair, where I am expecting an xml response. In the request.txt I have these lines -
GET (url) HTTP/1.1
User-Agent: Apache-HttpClient/4.1.1 (java 1.7)
In the response.txt -
When I test this using soap-ui, in the response I am getting "Content-Type: text". Not sure what I need to do to get content-type as xml in the response. I tried with application/json and it works fine.
When I access the virtualized service through the application - it gives an error
"javax.ws.rs.client.ClientException: java.lang.IllegalArgumentException: Media type separator is missing"
Any help is appreciated. Thanks!!