01-10-2014 02:13 AM
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:
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:
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
02-12-2014 10:26 AM
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.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide