When i set CreateTrainingSession api call, it returns this "unable to find FieldDescriptor for 'person' in ClassDescriptor of personType" error.
exceptionID=999999
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Can you provide a sample of the XML Request that results in this error?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Here is sample xml request
"<?xml version=\"1.0\" encoding=\"UTF - 8\"?>"
"<serv:message xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">";
"<header>";
"<securityContext>";
"<webExID>xxxx</webExID>";
"<password>xxxx</password>";
"<email>xxxx</email>";
"<siteName>xxxx</siteName>";
"</securityContext>";
"</header>";
"<body>";
"<bodyContent xsi:type=\"java:com.webex.service.binding.training.CreateTrainingSession\">";
"<accessControl>";
"<listing>" + "PUBLIC" + "</listing>";
"<sessionPassword>" + "111111" + "</sessionPassword>";
"</accessControl>";
"<schedule>";
"<startDate>" + "4/05/2017 10:00:00" + "</startDate>";
"<duration>" + "60" + "</duration>";
"<timeZoneID>" + "46" + "</timeZoneID>";
"<openTime>" + "20" + "</openTime>";
"</schedule>";
"<metaData>";
"<confName>" + "jimz hol test" + "</confName>";
"<agenda>" + "agenda 1" + "</agenda>";
"<description>" + "description" + "</description>";
"<greeting>" + "greeting" + "</greeting>";
"<location>" + "location" + "</location>";
"<invitation>" + "invitation" + "</invitation>";
"</metaData>";
"<enableOptions>";
"<attendeeList>" + "false" + "</attendeeList>";
"<javaClient>" + "false" + "</javaClient>";
"<nativeClient>" + "true" + "</nativeClient>";
"<chat>" + "false" + "</chat>";
"<poll>" + "false" + "</poll>";
"<audioVideo>" + "false" + "</audioVideo>";
"<fileShare>" + "false" + "</fileShare>";
"<presentation>" + "false" + "</presentation>";
"<applicationShare>" + "false" + "</applicationShare>";
"<desktopShare>" + "false" + "</desktopShare>";
"<webTour>" + "false" + "</webTour>";
"<trainingSessionRecord>" + "false" + "</trainingSessionRecord>";
"<annotation>" + "false" + "</annotation>";
"<importDocument>" + "false" + "</importDocument>";
"<saveDocument>" + "false" + "</saveDocument>";
"<printDocument>" + "false" + "</printDocument>";
"<pointer>" + "false" + "</pointer>";
"<switchPage>" + "false" + "</switchPage>";
"<fullScreen>" + "false" + "</fullScreen>";
"<thumbnail>" + "false" + "</thumbnail>";
"<zoom>" + "false" + "</zoom>";
"<copyPage>" + "false" + "</copyPage>";
"<rcAppShare>" + "false" + "</rcAppShare>";
"<rcDesktopShare>" + "false" + "</rcDesktopShare>";
"<rcWebTour>" + "false" + "</rcWebTour>";
"<attendeeRecordTrainingSession>" + "false" + "</attendeeRecordTrainingSession>";
"<voip>" + "false" + "</voip>";
"<faxIntoTrainingSession>" + "false" + "</faxIntoTrainingSession>";
"<autoDeleteAfterMeetingEnd>" + "false" + "</autoDeleteAfterMeetingEnd>";
"</enableOptions>";
"<presenters>";
"<participants>";
"<participant>";
"<person>";
"<name>" + "shakila" + "</name>";
"<email>" + "xxxxx" + "</email>";
"<type>" + "MEMBER" + "</type>";
"</person>";
"</participant>";
"</participants>";
"</presenters>";
"<attendees>";
"<participants>";
"<person>";
"<name>" + "host1" + "</name>";
"<email>" + "xxxxx" + "</email>";
"<type>" + "MEMBER" + "</type>";
"</person>";
"<role>" + "HOST" + "</role>";
"</participants>";
"</attendees>";
"<attendeeOptions><emailInvitations>true</emailInvitations></attendeeOptions>";
"</bodyContent>";
"</body>";
"</serv:message>"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
It appears your <attendees> is missing the <participant> elements under <participants> and before <person>
"<attendees>";
"<participants>";
"<participant>";
"<person>";
"<name>" + "host1" + "</name>";
"<email>" + "xxxxx" + "</email>";
"<type>" + "MEMBER" + "</type>";
"</person>";
"<role>" + "HOST" + "</role>";
"</participant>";
"</participants>";
"</attendees>";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Comments
0 comments
Please sign in to leave a comment.