wsimport generates new and slightly different wsdl?
Hi all,
I am building a web service project from a wsdl. I use JDK 1.6, jax-ws 2.1 and Maven 3.0.3. The wsimport task in Maven (which, for my understanding, uses the wsimport from jax-ws) parses my wsdl and generates a working service. I can also build a client using jax-ws. So far, it's all nice. What is slightly unpleasant is the following: The wsdl I get from the application with urlforwebservice?wsdl seems to be generated by wsimport, in any case it is different from what I imported. Firstly, I wonder why this is. Shouldn't the interface be fixed? What is really not good is that the generated wsdl has no proper parameter name, they are all just called param0, param1 etc. This makes the generated client hard to use. Can somebody shed some light on that? Does somebody know how to get proper parameter names? Sorry if this is obvious, I couldn't find anything about it.
Thanks