How to call a web service from a browser

I’ve been working with web services a lot this past week, specifically with Apache CXF, and here are a few notes I’ve learned about hitting one of my web services from a browser.

Looking at the WSDL for a web service from a browser

To view the WSDL document for the web service I created named UserService, I just went to the following URL in my browser:

http://localhost:8080/test/services/UserService?wsdl

For my purposes right now I’m just running the web service using the CXF core under JBoss Tomcat, so my UserService web service is available at that URL.

Calling a web service set method from a browser

To call a method on my web service named setTwoNumbers, which shows up in the WSDL as setTwoNumbers(int param0, int param1), I typed this as a URL in my browser:

http://localhost:8080/test/services/UserService/setTwoNumbers?param0=5&...

Calling a web service get method from a browser

After first calling my method to set the two parameters, I was then able to call these two methods and get my numbers (5 and 10) back from them:

http://localhost:8080/test/services/UserService/getNum1
http://localhost:8080/test/services/UserService/getNum2

Install Classic Menu Indicator in Ubuntu 12.04

The classic menu indicator is now available to Ubuntu 12.04 LTS Precise Pangolin and the earlier releases Oneiric and Natty as well. It will add a quite similar Gnome classic menu with sub menus for applications and system settings menus. Install Classic Menu Indicator in Ubuntu 12.04 Precise Pangolin/11.10 Oneiric/11.04 Natty

Classic Menu

Installation of Classic Indicator, open Terminal and enter following commands:

sudo apt-add-repository ppa:diesch/testing
sudo apt-get update 
sudo apt-get install

Now Press Alt+F2 and enter following command to start indicator:

classicmenu-indicator