I am using java.util.List interface as a parameter in my web method (using JAX-WS) but when I use the wsgen utility, it gives me an error that interfaces cannot be used as a parameter as it cannot do a new List(). Also, I could also see an XML schema associated with WSDL in the <types> section. My questions:
1) When, in the request/response model, would it require a new List()?
2) I read that <types> section is always empty when we use RPC/literal style and use, why is it still there in the WSDL?