views:

87

answers:

0

I generated a JAX-WS client (proxy API) using JAXWS-RI wsimport.bat from a WSDL having as namespace "http://a.mydomain". I'd like to reuse the same generated proxy against a service having as namespace "http://b.mydomain" but targetnamespace "http://a.mydomain" is harcoded all over the generated classes.

Does anybody know any good solution to this problem using JAXWS-RI or any other JAXWS implementation ? I'd like to prevent from regenerating proxy classes using the new WSDL/namespace.

Thank you for any piece of answer.