hi out there, I generate my client code via wsdl2java, I have already found a solution to override the wsdl-location.
ClassLoader cl = Thread.currentThread().getContextClassLoader();
if ( null == cl ){
cl = InitClient.class.getClassLoader();
}
InitClient.WSDL_LOCATION = cl.getResource( "description/myservice.wsdl" );
MyService service = new MyService(InitClient.WSDL_LOCATION,
InitClient.SERVICE_NAME);
But I didn't find a way how to override the endpoint-address. thank you, alex
