`

通过java类生成wsdl,返回值带list类型的问题

阅读更多

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.

答案:

0down voteaccepted

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).

  • 大小: 84.2 KB
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics