cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3990
Views
0
Helpful
1
Replies

WebEx: The automatic login of the alternate host to the meeting fails

mikatapanainen
Level 1
Level 1

Hello,

My test web application is trying to do the automatic login for the alternate host (doesn't have the WebEx account) of the meeting, but the redirect to the meeting fails.

The use case is:

1. The CreateMeetingServlet creates the meeting with the XML API command java:com.webex.service.binding.meeting.CreateMeeting and

   gets the <meetingKey>

2. The HostServlet

  a) Gets the login ticket <loginTicket> with XML API command java:com.webex.service.binding.user.GetLoginTicket

  b) Does the partner login with the URL API command https://apidemoeu.webex.com/apidemoeu/p.php?AT=LI&WID=mikatapanainen&TK=<loginTicket>...

  and gets the <list of cookies>

  c) Adds the <list of cookies> to the HttpServletResponse and tries to call HttpServletResponse.sendRedirect to the

  the url https://apidemoeu.webex.com/apidemoeu/m.php?AT=HM&MK=<meetingKey>... using the host meeting URL API command.

When doing the host meeting command the browser goes to the page:

https://apidemoeu.webex.com/mw0307l/mywebex/default.do?siteurl=apidemoeu&AT=HM&ST=FAIL&RS=AccessDenied

Do you know what is problem here?? Is this the easiest way to do the alternate host login to the meeting?? Do I use the cookies etc.? I tried the follow the guide:

http://cdn.cisco.com/web/webex-developer/forum/-/message_boards/message/8909331?_19_redirect=http%3A%2F%2Fcdn.cisco.com%2Fweb%2Fwebex-developer%2Fforum%2F-%2Fmessage_boards%2Fsearch%3F_19_keywords%3Dhost%26_19_searchCategoryId%3D4828388%26_19_breadcr...

My ParticipantServlet, which does the participant login automatically (using join meeting URL API command https://apidemoeu.webex.com/apidemoeu/m.php?AT=JM...) redirects

correctly to the meeting. This requires that the host has done manually the login before the participant login.

When I'm running the parts 2b and 2c manually in the browser everything works fine.

BR,

Mika

1 Reply 1

nmorrow
Cisco Employee
Cisco Employee

Hello,

     URL API has never worked well for servlet functionality and is really only geared toward actual single instance browser based usage. Login is stored as a session variable, I believe.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: