I'm trying to configure my JAX-WS Client to switch between test/production enpoint without having to re-generate proxy classes with wsimport.
The service I'm trying to consume use different WSDL's in test and production. For example the targetNamespace is different, as well as the soapAction address.
I've tried using Springs JaxWsPortProxyFactoryBean and have managed to point to the different wsdl depending on the deployment environment, but even though I point to production, it still uses the WebMethod action addresses from test. I guess this is because they are hard-coded in the service interface that was generated using wsimport pointing to the test-wsdl.
Anyone know if it is possible to switch between wsdls using different targetNamespace and action addresses without re-generation proxies?