Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » General (non-technical) » Eclipse Foundation » About creating Web Services from Enterprise Beans
About creating Web Services from Enterprise Beans [message #653947] Sat, 12 February 2011 01:31 Go to next message
Sam  is currently offline Sam
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
Re: About creating Web Services from Enterprise Beans [message #653956 is a reply to message #653947] Sat, 12 February 2011 02:23 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 26137
Registered: July 2009
Senior Member
Sam,

This isn't a technical newsgroup. Likely you should use the WTP
newsgroup/forum for this type of question...


Sam wrote:
> 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:Election Candidates Are Posted!
Next Topic:Webinar: Gemini - Apr. 13
Goto Forum:
  


Current Time: Thu Oct 23 02:25:39 GMT 2014

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

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