cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
17343
Views
10
Helpful
4
Replies

unable to find FieldDescriptor for 'WebExID' in ClassDescriptor of securityContextType

Success
Level 1
Level 1

When attempting to send the simple API call to the XML web service https://apidemoeu.Webex.com/WBXService/XMLService I get a response of "validation: unable to find FieldDescriptor for 'WebexID' in ClassDescriptor of securityContextType"

 

Please see example below-

Post: https://apidemoeu.Webex.com/WBXService/XMLService

Body: Raw

Body Content:

<?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>
            <siteName>apidemoeu</siteName>
        </securityContext>
    </header>
    <body>
        <bodyContent xsi:type="java:com.Webex.service.binding.meeting.CreateMeeting">
            <metaData>
                <confName>Sample Meeting</confName>
            </metaData>
            <schedule>
                <startDate/>
            </schedule>
        </bodyContent>
    </body>
</serv:message>

 

Response I receive:

Status 200

<?xml version="1.0" encoding="UTF-8"?>
<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 find FieldDescriptor for 'WebexID' in ClassDescriptor of securityContextType</serv:reason>
            <serv:gsbStatus>PRIMARY</serv:gsbStatus>
            <serv:exceptionID>999999</serv:exceptionID>
        </serv:response>
    </serv:header>
    <serv:body>
        <serv:bodyContent/>
    </serv:body>
</serv:message>

 

Any assistance is welcome!

2 Accepted Solutions

kinglewi
Cisco Employee
Cisco Employee

Its case sensitive the "e" should be a capitol letter, "W" should be lower "webExID", or you can remove it completely and change to < email >

View solution in original post

You have a capital "W" in the XSI type.  it should be <bodyContent xsi:type="java:com.webex.service.binding.meeting.CreateMeeting">

View solution in original post

4 Replies 4

kinglewi
Cisco Employee
Cisco Employee

Its case sensitive the "e" should be a capitol letter, "W" should be lower "webExID", or you can remove it completely and change to < email >

Thank you, that looks to have done the trick, but I'm not 100% sure as I'm getting a new error once I fixed the case. Is the below part of the case issue?

<?xml version="1.0" encoding="UTF-8"?>
<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.Com.Webex.service.binding.meeting.CreateMeeting; java.lang.ClassNotFoundException: com.webex.xmlapi.service.binding.Com.Webex.service.binding.meeting.CreateMeeting</serv:reason>
<serv:gsbStatus>PRIMARY</serv:gsbStatus>
<serv:exceptionID>999999</serv:exceptionID>
</serv:response>
</serv:header>
<serv:body>
<serv:bodyContent/>
</serv:body>
</serv:message>

You have a capital "W" in the XSI type.  it should be <bodyContent xsi:type="java:com.webex.service.binding.meeting.CreateMeeting">

That did the trick! Thank you!
Getting Started

Welcome to the Webex Community. This is your home to ask questions, share knowledge, and attend live webinars.