I have recently faced a issue where consumer webservice call is invoking wrong address.
Tracing through service, i found pub.soapClient service is called wrong address.
So i traced over other web services and those were working good.
Example:
i am tring to calling server A which should return a error but call is going to server B which retruns success. We get call server address through config group and it returns same address we wanted
I recreated descriptor and every thing is working good. Not sure why this has hapened? Any Idea?
Check If there is a port alias defined on the Consumer WSD. Even though the WSDL has a URL as address location in it, if there is a port alias, it will overwrite the URL in the WSDL.