File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes BEA/Weblogic and the fly likes Proxy Authentication denied in weblogic for web service. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Proxy Authentication denied in weblogic for web service." Watch "Proxy Authentication denied in weblogic for web service." New topic
Author

Proxy Authentication denied in weblogic for web service.

Baby Kahkeshan
Greenhorn

Joined: Apr 03, 2013
Posts: 2
Hello everyone,

I am trying to use proxy authentication in weblogic 12c.

The code snippet used for this is

WFProxyAuthenticator.setLoginAndPassword((String) propMap.get(PROP_PROXYUSER),
(String) propMap.get(PROP_PROXYPASSWORD));

System.getProperties().put(weblogic.common.ProxyAuthenticator.AUTHENTICATOR_PROPERTY,
"com.newgen.omni.jts.util.WFProxyAuthenticator");



propMap has been used to store all the details regarding proxyHost , proxyPort, proxyUser, proxyPassword.
WFProxyAuthenticator is the class used for implementing ProxyAuthenticator interface (weblogic.common.ProxyAuthenticator).


Kindly help me with this.


Baby Kahkeshan
Greenhorn

Joined: Apr 03, 2013
Posts: 2

System.getProperties().put(weblogic.common.ProxyAuthenticator.AUTHENTICATOR_PROPERTY,
"com.newgen.omni.jts.util.WFProxyAuthenticator");

After the above line execution WFProxyAuthenticator default constructor should get called. But after applying debugs, I found that the constructor is not getting called and hence the init method is also not gettig called.

Please let me know the reason for this

Hoping for a fast reply,

Kahkeshan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Proxy Authentication denied in weblogic for web service.