Create a library, and import the ready-made WSDL files
into it. These files are the web service interfaces that you will
use to connect to the delayed and real-time services.
To create the Resources library
and import the ready-made WSDL files into it, complete the following
steps.
- In the Business Integration view, under Projects click New.... Select Library as the
type of project and click Next. For the Library
name specify Resources. Click Finish. If you already have projects in the Business Integration view,
then right-click a project and select New > Project > Library. Name it Resources. Click Finish.
- Right-click the Resources project
and select Import. In the Select an import
source text box, type wsdl and select WSDL and XSD. Click Next.
- Choose the option to import the wsdl locally and click Next.
- In the source directory field, browse to the directory
where you installed shared resources (the default directory is Shared_Resources).
In the shared resources directory, navigate to plugins/com.ibm.wbit.samples.content_qualifier/artifacts/stockquote/wsdl (where qualifier is a string
that is appended to the plugin name and indicates the version number
and time stamp, for example, 7.0.0.v20091113_0200). Click OK.
- In the Import wizard, select both
WSDL files: DelayedService.wsdl and RealtimeService.wsdl.
- The target module is Resources.
- Click Finish to import the WSDL
files.
The available port types and ports based on the imported WSDL
files are created under the Interfaces and the Web Service Ports categories
in the navigation tree respectively.