留言板

Liferay WS 403 - authorization error when server is remote

thumbnail
Jay Sellers,修改在15 年前。

Liferay WS 403 - authorization error when server is remote

New Member 帖子: 21 加入日期: 08-4-12 最近的帖子
I am trying to access the web services provided by tunnel-web, specifically the Calendar WS. Everything works fine when I run it locally, but I have authorization issues when I attempt to access the WS on a remote server.

Here is what I'm experiencing:
When I'm logged into the remote windows server (via RDC):
http://localhost:8080/tunnel-web/axis/Portlet_Cal_CalEventService?wsdl - DOES work
http://<server ip address>/tunnel-web/axis/Portlet_Cal_CalEventService?wsdl - 403 Access Denied
http://<server dns>/tunnel-web/axis/Portlet_Cal_CalEventService?wsdl - 403 Access Denied

When I try to hit the wsdl on that remote server from my local box, no url combination works.

This thread is similar to
http://www.liferay.com/web/guest/community/forums/-/message_boards/message/996327#_19_message_294073

My environment is LR 5.0.1 running inside Glassfish v2.

Any thoughts or suggestions?

Thanks
Bernardo Riveira Faraldo,修改在15 年前。

RE: Liferay WS 403 - authorization error when server is remote

Regular Member 帖子: 135 加入日期: 08-10-30 最近的帖子
use something like...

http://user:password@server.com/tunnel-web/secure/axis/

(note the "secure" path)
thumbnail
Jay Sellers,修改在15 年前。

RE: Liferay WS 403 - authorization error when server is remote

New Member 帖子: 21 加入日期: 08-4-12 最近的帖子
Yup, that was the issue! Needed 'secure' in the url. Thanks for responding Bernardo!
kailash behara,修改在9 年前。

RE: Liferay WS 403 - authorization error when server is remote

New Member 帖子: 14 加入日期: 13-5-11 最近的帖子
I have same issue please any one can help.

Thanks in advance
Kailash