This content has been marked as final. Show 2 replies
first I added WS Client (in Netbeans 7.1) and left Client Style as "JAX-WS Style". After specifying WSDL file Netbeans throws:
undefined simple or complex type "soapenc:Array"
which was widely discussed on the web. final suggestion was to download JAX-RPC plugin for Netbeans and use "JAX-RPC Style". Which was done.
Then I got
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/rpc/JAXRPCException to solve this I added jaxrpc-api-1.1, axis-jaxrpc-1.2.1 jar files.
Finally, I got
error: modeler error: either the "element" or the "type" attribute is required in part "Body"
I considered to simply add "element" or "type" attribute, however I found that there are several "Body" parts in the WSDL file. So thats not clear which "Body" part exactly mentioned.