Reputation: 58
I want to generate a web service client from a WSDL, I tried with Axis2 and it generated the requests and responses java files but not the stub so I thought of using CXF to have a better result, unfortunately it is incapable of generating any file and there is no error message, I had an empty src directory. Can't you help me solve this issue please.
Upvotes: 0
Views: 717
Reputation: 19445
I assume from your use of Axis 2/CXF that you're trying to generate a JAX-WS client.
If so, you don't need Axis2 or CXF to generate a JAX-WS client.
Every JDK since early Java 6 has shipped with the wsimport tool, which generates all the artifacts that you need to call a web service using JAX-WS.
Upvotes: 1