Nortel Networks NN42020-123 User Manual

Page 20

Advertising
background image

NN42020-123 MCS 5100 3.5 Standard 4.0 4.0 January 2006

20

Copyright © Nortel Networks Limited 2006

This creates the client stubs under
d:\opiclient\com\client\opi\service

and the client data objects (beans) under
d:\opiclient\com\nortelnetworks\ims\opi

.

The namespace mapping from OPI to com.client.opi.service can
be changed to another mapping of choice.

Note: The OPISoapBindingStub.java that is generated
under com\client\opi\service will have a large static
block that will not compile. This file must be edited by hand to
split the large static block into two to three smaller ones so that
it compiles. This is a known issue due to the fact that the code
is auto generated.

3

Compile the files that were generated in the above step using
either command line ’javac’ or an IDE like netbeans or eclipse,
and put them into a separate folder.

In the example javac is used (shown in the following
screenshot). A folder called classes was created in this
example, and the generated class files put into it.

Advertising