The Web services connector has the following
definitions externalized in the service definition file, self-defined
processor or operation:
- id
- The name of the Web services connector. This is a mandatory attribute.
- implClass
- The name of the class the toolkit is to instantiate. By default,
there are two classes, BTTJaxRpcConnector, BTTJaxWsConnector. As names
imply, the former is used for JAX-RPC connection, the letter used
for JAX-WS connection.
- namespaceUri
- The name of the target Namespace in the WSDL file. This is a mandatory
attribute.
- serviceName
- The service name in the WSDL file. This is a mandatory attribute.
- portName
- The port name in the WSDL file. This is a mandatory attribute.
- serviceEndpointInterface
- The business interface which the client will use. In the case
of the JaxWsConnector, the value is the name of service definition
interface which has the annotation of @WebService. In the case of
JaxRpcConnector, the value is the name of interface that extends from
java.rmi.Remote. This is a mandatory attribute.
- wsdlUrl
- The path for the WSDL file, which can be a URL, absolute path
or relative path of the project. This is a mandatory attribute.
- userName
- Basic HTTP Authentication required user name. This is a optional
attribute.
- password
- Basic HTTP Authentication required password. This is a optional
attribute.