this could be because you are trying to pass a List as parameter and the JAX-RPC spec does not specify a clear mapping between the java.util.List object and XML.The good news is you have other options. For your example, you could declare the type of 'actors' in the parameter itself. For example, use a String[] or Actors[] (where Actors is a complex type).
The service class "com.gdt.imp.UserMessageImp" does not comply to one or more requirements of the JAX-RPC 1.1 specification, and may not deploy or function correctly.
答案:
|
|
本文探讨了在使用JAX-RPC 1.1规范时遇到的问题,即当尝试将List作为参数传递时,由于规范中未明确指定List对象与XML之间的映射关系,可能导致服务部署或功能不正确。文章提供了替代方案,建议使用String[]或特定复杂类型的数组来代替List。
1万+

被折叠的 条评论
为什么被折叠?



