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

P> () Event handler in application.cfc. In the case of usage, you describe the sounds like 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

Popular posts from this blog

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -