ColdFusion 9 : View SOAP XML before processing it -
Before trying to control access to web service methods by blocking the request in application.cfm / cfc It is processed by the CFC Web Service Code Actually, I want to see which method is being requested and if necessary, cancel the request immediately.
For lush connections, I can see the URL and form scope, which method is being called but for the SOAP requests, the method requested is embedded in the XML SOAP message and I It seems that SOAP requests are not able to access it without using getHttpRequestData ()!
I tried to getPageContext () .getRequest () ... but could not get the SOAP message to reach anyway.
Is there any other way to view XML SOAP messages or to determine which web service method is being called? Try
onCFCRequest ()
is your handler If it does not solve your problem, then getSOAPRequestHeader () < See the documentation for the / code> function. This allows you to be kept in the right direction.
Comments
Post a Comment