Designer 10.7 | Web Services Stack Help | Managing Web Service Packages | Creating Web Service Packages
 
Creating Web Service Packages
 
Using the Web Services Stack Package Builder
You create Web service packages out of Java classes and WSDL files contained in your Java projects in Designer. A single Java project can contain multiple Web service packages which differ in configuration and exposed functionality. Later you can deploy the created Web service package to an application server to expose its Web services and make their functionality available to other applications.
*To create a web service package
1. In Designer, open the Project Explorer view.
2. In the Project Explorer, right-click the Java project, where you want to create a Web service package.
3. On the context menu, select Web Services Stack > Add Web Services Package.
4. In the Web Services Packaging Wizard, specify a container and a unique name for the Web service package, and click Next.
By default, the container is the Java project.
5. Select and open the source file which you want to expose as a Web service, and click Next.
You can select a WSDL file or a Java class file as a source file on the file system.
Note:
The source file you expose must be in the same Java project where you create the Web service. You cannot expose external files as Web services in the current Java project.
6. Optionally, select supplementary meta-information files, and click Next.
The files you select in this step are included in the META-INF directory of the Web service package.
7. Optionally, select supplementary source files, and click Next.
The files you select in this step are included in the root directory of the Web service package.
8. Click Finish.
Related Topics