-
Feature Request
-
Resolution: Done
-
Major
-
None
-
None
When running wsprovide with -keep option (ie. generating and keeping the artifacts sources), we currently do not support generics in wrapper classes.
So for a SEI like this:
@WebService(targetNamespace = "http://foo.bar.com/calculator")
public class CalculatorBean
{
@WebMethod
public Set<Integer> getKeys(HashMap<Integer, String> map)
}
we get the following wrapper
@XmlRootElement(name = "getKeys", namespace = "http://foo.bar.com/calculator")
@XmlType(name = "getKeys", namespace = "http://foo.bar.com/calculator")
@XmlAccessorType(XmlAccessType.FIELD)
public class GetKeys {
@XmlElement(name = "arg0", namespace = "")
private HashMap arg0;
public HashMap getArg0()
{ return this.arg0; }public void setArg0(HashMap arg0) { this.arg0 = arg0; }
}
instead of
@XmlRootElement(name = "getKeys", namespace = "http://foo.bar.com/calculator")
@XmlType(name = "getKeys", namespace = "http://foo.bar.com/calculator")
@XmlAccessorType(XmlAccessType.FIELD)
public class GetKeys {
@XmlElement(name = "arg0", namespace = "")
private HashMap<Integer, String> arg0;
public HashMap<Integer, String> getArg0() { return this.arg0; }
public void setArg0(HashMap<Integer, String> arg0)
{ this.arg0 = arg0; }}
- relates to
-
JBWS-2507 Support generics in wrapper classes
- Closed