The Source for Java Technology Collaboration
User: Password:



Bhakti Mehta

Bhakti Mehta's Blog

Developing Webservices from wsdl using Netbeans

Posted by bhaktimehta on March 05, 2008 at 11:31 AM | Comments (5)

The following blog shows how you can easily create a Webservices project in Glassfish v2 using Netbeans 6.0 from an existing wsdl.
Download Netbeans 6.0 from here
To Start
Select File->Create new Project->Web


Click on finish

Next Right Click on WebServiceFromWsdl  project and select new WebService from wsdl
Here is the wsdl and its schema for this blog

Here is how the screen looks like
selectwsdl.jpg

Click on finish

This is how the generated WebService Design tab looks like
design tab.jpg
You can implement the methods for the service by selecting the Source tab


Right Click on the WebServiceFromWsdl  project and call Run
You will see the project deployed in GF

You can verify by clicking on http://localhost:8080/WebServiceFromWsdl/RMDemoService?wsdl
This is how the published wsdl will look like

publishwsdl.jpg



Bookmark blog post: del.icio.us del.icio.us Digg Digg DZone DZone Furl Furl Reddit Reddit
Comments
Comments are listed in date ascending order (oldest first) | Post Comment

  • Thanks for this tutorial. For a week i wrote a similar tutorial here http://blog.jdevelop.eu/?p=45 , but i am using Tomcat 6 in my example. Switching to GlassFish is very easy with NetBeans 6. Now i know that my way was not the wrong one :-)

    Posted by: sbolz on March 06, 2008 at 12:08 AM

  • _

    Posted by: dante52 on June 17, 2008 at 10:36 PM

  • phone sex
    phone sex
    phone sex
    phone sex
    phone sex
    phone sex
    phone sex
    phone sex
    phone sex
    phone sex
    phone sex
    phone sex
    phone sex handjobs
    mootzie.com

    Posted by: dante52 on June 17, 2008 at 10:37 PM

  • Excellent tutoral, thank you!

    Posted by: endgame on July 02, 2008 at 07:38 AM

  • Even with JAX-RPC plugin, this does not seem to work with NetBeans 6.1. I had to go back and use 6.0 to generate the service. Sadly 6.0 is now caused all kind of issues by itself, module dependencies doesn't seem to be maintained for 6.0 any longer. :(

    Posted by: mrmorris on July 08, 2008 at 07:47 AM



Only logged in users may post comments. Login Here.


Powered by
Movable Type 3.01D
 Feed java.net RSS Feeds