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.
Combination View Flat View Tree View
Threads [ Previous | Next ]
Hi,
  I have some troubles to send request to WebEx - I keep to obtain validation error of my requests.
Req. example
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:message xmlns:ns16="http://www.webex.com/schemas/2002/06/service/trainingsessionqtiasi" xmlns="http://www.webex.com/schemas/2002/06/common" xmlns:ns17="http://www.webex.com/schemas/2002/06/service/trainingsessionqti" xmlns:ns14="http://www.webex.com/schemas/2002/06/service/supportsession" xmlns:ns15="http://www.webex.com/schemas/2002/06/service/trainingsession" xmlns:ns9="http://www.webex.com/schemas/2002/06/service/site" xmlns:ns5="http://www.webex.com/schemas/2002/06/service/event" xmlns:ns12="http://www.webex.com/schemas/2002/06/service/meetingtype" xmlns:ns6="http://www.webex.com/schemas/2002/06/service/ep" xmlns:ns13="http://www.webex.com/schemas/2002/06/service/session" xmlns:ns7="http://www.webex.com/schemas/2002/06/service/sales" xmlns:ns10="http://www.webex.com/schemas/2002/06/service/history" xmlns:ns8="http://www.webex.com/schemas/2002/06/service/meeting" xmlns:ns11="http://www.webex.com/schemas/2002/06/service/meeting/auo" xmlns:ns2="http://www.webex.com/schemas/2002/06/service" xmlns:ns4="http://www.webex.com/schemas/2002/06/service/user" xmlns:ns3="http://www.webex.com/schemas/2002/06/service/attendee">
<ns2:header>
<ns2:securityContext>
<webExID>****</webExID>
<password>****</password>
<siteID>243585</siteID>
<siteName>apidemoeu</siteName>
<partnerID>g0webx!</partnerID>
</ns2:securityContext>
</ns2:header>
<ns2:body>
<ns2:bodyContent xsi:type="ns6:getOneClickSettings" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
</ns2:body>
</ns2:message>
Resp
 
<serv:message xmlns:serv="http://www.webex.com/schemas/2002/06/service" xmlns:com="http://www.webex.com/schemas/2002/06/common">
<serv:header>
<serv:response>
<serv:result>FAILURE</serv:result>
<serv:reason>validation: unable to instantiate com.webex.xmlapi.service.binding.GetOneClickSettings; java.lang.ClassNotFoundException: com.webex.xmlapi.service.binding.GetOneClickSettings</serv:reason>
<serv:gsbStatus>PRIMARY</serv:gsbStatus>
<serv:exceptionID>999999</serv:exceptionID>
</serv:response>
</serv:header>
<serv:body>
<serv:bodyContent/>
</serv:body>
</serv:message>
Many thanks for your help.
Pavel

Hello,
The schema defines the namespaces for the WebEx XML services. The namespace for ep should be ep. Namespaces in the actual document are more or less ignored except for the xmnls:xsi and xsi:type values. The following will not result in validation error:
 
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<message>
<header>
<securityContext>
<webExID>****</webExID>
<password>****</password>
<siteID>243585</siteID>
<partnerID>g0webx!</partnerID>
</securityContext>
</header>
<body>
<bodyContent xsi:type="ep:getOneClickSettings" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"/>
</body>
</message>

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.