Web service component property sheets contain all the standard component properties, and some additional tabs.
The Web Service tab includes the following properties:
Property |
Description |
---|---|
Web service class |
Specifies the Web service class name. Use the tools to the right of the list to create, browse for, or view the properties of the currently selected class. If the Web service component is a Stateless Session Bean, the Web service class is also the bean class. |
Application namespace |
Specifies the application namespace, which is used to generate the URL for the Web service in the server. By default, the component package or model code is used, but you can override it here. |
WSDL URL |
Specifies where the WSDL is published on the web. |
Web service type |
Specifies the type of Web service. An interface is a component that defines the service interface only. An implementation is a component that implements a service interface. |
Use external WSDL |
Specifies 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. |
The WSDL tab includes the following properties:
Property |
Description |
---|---|
Target namespace |
Specifies a URL linked to a method that ensures the uniqueness of the Web service and avoids conflicts with other Web services of the same name. By default, this field is set to http://tempuri.org for .NET and urn:%Code%Interface for Java, but we recommend that you change it to ensure the service name uniqueness |
Prefix |
Specifies the target namespace prefix |
Encoding style |
Specifies the kind of encoding, either SOAP (soap:xxx) or XML-Schema (xsd:xxx) for the WSDL |
Comment |
Provides a description of the WSDL file. |
WSDL editor |
Allows you to edit the contents of the WSDL. If you make edits, then the User-Defined tool is pressed. |
The WSDL Schema tab in the component property sheet includes a text zone that contains some shared schema definitions from the WSDL schema. This part of the schema defines the data types used by the input, output and fault messages.
The other part of the schema is defined within the different Web methods (operations) as SOAP input message data types, SOAP output message data types, and SOAP fault data types (see Defining SOAP Data Types of the WSDL Schema).
These tabs include the following properties:
Name |
Description |
---|---|
SOAP binding style |
Defines the SOAP binding style. It could be a document or rpc Scripting name: SoapBindingStyle |
SOAP binding transport |
Defines the SOAP binding transport URI Scripting name: SoapBindingTransport |
SOAP body namespace |
Defines the namespace of the XML schema data types in the WSDL Scripting name: SoapBodyNamespace |
Business name |
Stores the name of the business found in a UDDI registry Scripting name: BusinessName |
Business description |
Stores the business description of the Web Service found in a UDDI registry Scripting name: BusinessDescription |
Business key |
Stores the key of the business found in a UDDI registry Scripting name: BusinessKey |
Namespaces |
Stores additional namespace that are not automatically identified by PowerDesigner Scripting name: Namespaces |
Service name |
Stores the name of the service found in a UDDI registry Scripting name: ServiceName |
Service description |
Stores the service description of the Web Service found in a UDDI registry Scripting name: ServiceDescription |
Service key |
Stores the key of the service found in a UDDI registry Scripting name: ServiceKey |
tModel name |
Stores the name of the tModel found in a UDDI registry Scripting name: tModelName |
tModel key |
Stores the key of the tModel found in a UDDI registry Scripting name: tModelKey |
tModel URL |
Stores the URL of the tModel found in a UDDI registry. It allows you to retrieve the WSDL Scripting name: tModelURL |
UDDI operator URL |
Stores the URL of the UDDI registry operator URL used to find the WSDL Scripting name: UDDIOperatorURL |
You can use the Preview tab of the component to preview the code that will be generated for the Web service component.