A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
WebServices in Eclipse
Joined: Jun 19, 2008
Jul 24, 2008 04:20:00
I am trying to create a web service in eclipse 3.2 and using Java 1.6, i am getting a warning which is as follow, also i am getting error that platform is using Java greater than 1.4 .
Can someone tell me should i use Java 1.4 for web service? But I am also using annotation within my application and generics that require Java 5 or greater ?
Warning when try to run wizard in eclipse;
The service class "com.wonder.common.impl.UserServiceImpl" does not comply to one or more requirements of the JAX-RPC 1.1 specification, and may not deploy or function correctly. The method "findAllRoles" on the service class "com.wonder.common.impl.UserServiceImpl" 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 "getPermissions" on the service class "com.wonder.common.impl.UserServiceImpl" uses a data type, "java.util.Set", 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 value type "com.wonder.common.intf.Role" used via the service class "com.wonder.common.impl.UserServiceImpl" does not have a public default constructor. Chapter 5.4 of the JAX-RPC 1.1 specification requires a value type to have a public default constructor, otherwise a JAX-RPC 1.1 compliant Web service engine may be unable to construct an instance of the value type during deserialization.
Thanks in Advance,
Joined: Aug 04, 2008
Aug 04, 2008 05:30:00
You can switch to JDK 1.5 and get rid of these errors.
Regards,<br /> <br />Seetesh Hindlekar<br />Technical Architect
I agree. Here's the link:
- it saves me about five hours per week
subject: WebServices in Eclipse
Web Service, Axis 1.4, Array List.
Unable to create Axis 2 WEb services in Eclipse using Tomcat
Help to create a Web service that return javax.mail.internet.MimeMultipart
How to create Web service that returns javax.mail.internet.MimeMultipart
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013