Quantcast
Channel: Adobe Community : Discussion List - ColdFusion
Viewing all articles
Browse latest Browse all 6243

Is it possible to modify the SOAP response?

$
0
0

Dear all,

 

I urgently need your help. I am new to SOAP and Webservices and have tried hard for the last 2 days to find a solution.

 

Is it possible to modify the soap response?

 

I'm writing a webservice that contains a method called "sendMetadata". It will be invoked by a client who will pass as argument, the document metadata. The logic is simple, I will either insert or update the metadata that it receives and return a string, "OK", "NOT OK", etc.

 

I would like to know if it is possible to modify the SOAP response. ColdFusion puts in its own Envelope, Header and Return tags from the component function that is being called. I want to change the name of the node that is returned in the soap response, because what Coldfusion is returning is not what the client expects.

 

To be precise, I want the node to be called "return" and not "sendMetadataReturn". The client wants the response to follow the xsd:

 

<xs:complexType name="sendMetadataResponse">

<xs:sequence>

<xs:element name="return" type="xs:string" minOccurs="0"/>

</xs:sequence>

</xs:complexType>

 

 

Any ideas?

 

Thanks for any help you can give.

Cheers,

Scott


Viewing all articles
Browse latest Browse all 6243

Trending Articles



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