Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Creating Web Services from Enterprise Bean
Creating Web Services from Enterprise Bean [message #653948] Sat, 12 February 2011 01:35
Sam  is currently offline Sam Friend
Messages: 5
Registered: February 2011
Junior Member
Hello,

With Eclipse 3.6 EE Developer, I tried to create a Web Service from an EJB class, but it failed with the following statement:
========================================

The service class "au.com.housewareonline.dao.facade.RoleFacade" does not comply to one or more requirements of the JAX-RPC 1.1 specification, and may not deploy or function correctly.
The method "create" on the service class "au.com.housewareonline.dao.facade.RoleFacade" is overloaded. Overloaded methods are allowed by chapter 5.5.5 of the JAX-RPC 1.1 specification, however, some JAX-RPC 1.1 compliant tools may not allow overloaded methods or may generate WSDL with overloaded operations as contrary to rule R2304 of the WS-I Basic Profile.
The method "find" on the service class "au.com.housewareonline.dao.facade.RoleFacade" uses a data type, "java.lang.Object", that is not supported by the JAX-RPC specification. Instances of the type may not serialize or deserialize correctly. Loss of data or complete failure of the Web service may result.
The method "findAll" on the service class "au.com.housewareonline.dao.facade.RoleFacade" uses a data type, "java.util.List", that is not supported by the JAX-RPC specification. Instances of the type may not serialize or deserialize correctly. Loss of data or complete failure of the Web service may result.
The method "findRange" on the service class "au.com.housewareonline.dao.facade.RoleFacade" uses a data type, "java.util.List", that is not supported by the JAX-RPC specification. Instances of the type may not serialize or deserialize correctly. Loss of data or complete failure of the Web service may result.
==========================================

This EJB class is copied from the one I created in Netbeans. When I used Netbeans to create a web services, there is no problem at all.

Can anyone tell me what causes this issue?
What kind of Web Services does Eclipse require a special annotation of an EJB class?

Your suggestion would be appreciated.

SS
Previous Topic:Cannot import JAR archives
Next Topic:flash project and flex project missing from eclipse
Goto Forum:
  


Current Time: Fri Sep 20 22:17:55 GMT 2024

Powered by FUDForum. Page generated in 0.08623 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top