16.10.2015 Views

Getting Started with WebSphere Application Server

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

134 <strong>Getting</strong> <strong>Started</strong> <strong>with</strong> <strong>WebSphere</strong> <strong>Application</strong> <strong>Server</strong> Community Edition<br />

Figure 7.3 - Import the stubs to the project<br />

3. Resolve class path errors<br />

At this point the client project may report errors. This is due to missing jar files<br />

required to access and understand SOAP messages sent by the Web service.<br />

To resolve this problem, since you used the jaxws-tools of Community Edition<br />

V2.1.1.3 to generate the stubs, then the Community Edition version should also<br />

adopt the axis2 v1.3 as the JAX-WS v2.0 Engine. Download axis2 v1.3 from:<br />

http://archive.apache.org/dist/ws/axis2/1_3/axis2-1.3-bin.zip<br />

Then, in Eclipse:<br />

- Right click the client project and then select Properties<br />

- Select Java Build Path and then go to Libraries tab<br />

- Add all the external jars underneath the axis2-1.3/lib folder to the build<br />

path of your project. This is illustrated in Figure 7.4 below.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!