Getting issue with REST web service
We are getting problem, with Rest Service. We followed below steps.
1) Created REST service.
2) Used Post method, and specified our input XML under "query string"section
3) Invoke Rest Service via Mozilla REST client and got below Results.
We are getting problem, with Rest Service. We followed below steps.
1) Created REST service.
2) Used Post method, and specified our input XML under "query string"section
3) Invoke Rest Service via Mozilla REST client and got below Results.
- Response Headers
- Status Code: 200 OK
- Content-Length: 0
- Content-Type: application/xml;charset=UTF-8
- Date: Mon, 08 Feb 2016 09:30:57 GMT
- Server: Apache-Coyote/1.1
- Set-Cookie: JSESSIONID=0310D7B69A1645B6221BE925FF84F0B6; Path=/prweb
- X-Powered-By: Servlet 2.5; JBoss-5.0/JBossWeb-2.1
- Response Body(Preview)
<parsererror>
XML Parsing Error: no element found Location: http:// Proprietary information hidden:8080/prweb/PRRestService/Claims/Xchanging-Insurance-CWS-Claim/CreateClaim Line Number 1, Column 1:
<sourcetext> ^</sourcetext>
</parsererror>