How to publish WebService with axis1.4
The service class "org. gdt. sgcda. WF. impl. definitionmanageserviceimpl" does not comply to one or more requirements of the JAX-RPC 1.1 specification, and may not deploy or function correctly.
Cause: the JAX-RPC1.1 does not support the return type as list type when processing the saop-XML ing.
Solution: Change the return type of list to the array type. For example, change list <userbean> to userbean [].
Background: The JAX-RPC has been deleted in javaee1.5 and is no longer in use. JAX-RPC is Java API for XML Remote Procedure client (Java Application of Remote Procedure Call Based on extensible markup language XML)ProgramInterface ).
JAX-WS (Java for XML WebService) is the evolution of the JAX-RPC, the biggest difference between the two: JAX-RPC is the RPC/encoded style WSDL, but the JAX-WS does not provide support, where the JAX-WS is mostly annotation.
Use axis1.4 to publish WebService selection style and use
Cause: axis1.4 is too old and uses the JAX-RPC to handle the mappings between saop and XML, while the JAX-RPC only supports rpc/encoded styles if you use document/literal (wrapped) or the document/literal client cannot recognize that the return type is the object or list type, array type value.
Solution: 1. Use jdk1.6 or later or the WebService provided by jdk1.6. 2. Release axis2. 3. Select rpc/encodded as the release style for axis1.
The above is my experience in using WebService and I hope to help you.