on 07-20-2005 6:58 AM
Hi,
I was trying to access an external WebService from my Portal Component, but it is always throwing the following exception.
Portal Runtime Error
An exception occurred while processing a request for :
iView : WeatherForecast.getWeather
Component Name : WeatherForecast.getWeather
com.sap.engine.services.webservices.jaxm.soap.accessor.NestedSOAPException: Problem in server response: [Proxy Authentication Required]..
Exception id: 11:02_20/07/05_0157_4066350
See the details for the exception ID in the log file
I have done the required proxy settigs in the Proxy service but of no use.
Has anyone come across a situation like this? any solution for this?
Thanks in advance
Kiran
Hi Kiran,
You can set your proxy authentication in your code itself.
Write following code before calling Webservice.
wdcontext.current<node>element().modelobject()._setUsername("<user>");
wdcontext.current<node>element().modelobject()._setpassword("<password>");
Also, specify proxy hostname and port in logical ports file under your model.
Regards,
Bhavik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Kiran,
perhaps the Proxy Server is a Windows ISA Server and needs NTLM Authentication? Then you should ask the Proxy administrator to provide free access to the Internet for the IP of the Portal Server.
Regards
Gregor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.