Tuesday, August 28, 2012

What is the Endpoint of a Web Service Deployed on GlassFish Server ?

This evening, I was trying to play a little bit with GlassFish server to familiarize myself with it. I created a simple web service and deployed it to the server.

I followed the top-down approach by creating a wsdl, generating the stub code and writing my logic in the Impl class. I then deployed it to the server. When it came to testing the service, it took me some time to figure out what the endpoint of my web service was.

Here is where you can find the endpoint: Even though you have given a different address in the location element of the wsdl that you used to generate the stub, this address is overwritten in the wsdl file that is generated when you generate the stub code. Look under <Project Root Folder>/WebContent/WEB-INF/wsdl/<PortName in your WSDL>.wsdl for the new address as shown in the picture.

Web Service Endpoint - GlassFish Server 3.1

It looks like the endpoint for both top-down and bottom-up approaches will be in the following format
http://<Host>:<Port>/<Application Name>/services/<Port Name in your WSDL>

Tuesday, August 14, 2012

Free IPhone and IPad App development Course by Mr. Paul Hegarty (@ Stanford Univ.)

Absolutely love this course!! I should mention that i greatly admire Mr. Hegarty for his style of teaching. A must go thru for any one who is trying to learn development of iOS applications.




If you have access to iTunes, click "iTunes store" in the navigator > "iTunes U" (on the drop-down arrow) in the menu > select "Universities & Colleges" > select "Stanford" > In the "All Courses" section, click on "See All" and select "iPad and iPhone App Development (Fall 2011)" [Try and select the course that is latest].

You should be able to view all of the course material.

For more info and course material, visit Mr. Hegarty's blog

Good Luck with your "iDevelopment"!