Skip to Content
0
May 27, 2005 at 10:45 AM

Consume a Web Service from a Portal Application

14 Views

Hi All,

I have installed on my laptop an EP NW 04 SR1 and NW Developer Studio and I would like to consume a web service (http://www.atomic-x.com/xmlservices/dnslookupservice.asmx?wsdl) from a Portal Application.

So I have created a deployable proxy and I use it to call the web service from my Portal Application.

When I try to call the web service from my Portal Application I get:

Service call exception; nested exception is: java.net.UnknownHostException: www.atomic-x.com

But when I do a SOAP request from my NW Developer Studio (EP WS Checker) it works.

I have also configured the proxy setting in my EP:

System Administration > System Configuration > Service Configuration > Application > com.sap.portal.ivs.httpservice > Services > Proxy:

HTTP - Bypass Proxy Servers: <BypassServers>

HTTP - Enable Proxy setting: true

HTTP Proxy Host: <MyProxyHost>

HTTP Proxy Port: <MyProxyPort>

Sets password for proxy basic authentication: <Passord>

Sets user name for proxy basic authentication: <User Name>

And in the configtool > instance > server I have added these lines:

-Dhttp.proxyHost=<MyProxyHost>

-Dhttp.proxyPort=<MyProxyPort>

-Dhttp.nonProxyHosts=<BypassServers>

Is anything wrong?

Kind Regards,

Paolo