How Do I: Move or Copy a Web Service from One Project to
Another?
You can use a web service, which you created in one project, in another
project by moving or copying related files. Moving or copying web service
files is generally straightforward. However, be sure to obey the following
rules:
Create a new destination project folder using WebLogic Workshop. This
ensures that the project is properly configured.
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 these 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.
If you move Java source files (including JWS, JCX or JAVA files), the
package name within the moved files must match the directory hierarchy of
the files' new location.