fix issue when SOAP/wsdl calls are used