Hi
if api getting soap request using cfhttp like below:
<cfxml variable="mydata">
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header />
<soapenv:Body>
<ns:service_soap_call soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<login>test</login>
<password>test</password>
</ns:service_soap_call>
</soapenv:Body>
</soapenv:Envelope>
</cfxml>
<cfhttp url="http://sm.iclp-dubai.ae/research/wsdl/MyPointsBank.cfc?wsdl" method="post" charset="utf-8" result="myresult">
type" value="text/xml">
<cfhttpparam type="header" name="SOAPAction" value="">
<cfhttpparam name="soapInput" type="xml" value="#trim(mydata)#"/>
</cfhttp>
then how to get Soap Request in application cfc.
like :
<cfif IsSOAPRequest() >
<cfset soapreq = GetSOAPRequest() />
</cfif>
I want to validate the soap xml Request before calling targeted CFC.
Any suggestion!.