ServiceRef

The service-ref element declares a reference to a Web service. It contains optional description, display name and icons, a declaration of the required Service interface, an optional WSDL document location, an optional set of JAX-RPC mappings, an optional QName for the service element, an optional set of Service Endpoint Interfaces to be resolved by the container to a WSDL port, and an optional set of handlers.

Inherits from type CompatibilityDescriptionGroup and adds the following.

Attributes Summary
serviceRefName : StringThe service-ref-name element declares logical name that the components in the module use to look up the Web service.
wsdlFile : String The wsdl-file element contains the URI location of a WSDL file.
jaxrpcMappingFile : StringThe jaxrpc-mapping-file element contains the name of a file that describes the JAX-RPC mapping between the Java interaces used by the application and the WSDL description in the wsdl-file.
portComponentRefs : PortComponentRef * The port-component-ref element declares a client dependency on the container for resolving a Service Endpoint Interface to a WSDL port.
handlers : Handler * Declares the handler for a port-component.
serviceQname : QName  

Attribute Details

serviceRefName    -    The service-ref-name element declares logical name that the components in the module use to look up the Web service. It is recommended that all service reference names start with "service/".
     data type:  String
     default Value:   unspecified



wsdlFile    -    The wsdl-file element contains the URI location of a WSDL file. The location is relative to the root of the module.
     data type:  String
     default Value:   unspecified



jaxrpcMappingFile    -    The jaxrpc-mapping-file element contains the name of a file that describes the JAX-RPC mapping between the Java interaces used by the application and the WSDL description in the wsdl-file. The file name is a relative path within the module file.
     data type:  String
     default Value:   unspecified



portComponentRefs    -    The port-component-ref element declares a client dependency on the container for resolving a Service Endpoint Interface to a WSDL port. It optionally associates the Service Endpoint Interface with a particular port-component. This is only used by the container for a Service.getPort(Class) method call.
     data type: PortComponentRef*



handlers    -    Declares the handler for a port-component. Handlers can access the init-param name/value pairs using the HandlerInfo interface. If port-name is not specified, the handler is assumed to be associated with all ports of the service.
     data type: Handler*



serviceQname    -     
     data type: QName


Copyright IBM Corp. 1997-2004