Using the Java EE Service Engine to Create a Composite Application

ProcedureTo Create a Web Service from WSDL

  1. In the Projects window of the IDE, right-click the Hello node and choose New -> Other.

  2. In the Categories list select Web Services and in File Types select Web Service from WSDL.

    Categories and File Type
  3. Click Next.

  4. Type the Web Service Name as HelloWebWSDL and the Package name as Hello1.

    Web Service and Package Names
  5. Click the Browse button to select local WSDL file or the WSDL URL and then click Open.

    Selecting the WSDL URL
    Note –

    This WSDL File or the WSDL URL is located in the NetBeans Projects folder. For example: C:\Documents and Settings\Administrator\My Documents\NetBeansProjects\Hello\src\java This path is valid if you have used the default project location while creating the EJB module project.


  6. Click Finish.

  7. Click the Source button and add the following line to the public class.

    return "Java EE Service Engine" + in;

    Adding String to Public Class
  8. From the NetBeans IDE toolbar click Save All button.