I'm monitoring the webservices of an application. I have many namespaces and methods.
But just want to monitor the method getCategory.
how to create the PDB file?
You would need to edit the webservices.pbd to disable the existing tracer group and then create your own.
I would recommend you go to http://bit.ly/caapm_dev and look at the posted resources concerning ProbeBuilder Directives (PBD) post there.
Beyond the basic development questions, why restrict yourself to the one method? Would it not make more sense to ignore those others when setting up your monitoring?
Please let us know if Hiko's response is helpful and if you plan to move forward in customizing webservices.pbd. Or are you thinking about another approach?