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

You can use a web service you have created in one project in another WebLogic Workshop project by moving or copying related files.

Moving or copying WebLogic Workshop web service files is generally straightforward. However, be sure to obey the following rules:

1. Create the destination using WebLogic Workshop's File menu. This ensures that the project is properly configured.

2. Do not copy the WEB-INF or EJB subdirectories from one project to another. These folders contain compilation results that are location-specific. If you copy them from one project to another the destination project will not operate properly. To fix the problem, delete these directories and rebuild the web services in the project.

3. If you move a Java file (including JWS, CTRL or JAVA files), the directory hierarchy and package hierarchy must match when you are finished.

Related Topics

WebLogic Workshop Projects