Copyright © Nortel Networks Limited 2006 | 20 |
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.
3Compile 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.