Is there anyway we can hide the operations in a wsdl .
The business requirement is I don’t want the target systems to see the operations in the wsdl which I am working on. By this way, they don’t invoke the service when I am editing it .
For your requirements, it will be better if the exposed services are exposed under a wrapper.
Doing this will help you update the wrapper service as “Under maintenance” and work on the business service.
I am using wsdl first provider only and my requirement is to hide the operations in the wsdl for the external system but it should still be in wsdl so that I can work on it.
Are you using mediator , centrasite ?
Then how about creating a virtual service for the required operation only. Then share the virtual service WSDL to the end party.
Do centrasite have the option to publish only selected operations . If so please let me know the steps. I didn’t see that option when I tried the same.
You need to create a WSDL file in XMLSPY tool (You can use other tools available) manually and provide the operations and binders information manually for whatever operation you want and consume the WSDL as Provider in designer.
By this way you will expose only the selected API’s.
Also as @Rakesh mentioned you can either virtualize the service and edit the WSDL or edit the WSDL file directly and keep only selected operations.