How Do I: Start A New Project?

A WebLogic Workshop project may contain one or more web services. Typically the web services in a project are related in some way. The project name you provide will be visible to clients accessing your web service, so it should describe the collective purpose of the services in the project.

When you create a project in WebLogic Workshop, you are also creating a WebLogic Server web application. For more information about projects and web applications, see WebLogic Workshop Projects.

To Create a Project from WebLogic Workshop

1. In the WebLogic Workshop visual development environment, select the File menu, then New Project. The New Project dialog appears.

2. In the Project Name field, type the name you would like to give your new project.

This name will become part of the URL used to access web services in the project. For example, for a deployed web service, the name you enter in the Project Name box corresponds to MyProject in the following URL:

http://server:port/MyProject/MyService.jws

For services you are testing on your development computer, you will use a URL similar to the following:

http://localhost:7001/MyProject/MyService.jws

In addition to being part of the URL of all web services in the project, the project name is also used as the Java package name for all Java classes declared in the project. Therefore, the project name must be a valid Java identifier.

3. Click OK. This creates a new folder with the name you entered in step 1.

4. In the Create New File dialog, under Type of file to create, confirm that Web service is selected.

After you create a new project, WebLogic Workshop automatically prompts you to create the first file in the project. You can create a new web service or other file, click Cancel to create an empty project.

Related Topics

WebLogic Workshop Projects

How Do I: Move or Copy a Web Service from One Project to Another?