Step 1. Create the Web Service Client Project 

Time to complete this step: 10 minutes

In this tutorial, you will develop a client interface for the previously created JAX-WS Web Services using the ClientGen functionality of OEPE.

In this step, you will create a new dynamic web project called  TroubleTicketSystemWebClient that is enabled with a WebService Client facet.  

Before you start the tutorial steps, download the and unzip it. The extracted resources folder has set of JSP pages for web service invocation.

You will perform the following tasks in this step:

Create a new dynamic web project named TroubleTicketSystemWebClient  

  1. Right click in the Project Explorer and choose New > Dynamic Web Project
  2. Enter the project name TroubleTicketSystemWebClient  in the New Dynamic Web Project wizard.

  3. For the Configuration option, click Modify... This opens the Project Facets dialog for selecting the facet(s) for the project. Select the  WebLogic Web Service Clients and the Java Annotation Processing Support facet.

  4. Click OK. That adds the support for developing annotation-based web service clients.
  5. In the New Dynamic Web Project wizard, click Finish.  


Configure and deploy the TroubleTicketSystemWebClient on the server

  1. Switch to the Java EE perspective, if that is not the default.
  2. In the Servers view (towards the bottom of the screen), right-click the Oracle WebLogic Server 10gR3 at localhost and select Add and Remove...

  3. Select the TroubleTicketSystemWebClient project on the left-side and click Add > for configuring the TroubleTicketSystemWebClient project on the server. 


  4. Click Finish.
  5. That configures the TroubleTicketSystemWebClient project on Oracle WebLogic Server 10gR3.

  6. Right-click the  Oracle WebLogic Server 10gR3 at localhost and select Start.

  7. That starts the Oracle WebLogic Server and deploys the TroubleTicketSystemServer and TroubleTicketSystemWebClient web projects.

Click the arrow below to navigate through the tutorial: