Friday, February 8, 2008

How do I quickly get a list of web services in a given server?

Sometimes you deploy a .war file to oc4j and are just not be able to find the new web service. This could be because of a typo or just something "special" in the server configuration. It would be really useful to be able to see a list of all the services exposed by the server. In 10.1.3 you could drill down using EM; but that was not always available. (For example when using the cut down server embedded into JDeveloper)

In the 11 branch we have added a few features to make this easier. For a start the connections browser in JDeveloper will show you a list of published web services for each connection it has, including the embedded server:

If you are not using JDeveloper you can access the list of web services in the WSIL format simply by appending "inspection.wsil" to the root of the your servers web url. For example "http://localhost:8988/inspection.wsil". You can then just plug this into your WSIL browser of choice or just view using an ordinary web browser.

No comments: