Error: "java.util.List", data type is not supported by the JAX-RPC
specification was generated following Creating Bottom Up Web Service
tutorial for my class DVD.java
http://www.eclipse.org/webtools/jst/components/ws/1.5/tutorials/BottomUpWebService/BottomUpWebService.html
Is there a work around for the "java.util.List" data type ?
Thanks in advance
Dave
The service class "hansen.playground.DVD" does not comply to one or more
requirements of the JAX-RPC 1.1 specification, and may not deploy or
function correctly.
The method "getActors" on the service class "hansen.playground.DVD" 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 "setActors" on the service class "hansen.playground.DVD" 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.
DVD.java
package hansen.playground;
import java.util.*;
public class DVD implements java.io.Serializable {
private String id;
private String title;
private String length;
private List actors;
public DVD() {}
public String getId() {
return id;
}
public String getTitle() {
return title;
}
public String getLength() {
return length;
}
public List getActors() {
return actors;
}
public void setId(String newid) {
id = newid;
}
public void setTitle(String newtitle) {
title = newtitle;
}
public void setLength(String newlength) {
length = newlength;
}
public void setActors(List newactors) {
actors = newactors;
}
}
_________________________________________________________________
Ready for the world's first international mobile film festival celebrating
the creative potential of today's youth? Check out Mobile Jam Fest for your
a chance to WIN $10,000! www.mobilejamfest.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]