cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
265
Views
0
Helpful
0
Comments
cdnadmin
Community Member
This document was generated from CDN thread

Created by: Pavel Vybiral on 30-01-2013 10:05:14 AM
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

Subject: RE: Invalid Request
Replied by: Nathan Morrow on 30-01-2013 10:53:03 AM
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>
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