Deployment properties

The following deployment properties apply only to Web services using the IBM SOAP run-time environment.

Property Default value Description
Web Service URI http://tempuri.org/service

The default value is computed from the name of the artifact or taken directly from the WSDL document. The URI can be edited only when creating a Web service from a Java bean or an EJB. The default base URI http://tempuri.org/ is used to construct a URI without any unique association to an entity. The host name tempuri comes from the WSDL specification and stands for temporary URI. Use the default base URI when you do not want to make the URI globally unique. It is not recommended to use http://tempuri.org/as the base for stable fixed entities.

The URI uniquely identifies your Web service among deployed services. The Uniform Resource Identifier (URI) for your Web service is automatically generated by the wizard from the artifact you selected to turn into a Web service.
Scope (Java bean only) Application Identifies the lifetime of the object serving the invocation request.

  • If set to Application, a single instance of the service bean is constructed for the life of the server. The object is available to and shared by all clients of the service.

  • If set to Request, a new service bean is constructed by the server for each SOAP request. The object is available for the complete duration of the request.

  • If set to Session, a new service bean is constructed by the server for each new SOAP session as maintained by cookies on the client side. The object is available for the complete duration of the session.

Use static methods No If set to "Yes" the class method that is made available is a static method and thus no object will be instantiated. When static invocation is used, the "scope" property is not applicable. Does not apply to enterprise beans.
Use secure SOAP (WebSphere only) No Secure SOAP refers to SOAP Digital Signature security. If set to "Yes" the Web service is deployed in a secure SOAP run-time to the WebSphere Application Server. When a secure SOAP run-time is used, there is a reduction in performance. A secure SOAP run-time requires the generation of a secure Proxy. For more information on SOAP Digital Signature security, refer to www.w3.org/TR/2001/NOTE-SOAP -dsig-20010206

Important: Once you have created a Web project with a Web service that is not secure you can not make it secure. Once you have created a Web project with a secure Web service you can not remove the use of secure SOAP.

Method List Supported methods displayed. Methods that can be invoked on the service object and encoding styles. Select encoding styles for input parameters and output return. The methods list will display supported methods for a selected service object.
Type Mappings Input encoding:

  • Literal XML: For a method with one or more parameters all of type org.w3c.dom.Element.

  • SOAP: For a method with zero or at least one parameter of type other than org.w3c.dom.Element.

Controls the serialization and deserialization of data types to and from XML in a particular encoding style.
Type Mappings Output encoding

  • Literal XML: For a method return type of org.w3c.dom.Element.

  • SOAP: For all other method return types.

Controls the serialization and deserialization of data types to and from XML in a particular encoding style.
JNDI provider URL (enterprise beans only) For WebSphere Application Server: iiop://localhost:2809/ Specifies the host name (and optionally, the port number) for the name server. The provider URL must have the following form (where hostname is the remote name server host name and port is the port number on which the remote name server is listening): iiop:// hostname:port/
JNDI initial context factory (enterprise beans only) For WebSphere Application Server com.ibm.websphere.naming. WsnInitialContextFactory Given a EJB JNDI name, the JNDI initial context factory will return an EJB Home object.
EJB JNDI name (enterprise beans only) Default value based on EJB object selected. Used to locate an EJB home object.
EJB home interface class name (enterprise beans only) Default value based on EJB object selected. Name of the EJB home. An EJB home is an object that provides the life cycle operations (create, remove, find) for an enterprise bean. The class for the EJB home object is generated by the container deployment tools. The EJB home object implements the enterprise bean home interface. The client references an EJB home object to perform life cycle operations on an EJB object. The client uses JNDI to locate an EJB home object.
EJB remote interface class name (enterprise beans only) Default value based on EJB object selected. Class name of the EJB object.

 

Parent topic

WSDL files generated by the IBM SOAP runtime

Collected links
Developing Web services