cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2107
Views
0
Helpful
0
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: Prabas ko on 08-03-2013 12:02:34 AM
I'm new to Webex API. I'm using this API Create one Session on Webex, it is working Perfect. Now i want to Start WebEX Session so how to do this one... Actually my Sample Java code is...   SimpleDateFormat formatter = new SimpleDateFormat(DATE_FORMAT); MessageDocument messageDocument = createNewMessageDocument(); BodyContentType bodyContentType = messageDocument.getMessage() .getBody().addNewBodyContent(); CreateTrainingSession createTrainingSession = (CreateTrainingSession) bodyContentType .changeType(CreateTrainingSession.type);   // Access Info AccessControlType accessControlType = createTrainingSession .addNewAccessControl(); accessControlType .setListing(com.webex.schemas.x2002.x06.service.session.ListingType.Enum .forString("PRIVATE")); accessControlType.setSessionPassword("111111");   // Schedule Info ScheduleType scheduleType = createTrainingSession.addNewSchedule(); scheduleType.setStartDateArray(new String[] { formatter .format(startDate) }); scheduleType .setTimeZone(com.webex.schemas.x2002.x06.common.TimeZoneType.Enum .forString("GMT-12:00, Dateline (Eniwetok)")); scheduleType.setDuration(duration); scheduleType.setTimeZoneID(46); scheduleType.setOpenTime(new BigInteger("20"));   // Metadata TrainingMetaDataType trainingMetaDataType = createTrainingSession .addNewMetaData(); trainingMetaDataType.setConfName("confName"); trainingMetaDataType.setAgenda("agenda"); trainingMetaDataType.setDescription("description"); trainingMetaDataType.setGreeting("greeting"); trainingMetaDataType.setLocation("location"); trainingMetaDataType.setInvitation("invitation");     // Make the service call MessageDocument response = execute(messageDocument);   ResponseType responseType = response.getMessage().getHeader().getResponseArray(0); if(responseType.getResult().equals(com.webex.schemas.x2002.x06.service.ResultTypeType.Enum.forString("FAILURE"))){ throw new Exception("Unable create webex session : \n" + responseType.getReason()); }   CreateTrainingSessionResponse createTrainingSessionResponse = (CreateTrainingSessionResponse)response.getMessage().getBody().getBodyContentArray(0); *********   Session was Created but not Started how to Start Session.  

Subject: RE: How to Start Webex Session Using Java Program?
Replied by: Nicolas Dos Santos on 10-03-2013 04:27:06 PM
You can start a meeting by retrieving the meeting host url and then create a link in a web page (<a href="[MEETING_HOST_URL]">Start Meeting</a>)
http://developer.cisco.com/documents/4733862/4736722/xml_api_5+9.pdf (cf. page 218 - Chapter 5 GetHostUrlMeeting)
I don't think we can start a meeting without manual intervention, because when you click on the link, it downloads the WebEx software that is used to manage the meeting (list of participants, remind participants record meeting ...). After maybe I'm wrong, and if that is the case I will be interested to know how we can do.

Subject: RE: How to Start Webex Session Using Java Program?
Replied by: Jade Moors on 11-03-2013 01:07:46 PM
Hi Nicolas,

You'll need to use URL APIs to authenticate and start the meeting.  You can reference the URL API WBS 27 Reference Guide on http://developer.cisco.com/web/webex-developer/url-api-reference for more information.  You'd want to use m.php?AT=HM (section 2-103 of the URL API WBS 27 Ref Guide) which is for starting an already scheduled meeting.  You'd also need to be authenticated as the host prior to issuing this command which can be done using p.php?AT=LI (section 2-23 of the URL API WBS 27 Ref Guide).  If wanted you could chain the Login and Host Meeting commands together as follows:

User: test
Pass: pass123
Meeting #: 684699291

https://mysite.webex.com/mysite/p.php?AT=LI&WID=test&PW=pass123&BU={BackURL}&MU=https%3A%2F%2Fmysite.webex.com%2Fmysite%2Fm.php%3FAT%3DHM%26MK%3D684699291%26BU={RedirectAfterMeeting}

The BU and MU must be URL encoded.  Also note that the BU for the 2nd command string must be double URL encoded.  Keep in mind that these are browser based APIs and generally used with user interaction in mind (i.e. user clicks on a link to start their meeting).

Regards,
Jayde Moors
API Developer Services

Subject: RE: How to Start Webex Session Using Java Program?
Replied by: keith friedman on 12-03-2013 08:30:34 AM
Hi Jayde,

I am trying to get a meeting setup with a few people from the Webex team who could help us evaluate our usecase. Is it possible for you to be called into a meeting like this? We are a member of the Gold developer program. You appear to be quite knowledgeable regarding whats possible via the Webex API's and would welcome your participation in this meeting. Do you have an email and or a phone number where I can converse further about our use case?
 
Thanks!

keith

Subject: RE: How to Start Webex Session Using Java Program?
Replied by: Marcus O'Sullivan on 12-03-2013 10:48:54 AM
Hi Keith, my name is Marcus O'Sullivan and I am a Bus dev Manager in the Collaboration business which includes the WebEx business. Please reach out to me directly and we can go through your use case. my e-mail is maosulli@cisco.com
 
keith friedman:
Hi Jayde,

I am trying to get a meeting setup with a few people from the Webex team who could help us evaluate our usecase. Is it possible for you to be called into a meeting like this? We are a member of the Gold developer program. You appear to be quite knowledgeable regarding whats possible via the Webex API's and would welcome your participation in this meeting. Do you have an email and or a phone number where I can converse further about our use case?
 
Thanks!

keith


Subject: RE: How to Start Webex Session Using Java Program?
Replied by: Anand Bhatt on 04-04-2013 12:52:36 AM
Hi Prabas,
I am new to WebEx development ,actually i need to create an interface which will schedule WebEx meeting from my company page, instead of going to Cisco page. all these need to be done using WebEx API (using java program). Please guide me how can i start
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:

Quick Links