Quantcast
Channel: Adobe Community: Message List - ColdFusion
Viewing all articles
Browse latest Browse all 21760

Re: Is it possible to modify the SOAP response?

$
0
0

this is the response I get when I run the wsdl in SoapUI:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

   <soapenv:Body>

      <ns1:sendMetadataResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:model:ws:document">

         <sendMetadataReturn xsi:type="xsd:string">OK</sendMetadataReturn>

      </ns1:sendMetadataResponse>

   </soapenv:Body>

</soapenv:Envelope>

 

And this is what I want the soap response to look like:

 

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

   <soapenv:Body>

      <ns1:sendMetadataResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:model:ws:document">

         <return>OK</return>

      </ns1:sendMetadataResponse>

   </soapenv:Body>

</soapenv:Envelope>

 

Many thanks for your help.


Viewing all articles
Browse latest Browse all 21760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>