onCFCRequest() never fired

I’m using Lucee 5.3.3.60-RC on Windows 10

I’m trying to log a call to my wsdl, i add to Application.cfc this:

    Void function onCFCRequest(
            required String cfcName,
            required String method,
            required Struct args
        ) {

        writeLog( text="onCFCRequest() call", file = this.name  );

    }

but onCFCRequest() event is never fired.

I make a call from a ACF:

<cfset uri = "http://LUCEE_HOST:8080/services/shipments.cfc?wsdl">
<cfset ws = CreateObject( "webservice", uri )>

I can use onRequestStart() …

but, why onCFCRequest() is never fired?
where am I doing wrong?

many thanks :upside_down_face:

does it fire when you call an actual method, as opposed to just the WSDL?

Thanks for reply, Zac.

does it fire when you call an actual
method, as opposed to just the WSDL?

Never.

With onRequestStart(), instead, I can see both:

  • when I call the CreateObject() and
  • when I call the method()

time to file a bug!

actually it’s working for me for direct method requests, like /service.cfc?method=login, but not for the WSDL request, using the latest SNAPSHOT

Lucee 5.3.3.62 on Windows 10

I get some test:

  1. ws = CreateObejct( “webservice”, ‘http://host/test.cfc’ ); ← NOT fire
  2. ws.method() ← NOT fire
  3. http://host/test.cfcNOT fire
  4. http://host/test.cfc?wsdlNOT fire
  5. 5 http://host/test.cfc?metthod=eco ← FIRE

Never fired except for direct call in url, with method in query string.

This is a bug?