J2EE 5 project and Mobility Pack 5.5
By lukas on Aug 10, 2006
Mobility Pack has two wizards for connecting to a server (more about them).
- J2ME Web Service Client - generates client using Webservices API (JSR172).
- Mobile Client to Web Application - generates a server part and a client part that communicates together. You can generate mobile clients to Webservice client too.
The Mobile Client to Web Application needs an Web Application with webservice client, a class or a servlet that will provide data to it. Unfortunatelly the Mobile Client to Web Application doesn't work with JAX-WS 2.0 webservice clients. The wizard won't show you any webservice client that is created in J2EE 5 web project.
This situation has easy workaround. Create new Web project but the J2EE version has to be different than Java EE 5. For not J2EE 5 webservice clients you can use the Mobile Client to Web Application wizard .
There has been bug reported for this problem. It will not be fixed for 5.5 release. It is noticed in Release Notes.