Hi,
I am getting following xml response when i tried to create a meeting using WebEx java API. I am not able to understand what causes it. If anyone has any idea, please let me know.
<serv:message>
<serv:reason>validation: unable to instantiate com.webex.xmlapi.service.binding.CreateEvent; java.lang.ClassNotFoundException: com.webex.xmlapi.service.binding.CreateEvent</serv:reason>
<serv:gsbStatus>PRIMARY</serv:gsbStatus>
<serv:exceptionID>999999</serv:exceptionID>
</serv:response>
<serv:body>
<serv:bodyContent />
</serv:body>
</serv:message>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hello,
You should be invoking java:com.webex.service.binding.event.CreateEvent. The error suggests you are missing the .event. portion of your xsi:type. A copy of your failed request would help to confirm the cause if my suggestion does not work.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hello Nathan,
Thanx for your reply.
here is my xml request which is causing the error. But this xml request is generated by the java program which i am using from /src/ - webex-java-library - Java library for Cisco WebEx API - Google Project Hosting
"<message xmlns="http://www.webex.com/schemas/2002/06/service" xmlns:com="http://www.webex.com/schemas/2002/06/common" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<header>
<securityContext>
<com:webExID>xxxx</com:webExID>
<com:password>xxxx</com:password>
<com:siteID>xxxx</com:siteID>
<com:siteName>xxxx</com:siteName>
<com:partnerID>xxx</com:partnerID>
</securityContext>
</header>
<body>
<bodyContent xsi:type="even:createEvent" xmlns:even="http://www.webex.com/schemas/2002/06/service/event">
<even:accessControl>
<even:sessionPassword>xxxx</even:sessionPassword>
</even:accessControl>
<even:metaData>
<even:sessionName>WebEx Event</even:sessionName>
<even:description>This is Test Event</even:description>
</even:metaData>
<even:schedule>
<even:startDate>7/7/2014 17:30:00</even:startDate>
<even:timeZoneID>41</even:timeZoneID>
<even:duration>10</even:duration>
<even:openTime>15</even:openTime>
<even:hostWebExID>rajneesh</even:hostWebExID>
</even:schedule>
<even:telephony>
<even:callInNum>
<tollNum>12032536532</tollNum>
<tollFreeNum>1800-356-215</tollFreeNum>
</even:callInNum>
<even:tollFree>true</even:tollFree>
</even:telephony>
</bodyContent>
</body>
</message>"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hello Nathan,
Thanx for your reply.
here is my xml request which is causing the error. But this xml request is generated by the java program which i am using from /src/ - webex-java-library - Java library for Cisco WebEx API - Google Project Hosting.
I tried with createMeeting given in the above example, which is working fine.
"<message xmlns="http://www.webex.com/schemas/2002/06/service" xmlns:com="http://www.webex.com/schemas/2002/06/common" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<header>
<securityContext>
<com:webExID>xxxx</com:webExID>
<com:password>xxxx</com:password>
<com:siteID>xxxx</com:siteID>
<com:siteName>xxxx</com:siteName>
<com:partnerID>xxx</com:partnerID>
</securityContext>
</header>
<body>
<bodyContent xsi:type="even:createEvent" xmlns:even="http://www.webex.com/schemas/2002/06/service/event">
<even:accessControl>
<even:sessionPassword>xxxx</even:sessionPassword>
</even:accessControl>
<even:metaData>
<even:sessionName>WebEx Event</even:sessionName>
<even:description>This is Test Event</even:description>
</even:metaData>
<even:schedule>
<even:startDate>7/7/2014 17:30:00</even:startDate>
<even:timeZoneID>41</even:timeZoneID>
<even:duration>10</even:duration>
<even:openTime>15</even:openTime>
<even:hostWebExID>XXXX</even:hostWebExID>
</even:schedule>
<even:telephony>
<even:callInNum>
<tollNum>12032536532</tollNum>
<tollFreeNum>1800-356-215</tollFreeNum>
</even:callInNum>
<even:tollFree>true</even:tollFree>
</even:telephony>
</bodyContent>
</body>
</message>"
Let me know if any other information is required.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hello,
Unfortunately, XML API service ignores namespace declaration outside of the message element. the event service namespace is already defined as event, so you can use xsi:type="event:createEvent" without defining xmlns:event in your request.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Comments
0 comments
Please sign in to leave a comment.