To enable IBM® WebSphere® Multichannel Bank
Transformation Toolkit applications
to interact with Web services, you must first define data for the
Web services connector.
Procedure
To define data for the Web services connector, do the
following steps:
- In the btt.xml file, declare both
the BTTJaxWsConnector class and the BTTJaxRpcConnector class
by adding the following two fields:
<field id =”JaxWsConnector” value=”com.ibm.btt.ws.BTTJaxWsConnector” />
<field id =”JaxRpcConnector” value=”com.ibm.btt.ws.BTTJaxRpcConnector” />
- In the services.xml file, declare
a Web services connector for every Web service that you want to invoke. In the following block of sample code, the com.ibm.btt.services.ws.jaxws.BTTJaxWsConnector class
is specified for the PeopleService service:
<service id=”PeopleService”
namespaceUri="http://mock.dallas.com/"
serviceName="PeopleServicesService"
portName="PeopleServicesPort"
serviceEndpointInterface="com.dallas.mock.PeopleServicesDelegate"
wsdlUrl="/WEB-INF/wsdl/PeopleServicesService.wsdl"
implClass="com.ibm.btt.services.ws.jaxws.BTTJaxWsConnector" />