Chapter 8 Working with Web Services


Web Service tab of the component

The Web Service tab in the component property sheet includes the following properties:

Property Description
Web service class Web service class name. You can click the Properties tool beside this box to display the class property sheet, or click the Create tool to create a class. If the Web service component is a Stateless Session Bean, the Web service class is the bean class as well
Application namespace Usually a package name within the server. The application namespace is used to generate the URL for the Web service in the server. By default, it uses the component package code or the model code, but you can modify it
WSDL URL Indicates where the WSDL is published on the web. For example: http://doc/Webservice1/StockQuote.asmx?WSDL
or http://www.doc.com/Webservices/StockQuote.wsdl
Web service type Interface or Implementation type. Interface refers to a component that defines the service interface only. Implementation refers to a component that implements a service interface
Use external WSDL Indicates that the WSDL is published at a specific URL and that the original WSDL will be preserved. When you import a WSDL, this option is selected by default

Note

For Session Beans, the Web service class and the bean class are synchronized; if you apply some changes in the EJB tab, the Web Service tab is automatically synchronized.

A Web service component may have an external WSDL if it is created from an external WSDL URL. In this case, the WSDL may be published by another organization, and you can either use it, or implement it. A Web service component created from a class can have its own WSDL.

You cannot change the WSDL URL of an external WSDL.

 


Copyright (C) 2006. Sybase Inc. All rights reserved.