Monday, November 23, 2009

Web Services in Seconds (SOAP/REST)

Don't blink...

1. open netbeans...



2. create a new Java Web Project



3. create a new Web Service





4. specify the implementation details of your new Web Service



5. deploy it!



6. go see  your newly created Web Service in action!

http://localhost:8080/MyTest/TimeService?wsdl

7. now to support  REST too!



8. test your newly created REST service!





Or just hit:

http://localhost:8080/MyTest/resources/timeserviceport/gettime/


That's it, hope you didn't blink...