Hi!
I work on a larger project that involves also web services.
Recently a problem surfaced-
The generated WSDL has a wrong signature for one method. It seems it is due to another method in anothe class that has the same name.
The project is built by
maven, by the way.
Code details:
After building (no error reported) and deploying (to
tomcat 6.0.20),
if I open the ?wdsl URL in Firefox and the ?xsd=1 URL,
I see that both methods/operations are declared as having two parameters.
In log there is a (single) line:
INFO: Dynamically creating request wrapper Class com.example.ws.jaxws.DoStuffWS
Does this mean there is some kind of name conflict?
They are two different web services, but it seems they somehow use the same namespace for the generated parameter class.
Funny thing is, this somehow worked until today.
Also if I rename one of these methods (and the operation name), then it works.
(but then I would have to adapt the rest of the project to this change)
Help appreciated.
Version info:
- maven v1.1 (yes, I know)
- Eclipse v3.5.0 (just for editing and SVN handling)
- tomcat 6.0.20
- JAX-WS RI 2.1.4-b01-
Regards,
David