GET WSDL on proxy factory instantiation: how to suppress or secure?
The Metro-generated proxy factory does a GET WSDL call on instantiation:
// wsimport -> class XYZ_Service extends Service, interface XYZ
XYZ_Service proxyFactory = new XYZ_Service(<with or w/o parameters>); // GET WSDL call
XYZ xyzProxy = proxyFactory.getXYZPort();
Why does Metro do this GET WSDL call after the proxy has long been generated?
(C# proxies do not.)
Our WSDLs are protected.
- Can we suppress this call?
- Is there a way to put a security header (Negotiate token) or cookie on this GET WSDL call?