When i deploy a virtual service to a mediator, the portName of the mediator’s WSDL is generated by the mediator using the protocol details of the virtual service. This name also includes the target name itself. Hence, when i deploy a service to more than one mediator, the different WSDLs of the service from the different mediators, will have different PortNames.
Clients configured to consume one WSDL thus, cannot be used again for the other WSDL with a different portName, without code changes.
Any suggestions on avoiding client side code changes for this scenario ?