File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Getting error [weblogic.net.http.HttpUnauthorizedException: Proxy or Server Authentication Required] Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Getting error [weblogic.net.http.HttpUnauthorizedException: Proxy or Server Authentication Required]" Watch "Getting error [weblogic.net.http.HttpUnauthorizedException: Proxy or Server Authentication Required]" New topic
Author

Getting error [weblogic.net.http.HttpUnauthorizedException: Proxy or Server Authentication Required]

Siphiwe Madi
Ranch Hand

Joined: Aug 16, 2007
Posts: 70
Hi All,

I'm trying to call a Web service from a JSP running inside a web application deployed on to Weblogic Application Server 10

The error stacktrace:

Failed to parse WSDL http://#.#.#.#:####/CBS_GetBasicSubscriberNetworkProfileAxisFix?WSDL weblogic.wsee.wsdl.WsdlException: Failed to read wsdl file from url due to -- weblogic.net.http.HttpUnauthorizedException: Proxy or Server Authentication Required

weblogic.wsee.jaxrpc.ServiceImpl.throwServiceException(ServiceImpl.java:169)
weblogic.wsee.jaxrpc.ServiceImpl.loadWsdlDefinition(ServiceImpl.java:477)
weblogic.wsee.jaxrpc.ServiceImpl.(ServiceImpl.java:114)
net.voda.portal.cbs.cbs_getbasicsubscribernetworkprofile.GetBasicSubscriberNetworkProfileEsbTransactionBindingQSService_Impl.(Unknown Source)
net.voda.portal.cbs.cbs_getbasicsubscribernetworkprofile.GetBasicSubscriberNetworkProfileEsbTransactionBindingQSService_Impl.(Unknown Source)
jsp_servlet._templates._template0007._ywsubqfaudtaquxauwecwstqqdesrxaq.__testwebcalls_dao._jspService(__testwebcalls_dao.java:148)
weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:394)
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:309)
weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
com.vignette.portal.website.internal.SingleInvocationFilter.doFilter(SingleInvocationFilter.java:54)


The code on the JSP looks like (I created the WS client stubs using the Weblogic API's and ANT):




I then get the error mentioned above.

Can anyone please help me as to what might be causing this issue???

Regards, Siphiwe Madi
[SCJP, SCWCD, __] Next ... scjwsd
Imran Akbar
Ranch Hand

Joined: May 06, 2010
Posts: 63

Seems you are running behind the proxies,

you need to set proxies on your code to access the specified WSDL
Imran Akbar
Ranch Hand

Joined: May 06, 2010
Posts: 63
find the below link , hope its useful

http://soadev.blogspot.com/2010/02/setting-proxy-authentication-in-java.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Getting error [weblogic.net.http.HttpUnauthorizedException: Proxy or Server Authentication Required]