Forums de discussion

SOAP WebServices - addUser: java.net.UnknownHostException:

sandeep tripathi, modifié il y a 11 années.

SOAP WebServices - addUser: java.net.UnknownHostException:

Regular Member Publications: 100 Date d'inscription: 19/10/11 Publications récentes
Hi all,

trying to create users using the method "addUser" of SOAP WebServices ,user are create on my local machine but when i try on the staging server it give below error
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.net.UnknownHostException: http_proxy
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:java.net.UnknownHostException: http_proxy


Regards
Sandeep
thumbnail
Hitoshi Ozawa, modifié il y a 11 années.

RE: SOAP WebServices - addUser: java.net.UnknownHostException:

Liferay Legend Publications: 7942 Date d'inscription: 24/03/10 Publications récentes
Any chance that you staging server is using proxy?
sandeep tripathi, modifié il y a 11 années.

RE: SOAP WebServices - addUser: java.net.UnknownHostException:

Regular Member Publications: 100 Date d'inscription: 19/10/11 Publications récentes
we had use http_proxy in our application for linked api to fetch detail.
sandeep tripathi, modifié il y a 10 années.

RE: SOAP WebServices - addUser: java.net.UnknownHostException:

Regular Member Publications: 100 Date d'inscription: 19/10/11 Publications récentes
Hi everyone,

i had apply below mention setting for proxy in catalina.properties in tomcat server .

http.proxyHost=http_proxy
http.proxyPort=80
https.proxyHost=http_proxy
https.proxyPort=80

this setting help me to create user in liferay some time and sumtime i am getting same error

java.net.UnknownHostException:http_proxy

is this setting right please help me out what i am doing wrong.

Regards
Sandeep