cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
598
Views
0
Helpful
0
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: Ryan Newman on 09-07-2013 09:28:06 AM
I am attempting to make a few simple prototype requests before moving forward with development with the WebEx API.  I followed the examples found here http://developer.cisco.com/web/webex-developer/sample-code mostly the Java one.  This is my request xml (white space added for readability and of course masked)
 1<?xml version="1.0" encoding="UTF-8"?>
 2   <serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 3                 xmlns:serv="http://www.webex.com/schemas/2002/06/service"
 4                 schemaLocation="http://www.webex.com/schemas/2002/06/service">
 5      <header>
 6         <securityContext>
 7            <webExID>xxxxx</webExID>
 8            <password>xxxxxxxx</password>
 9            <siteID>123</siteID>
10         </securityContext>
11      </header>
12      <body>
13         <bodyContent type="java:com.webex.service.binding.ep.GetAPIVersion" />
14      </body>
15   </serv:message>[/font]
I also attempted the LstMeeting request with the only change being the value of "type" in "bodyContent".

The response I recieve is (again white space added for readability)
 1<?xml version="1.0" encoding="UTF-8" ?>
 2   <serv:message xmlns:serv="http://www.webex.com/schemas/2002/06/service"
 3                       xmlns:com="http://www.webex.com/schemas/2002/06/common">
 4      <serv:header>
 5         <serv:response>
 6            <serv:result>FAILURE</serv:result>
 7            <serv:reason>
 8                 Fail to forward request: XML4.9.1 doesn't exist or is not available!
 9            </serv:reason>
10            <serv:gsbStatus>PRIMARY</serv:gsbStatus>
11            <serv:exceptionID>000000</serv:exceptionID>
12         </serv:response>
13      </serv:header>
14      <serv:body>
15      </serv:body>
16    </serv:message> [/font]
17[font=verdana, helvetica, sans-serif][/font]
Any Ideas what I am doing wrong? Why does it think I'm trying to use version 4.9.1?  Any help is appreciated.

Subject: RE: Error making simple request
Replied by: Nathan Morrow on 10-07-2013 12:22:23 PM
Hello,

     The site id is actually the cause of this error, site id 123 refers to an old, decommisioned site, that was set to a now end of life XML version when it was deactivated. Your WebEx account manager can provide the correct site id and partner id values for structuredweb-dev.webex.com.

Subject: RE: Error making simple request
Replied by: Nathan Morrow on 10-07-2013 12:05:10 PM
Hello,

     XML version is not set in the JAVA sample code, so it may be a setting based on the URL you are posting your request to, along with the site id that you are using. If you can provide the URL you are posting your request to, and confirm whenter you are using 123 as the site id, or a different value, I can provide a more definite answer.

Subject: RE: Error making simple request
Replied by: Ryan Newman on 10-07-2013 12:11:30 PM
posting to https://structuredweb-dev.webex.com/WBXService/XMLService  and yes i am using 123 as the siteid

Subject: RE: Error making simple request
Replied by: Ryan Newman on 10-07-2013 12:51:20 PM
Thanks for your assistance

Subject: RE: Error making simple request
Replied by: Ryan Newman on 10-07-2013 01:49:34 PM
I have changed the site id to what I received from my account manager, now I recieve the following reply
 1<?xml version="1.0" encoding="UTF-8" ?>
 2<serv:message xmlns:serv="http://www.webex.com/schemas/2002/06/service"
 3              xmlns:com="http://www.webex.com/schemas/2002/06/common">
 4   <serv:header>
 5      <serv:response>
 6         <serv:result>FAILURE</serv:result>
 7         <serv:reason>Failed to get SiteUrl</serv:reason>
 8         <serv:gsbStatus>PRIMARY</serv:gsbStatus>
 9         <serv:exceptionID>010000</serv:exceptionID>
10      </serv:response>
11   </serv:header>
12   <serv:body>
13   </serv:body>
14</serv:message> 
am I missing something else, or could it be I recieved the wrong site id?  Is there any way to obtain or verify this id on my own? 

Subject: RE: Error making simple request
Replied by: Nathan Morrow on 10-07-2013 02:16:21 PM
Hello,

     partner id is also required in the securityContext, your WebEx account manager should have provided the correct partner id with the site id you requested.

<securityContext>
     <webExID>username</webExID>
     <password>password</password>
     <siteID>123456</siteID>
     <partnerID>123abc</partnerID>
</securityContext>
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