Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Soap Response not getting in ASP page  RSS feed

Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am using Asp as my client application which send me the request in soapXml format. I process that request in servlet and send back the soapResponse XML. I am creating soap response manually and write it to the Output Stream.

My problem is when I send my response like this:

<?xml version="1.0" encoding="UTF-8" standalone="no"?><soapenv xmlns="" xmlns:ro="" xmlns:xsd="" xmlns:xsi=""><Body><processRequestResponse xmlns=""><processRequestReturn><CopyDisputeResponse><ro:caseType>121</ro:caseType><ro:entityId>222</ro:entityId><ro:deviceType>333</ro:deviceType><ro:disputeType>444</ro:disputeType><ro:isownTerminal>true</ro:isownTerminal><ro:textId>false</ro:textId><ro:issuer>issuer</ro:issuer><ro:accquirer>accquirer</ro:accquirer></CopyDisputeResponse></processRequestReturn></processRequestResponse></Body></soapenv>

My asp get the response and I parsed this XML in my ASP code. But in the above response if you see the Envelop element is not present. When i try to send response with the soap envelop like this :

<?xml version="1.0" encoding="UTF-8" standalone="no"?><soapenv:Envelop xmlns:soapenv="" xmlns:ro="" xmlns:xsd="" xmlns:xsi=""><soapenv:Body><processRequestResponse xmlns=""><processRequestReturn><CopyDisputeResponse><ro:caseType>121</ro:caseType><ro:entityId>222</ro:entityId><ro:deviceType>333</ro:deviceType><ro:disputeType>444</ro:disputeType><ro:isownTerminal>true</ro:isownTerminal><ro:textId>false</ro:textId><ro:issuer>issuer</ro:issuer><ro:accquirer>accquirer</ro:accquirer></CopyDisputeResponse></processRequestReturn></processRequestResponse></soapenv:Body></soapenv:Envelop>

I am not getting anyting in ASP. Please help me out.

Harsh Mudgal
Hey! Wanna see my flashlight? It looks like this tiny ad:
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!