Create a Web service from an ISD file using IBM SOAP

 

+
Search Tips   |   Advanced Search

 

 

Overview

An ISD file is a Web service deployment descriptor. A deployed ISD file provides information to the SOAP run-time environment about the services that should be made available to clients for example URI, methods, classes, serializers, and deserializers.

  1. If you are using the Apache Jakarta Tomcat servlet container as your server, install it, configure an instance of it, and create a Web project targeted to it.

  2. If you are using a WebSphere server, create a dynamic Web project targeted to the appropriate server

    Start the server before running the Web service wizard since it may take several minutes to start the WebSphere Application Server depending on the speed of your computer. To start the server...

    Window | Show View | Servers | server (right-click) Start

The Web Service wizard assists you in creating a new Web service, configuring it for deployment, deploying the Web application, testing your new Web service, creating a sample application, and publishing the Web service to a UDDI Business Registry.

The ISD Web service enables you to redeploy beans and EJBs without having to re-specify all of the configurations and mapping information.

The ISD stores information such as EJB JNDI, EJB home name, URI, methods, classes, scope, and type mappings.

 

 

To create a Web service from an ISD:

  1. Switch to...

    Window | Open Perspective | J2EE

  2. In the Project Explorer view, select the Web project in which you want to create the Web service.

  3. Click...

    File | New | Other | Web Services | Web Service wizard | Next

  4. On the Web Service page select ISD Web service from the Web service type drop down menu. You can optionally choose to do the following:

    • Start the Web service in a Web project - if you do not select this option you will have to manually start the Web service. You must select this option to enable the other options on this page.

    • Launch the Web Services Explorer to publish your Web service to a UDDI registry.

    • Generate a Java bean client proxy to the Web service. The Java bean client proxy that is generated provides a remote procedure call interface to the Web service.

    • Test the Web service - this allows you to test the Web service in the Web Service Explorer before a proxy is generated.

    • Send the Web service traffic through the TCP/IP Monitor, which allows you to watch the SOAP traffic generated by the Web service and to test this traffic for WS-I compliance.

    • Test the Web service - this allows you to test the Web service in the Web Service Explorer before a proxy is generated.

    • Launch the Web Services Explorer to publish your Web service.

    • Generate a Java bean client proxy to the Web service. The Java bean client proxy that is generated provides a remote procedure call interface to the Web service.

    • Test the generated proxy by Web service sample JSP, Web tooling sample JSP, or the Universal Test Client.

  5. Service Deployment Configuration page: specify the server and client deployment settings.

    1. Click Edit and select the IBM SOAP run-time environment and select the server on which you want to run your Web service and Web service client.

    2. Select the Web project and EAR in which you want your Web service created. The wizard will create these for you if they do not already exist.

    3. Select the type and name of project in which you want the Web service client created. If you enter the name of an existing project, the project type field must match that of the existing project. If you enter a name of a project that does not already exist, the wizard will create the project for you. Note that the only project type supported for Axis and SOAP run-time clients is a Web project. If you want the client to be created in a Java, EJB, or Application Client project, select the WebSphere run-time environment for your client.

    4. Select an existing EAR or enter a unique name to associate the Web service client with a different EAR than the Web service EAR. Note: Selecting different EARs for the Web service and Web service client can reduce the chance of encountering run time errors, but will use more system resources.

  6. Web Service ISD Selection Page: Enter the name of the ISD file from which you want to create a Web service.

  7. Web Service Test page: If you selected to test the Web service, select the test facility for the generated Web service. This will open the Web service in the Web Services Explorer. Select the operation you want to test, enter the required information, and clickGo. The result will display in the Status pane. Click Next.

  8. Web Service Binding Proxy Generation panel: if you have selected to generate a proxy, select the binding and proxy options.

  9. Web Service Client Test page: Use this page to select the following options:

    • Select your test facility. You can test the generated proxy in the Universal Test Client or the Web Service Explorer, or you can generate a sample Web service JSP.

    • If you selected to test the proxy through a JSP, you can select the folder where the JSP will be located, and you can select the methods that will be included in the JSP.

    • Select Run test on server to start the server for you automatically.

  10. Web Service Publication page: Select whether or not you want to publish this Web service to a UDDI registry. Click Finish.

After the Web service has been created, the following may occur depending on the options you selected:

Note: If your methods contain unsupported types such as arrays, indexed properties, and collections, the methods will be omitted from the sample and you will receive a warning message.

Once you have created your Web service from a deployment descriptor, you may test the methods of your Web service, using the Web Services Explorer or Universal Test Client, and then publish your Web service to a UDDI Business Registry.

 

Parent topic

Creating Web services with the IBM SOAP run-time environment

 

Related Concepts

Tools for Web services development
Web services development
Web services run-time environments

Related Tasks
Developing Web services
Using the Web Services Explorer

Related Reference
Deployment properties
Mapping properties
WSDL documents