Hi,
I have the same problem, but I dont have the Call object but instead I have a Stub. I mean, my approach was to have Jdeveloper create a JAX-RPC client, something with code like this:
@Generated("Oracle JDeveloper")
public void addBSTCredentialProvider(String clientKeyStore, String clientKeyStorePass, String clientKeyAlias,
String clientKeyPass, X509Certificate serverCert) throws Exception {
CredentialProvider cp =
new ClientBSTCredentialProvider(clientKeyStore, clientKeyStorePass, clientKeyAlias, clientKeyPass, "JKS", serverCert);
addCredentialProvider(cp);
}
…
public void setProxyServerInfo(String proxyHost, int proxyPort, String username, String password) {
Proxy p = new Proxy(Proxy.Type.HTTP, new InetSocketAddress(proxyHost, proxyPort));
HttpTransportInfo info = new HttpTransportInfo();
info.setProxy(p);
((Stub) getPort())._setProperty("weblogic.wsee.connection.transportinfo", info);
if (username != null)
((Stub) getPort())._setProperty("weblogic.webservice.client.proxyusername", username);
if (password != null)
((Stub) getPort())._setProperty("weblogic.webservice.client.proxypassword", password);
}
It means I have a Stub and not a Call… I don’t know if I made myself clear, but can someone point me in some direction to apply this solution to this jdeveloper generated code? I can post more code if needed.
Any help will be much appreciated