title: ColdFusion 9 : View SOAP XML before processing it
body: <p>I am trying to control access to web service methods by stopping the request in application.cfm/cfc before it gets processed by the CFC web service code.  Basically, I want to see what method is being requested and immediately abort the request if necessary.</p>
  
  <p>For RESTful connections, I can look at the URL and FORM scopes to determine which method is being called.  But for SOAP requests, the method being requested is embedded in the XML SOAP message and I can't seem to access it without using getHttpRequestData(), which breaks the SOAP request!</p>
  
  <p>I've tried using getPageContext().getRequest()... but can't find anyway to access the SOAP message.</p>
  
  <p>Is there some other way to view the XML SOAP message or determine which web service method is being called?</p>