Please note: These WebEx forums have replaced the earlier site forums. All the previous threads and posts have been replicated here, and if you subscribed to the previous forums, please re-subscribe. Thank you.
« Back to Scheduling Meetings

GethosturlMeeting issue.

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hi,
I having an issue trying to start a meeting using the URL returned from
GethosturlMeeting. Here are my testing steps ..
1) Create a meeting using the portal.
2) Use LstsummarySession with Host details to getting meeting info such as sessionKey.
3) With the session key and GethosturlMeeting get the Host URL.
4) Copy URL to browser 
 
Below is an example of the an URL returned from GethosturlMeeting  (i first convert & to & as the url are crashing my XML
parser) 

 
https://my-dev.webex.com/my-dev/p.php?AT=LI&WID=bob&TK=091de20c0dc5e8a243ec990e8169bbb8&MU=https://my-dev.webex.com/my-dev/m.php?AT=HM&MK=342424778&Rnd=0.9511487736097286
 
This always fails to start the meeting and the browser returns an URL with an
InvalidMeetingKey flag such as the link below (notice that MK is blank ?)
 
https://my-dev.webex.com/mw0305l/mywebex/default.do?siteurl=my-dev&AT=HM&ST=FAIL&RS=InvalidMeetingKey&MK=
 
As I'm using the URL returned from the GethosturlMeeting, I'm not sure how the meeting key in the URL can be invalid, any idea?
 
Regards,
Jimmy

Hi Jimmy,
 
The MU parameter is basically a redirect.  The first part of the URL will validate the user and if successful launch the MU parameter.  If the MU has "&" then the parameter is going to be mis-interpreted as part of the login command.  Any ampersand in the MU should be URL encoded %26.
 
The URL should be
https://my-dev.webex.com/my-dev/p.php?AT=LI&WID=bob&TK=091de20c0dc5e8a243ec990e8169bbb8&MU=https://my-dev.webex.com/my-dev/m.php%3FAT=HM%26MK=342424778%26Rnd=0.9511487736097286
 
Thank you,
-Kingsley Lewis

Thanks for the reply.
Could you explain why the URL's don't come in a correct useable format i.e. with the ampersands encoded to  %26 etc ?
Best Regards,
Jimmy

HiJimmy,
 
I just did a test and confirmed that the response that comes back is correctly encoded in the MU paramater
1
22https://{site}.webex.com/{site}/p.php?AT=LI&WID={username}&TK=0235e0917fe714c1107c96463c87eaf4&MU=https%3A%2F%2F{site}.webex.com%2F{site}%2Fm.php%3FAT%3DHM%26MK%3D345721046%26Rnd%3D0.8791348804773309

 
Make sure the parser isn't decoding the URL.  You can also copy and paste the following html into a file, and run it to see the raw XML.
 1
 2 <html>
 3 <head><title>GethosturlMeeting</title></head>
 4 <body bgcolor="#FFFFFF">
 5 <center>
 6 <h3>GethosturlMeeting</h3>
 7 <hr width="100%" color="#000000" />
 8 <form method="POST" action="http://{sitename}.webex.com/WBXService/XMLService">
 9 <b>XML Text:</b><br>
10<TEXTAREA NAME="XML" COLS="90" ROWS="30"><?xml version="1.0" encoding="UTF-8"?>
11<serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
12         xmlns:serv="http://www.webex.com/schemas/2002/06/service"
13         xsi:schemaLocation="http://www.webex.com/schemas/2002/06/service
14         http://www.webex.com/schemas/2002/06/service/service.xsd">
15
16        <header>
17           <securityContext>
18               <webExID></webExID>
19               <password></password>
20               <siteID></siteID>
21               <partnerID></partnerID>
22           </securityContext>
23        </header>
24
25        <body>
26                <bodyContent xsi:type="java:com.webex.service.binding.meeting.GethosturlMeeting">
27                    <sessionKey></sessionKey>
28                </bodyContent>
29        </body>
30</serv:message></TEXTAREA>
31<br><br>
32<input type="submit" value="Test">
33</form>
34</center>
35</body>
36</html>
37
38 

 
Thank you
-Kingsley Lewis

Your right. l checked the network library I was using and it encodes the response, which explains why my URL never had the encoded %26.
thanks for you help.
Jimmy

Hi ,
 
I am a Cisco employee and i am having issues getting the right Host URL to start the meeting,
 
the issue is same as listed out, but how do i configure the network library to get the right response, without encoding the response, ie get the correct response from Webex Service.
 
also i am sending the request from a Java code to the Webex XML Service from MyEclipse Blue IDE.
 
thanks a lot for your help.
 
Regards,
Manu

Create a Cisco account today and gain access across all Cisco Collaboration Developer sites.

 

Follow the WebEx Developer program on Twitter for the latest industry and WebEx Meetings related information.