Question4Replies200Views GurpreetX Member since 2014 1 post Xchanging Technology Services Posted: 4 years agoLast activity: 4 years 7 months ago Closed Getting issue with REST web serviceWe 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"section3) Invoke Rest Service via Mozilla REST client and got below Results.Response HeadersStatus Code: 200 OKContent-Length: 0Content-Type: application/xml;charset=UTF-8Date: Mon, 08 Feb 2016 09:30:57 GMTServer: Apache-Coyote/1.1Set-Cookie: JSESSIONID=0310D7B69A1645B6221BE925FF84F0B6; Path=/prwebX-Powered-By: Servlet 2.5; JBoss-5.0/JBossWeb-2.1Response Body(Preview)<parsererror>XML Parsing Error: no element found Location: http://10.145.99.48:8080/prweb/PRRestService/Claims/Xchanging-Insurance-CWS-Claim/CreateClaim Line Number 1, Column 1:<sourcetext> ^</sourcetext></parsererror> Data Integration ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Moderation Team has archived post This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question. Posted: 4 years agoJOHNPW_GCS PEGA replied to GurpreetXHi Kaur,Are you able to log both your outgoing REST request to PRPC as well as the response ? Using TCPMON or FIDDLER or something like that ?I'm not sure who is generating the '<parseerror>' XML fragment - PRPC or the REST client ?CheersJohn Posted: 4 years agoGurpreetX Xchanging Technology Services replied to JOHNPW_GCSWe actually got same error in SOAP UI as well. Posted: 4 years agoJOHNPW_GCS PEGA replied to GurpreetXSo what are you actually POSTING to the Pega REST service ?The message appears to be indicating that PRPC was unable to process an incoming XML payload.Are you posting a JSON payload to the Pega REST service ?Is you PRPC REST service expecting XML maybe ? Posted: 4 years agoGurpreetX Xchanging Technology Services replied to JOHNPW_GCSOk here is what I did:1) created blank activity to be called in REST service.2) so when I invoke web service, I am actually doing nothing with the data..Can you please explain where to map the input xml in REST service rule?I mapped input XML in query string section!!