10-07-2016 05:22 AM - edited 06-04-2019 02:26 AM
'The email address is invalid' error while WebEx XML API itegration. below is my XML request please gothrought it, please inform me if there is any error.
<?xml version="1.0" encoding="ISO-8859-1"?>
<serv:message xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<header>
<securityContext>
<webExID>mandartripund02</webExID>
<password>asdf1234</password>
<siteID>690319</siteID>
<partnerID>g0webx!</partnerID>
</securityContext>
</header>
<body>
<bodyContent xsi:type=
"java:com.webex.service.binding.training.CreateTrainingSession">
<accessControl>
<listing>PUBLIC</listing>
<sessionPassword>111111</sessionPassword>
</accessControl>
<schedule>
<startDate>4/05/2004 10:00:00</startDate>
<timeZone>GMT-12:00, Dateline (Eniwetok)</timeZone>
<duration>60</duration>
<timeZoneID>46</timeZoneID>
<openTime>20</openTime>
</schedule>
<metaData>
<confName>jimz hol test</confName>
<agenda>agenda 1</agenda>
<description>description</description>
<greeting>greeting</greeting>
<location>location</location>
<invitation>invitation</invitation>
</metaData>
<enableOptions>
<attendeeList>false</attendeeList>
<javaClient>false</javaClient>
<nativeClient>true</nativeClient>
<chat>false</chat>
<poll>false</poll>
<audioVideo>false</audioVideo>
<fileShare>false</fileShare>
<presentation>false</presentation>
<applicationShare>false</applicationShare>
<desktopShare>false</desktopShare>
<webTour>false</webTour>
<trainingSessionRecord>false</trainingSessionRecord>
<annotation>false</annotation>
<importDocument>false</importDocument>
<saveDocument>false</saveDocument>
<printDocument>false</printDocument>
<pointer>false</pointer>
<switchPage>false</switchPage>
<fullScreen>false</fullScreen>
<thumbnail>false</thumbnail>
<zoom>false</zoom>
<copyPage>false</copyPage>
<rcAppShare>false</rcAppShare>
<rcDesktopShare>false</rcDesktopShare>
<rcWebTour>false</rcWebTour>
<attendeeRecordTrainingSession>false
</attendeeRecordTrainingSession>
<voip>false</voip>
<faxIntoTrainingSession>false</faxIntoTrainingSession>
<autoDeleteAfterMeetingEnd>true</autoDeleteAfterMeetingEnd>
</enableOptions>
<telephony>
<telephonySupport>NONE</telephonySupport>
<numPhoneLines>4</numPhoneLines>
<extTelephonyURL>String</extTelephonyURL>
<extTelephonyDescription>String</extTelephonyDescription>
<enableTSP>false</enableTSP>
<tspAccountIndex>1</tspAccountIndex>
</telephony>
<tracking>
<trackingCode1>trackingCode1</trackingCode1>
<trackingCode2>trackingCode2</trackingCode2>
<trackingCode3>trackingCode3</trackingCode3>
<trackingCode4>trackingCode4</trackingCode4>
<trackingCode5>trackingCode5</trackingCode5>
<trackingCode6>trackingCode6</trackingCode6>
<trackingCode7>trackingCode7</trackingCode7>
<trackingCode8>trackingCode8</trackingCode8>
<trackingCode9>trackingCode9</trackingCode9>
<trackingCode10>trackingCode10</trackingCode10>
</tracking>
<repeat>
<repeatType>RECURRING_SINGLE</repeatType>
<dayInWeek>
<day>SUNDAY</day>
</dayInWeek>
<endAfter>5</endAfter>
<occurenceType>WEEKLY</occurenceType>
<interval>5</interval>
<dayInMonth>1</dayInMonth>
<weekInMonth>1</weekInMonth>
<monthInYear>1</monthInYear>
<dayInYear>1</dayInYear>
</repeat>
<remind>
<enableReminder>true</enableReminder>
<emails>
<email>String</email>
</emails>
<sendEmail>false</sendEmail>
<mobile>String</mobile>
<sendMobile>false</sendMobile>
<daysAhead>1</daysAhead>
<hoursAhead>1</hoursAhead>
<minutesAhead>1</minutesAhead>
</remind>
<presenters>
<participants>
<participant>
<person>
<name>alternatehost1</name>
<email>mandar@tripund.co.in</email>
<type>MEMBER</type>
</person>
<role>HOST</role>
</participant>
</participants>
</presenters>
<attendees>
<participants>
<participant>
<person>
<name>alternatehost3</name>
<email>mandar@tripund.co.in</email>
<type>MEMBER</type>
</person>
<role>HOST</role>
</participant>
</participants>
</attendees>
<attendeeOptions>
<request>true</request>
<registration>true</registration>
<auto>true</auto>
<registrationPWD>pass</registrationPWD>
<maxRegistrations>10</maxRegistrations>
<registrationCloseDate>04/10/2004 00:00:00
</registrationCloseDate>
<emailInvitations>true</emailInvitations>
</attendeeOptions>
</bodyContent>
</body>
</serv:message>
10-07-2016 06:10 AM
Hello Mandar,
I need to look at this in greater detail, but you're using the same email for two attendees in the conference. This will probably throw an error since some things are tracked to the attendee by their email. Try using a different email for each attendee in the conference. That is just an inital guess looking at the XML. I will spend some time to dig in a little deeper.
Could you let me know which API call you are making?
Thanks!
Jacob
DevNet Sandbox Team
07-30-2021 11:47 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide