<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: XML API validation: Parsing Error: Content is not allowed in prolog in Cloud Collaboration</title>
    <link>https://community.cisco.com/t5/cloud-collaboration/xml-api-validation-parsing-error-content-is-not-allowed-in/m-p/3499638#M802</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That error is almost always due to whitespace or otherwise 'invisible' characters at the very top of the XML document, i.e. prior to the 'prologue' &amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there is not an obvious space or blank line before the prologue, then the other common problem can be due to an invisible 'byte order mark' (BOM) &lt;A href="http://en.wikipedia.org/wiki/Byte_order_mark" title="http://en.wikipedia.org/wiki/Byte_order_mark"&gt;Byte order mark - Wikipedia, the free encyclopedia&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at the beginning of the XML portion.&amp;nbsp; This can occur if you've saved the XML in a windows app like Notepad. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://stackoverflow.com/questions/8432584/how-to-make-notepad-to-save-text-in-utf-8-without-bom" title="http://stackoverflow.com/questions/8432584/how-to-make-notepad-to-save-text-in-utf-8-without-bom"&gt;java - How to make notepad to save text in utf-8 without bom? - Stack Overflow&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Mar 2015 15:58:44 GMT</pubDate>
    <dc:creator>dstaudt</dc:creator>
    <dc:date>2015-03-23T15:58:44Z</dc:date>
    <item>
      <title>XML API validation: Parsing Error: Content is not allowed in prolog</title>
      <link>https://community.cisco.com/t5/cloud-collaboration/xml-api-validation-parsing-error-content-is-not-allowed-in/m-p/3499637#M801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;I am sending the following xml message to &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://mywebsite.webex.com/WBXService/XMLService" rel="nofollow" target="_blank"&gt;https://mywebsite.webex.com/WBXService/XMLService&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;serv:message xmlns:xsi="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow" target="_blank"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;header&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;securityContext&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;webExID&amp;gt;myuserid&amp;lt;/webExID&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;password&amp;gt;mypassword&amp;lt;/password&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;siteID&amp;gt;mysite&amp;lt;/siteID&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;partnerID&amp;gt;mypartnerid&amp;lt;/partnerID&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;email&amp;gt;myemail&amp;lt;/email&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/securityContext&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/header&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;body&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;bodyContent xsi:type="java:com.webex.service.binding.meeting.LstsummaryMeeting"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;listControl&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;startFrom&amp;gt;1&amp;lt;/startFrom&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;maximumNum&amp;gt;10&amp;lt;/maximumNum&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;listMethod&amp;gt;OR&amp;lt;/listMethod&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/listControl&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;order&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;orderBy&amp;gt;CONFNAME&amp;lt;/orderBy&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;orderAD&amp;gt;ASC&amp;lt;/orderAD&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;orderBy&amp;gt;STARTTIME&amp;lt;/orderBy&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;orderAD&amp;gt;ASC&amp;lt;/orderAD&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/order&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/bodyContent&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/body&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/serv:message&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the following response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;serv:message xmlns:serv=&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.webex.com/schemas/2002/06/service" rel="nofollow" target="_blank"&gt;http://www.webex.com/schemas/2002/06/service&lt;/A&gt;&lt;SPAN&gt; xmlns:com=&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.webex.com/schemas/2002/06/common" rel="nofollow" target="_blank"&gt;http://www.webex.com/schemas/2002/06/common&lt;/A&gt;&lt;SPAN&gt;&amp;gt;&amp;lt;serv:header&amp;gt;&amp;lt;serv:response&amp;gt;&amp;lt;serv:result&amp;gt;FAILURE&amp;lt;/serv:result&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;serv:reason&amp;gt;validation: Parsing Error : Content is not allowed in prolog.&lt;/P&gt;&lt;P&gt;Line : 1&lt;/P&gt;&lt;P&gt;Column : 1&lt;/P&gt;&lt;P&gt;&amp;lt;/serv:reason&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;serv:gsbStatus&amp;gt;PRIMARY&amp;lt;/serv:gsbStatus&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;serv:exceptionID&amp;gt;999999&amp;lt;/serv:exceptionID&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/serv:response&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/serv:header&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;serv:body&amp;gt;&amp;lt;serv:bodyContent&amp;gt;&amp;lt;/serv:body&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/serv:message&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;This must be a rookie mistake. Can you help?&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333330154419px;"&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2015 22:53:07 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cloud-collaboration/xml-api-validation-parsing-error-content-is-not-allowed-in/m-p/3499637#M801</guid>
      <dc:creator>jeanlaforest1</dc:creator>
      <dc:date>2015-03-19T22:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: XML API validation: Parsing Error: Content is not allowed in prolog</title>
      <link>https://community.cisco.com/t5/cloud-collaboration/xml-api-validation-parsing-error-content-is-not-allowed-in/m-p/3499638#M802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That error is almost always due to whitespace or otherwise 'invisible' characters at the very top of the XML document, i.e. prior to the 'prologue' &amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there is not an obvious space or blank line before the prologue, then the other common problem can be due to an invisible 'byte order mark' (BOM) &lt;A href="http://en.wikipedia.org/wiki/Byte_order_mark" title="http://en.wikipedia.org/wiki/Byte_order_mark"&gt;Byte order mark - Wikipedia, the free encyclopedia&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at the beginning of the XML portion.&amp;nbsp; This can occur if you've saved the XML in a windows app like Notepad. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://stackoverflow.com/questions/8432584/how-to-make-notepad-to-save-text-in-utf-8-without-bom" title="http://stackoverflow.com/questions/8432584/how-to-make-notepad-to-save-text-in-utf-8-without-bom"&gt;java - How to make notepad to save text in utf-8 without bom? - Stack Overflow&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2015 15:58:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cloud-collaboration/xml-api-validation-parsing-error-content-is-not-allowed-in/m-p/3499638#M802</guid>
      <dc:creator>dstaudt</dc:creator>
      <dc:date>2015-03-23T15:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: XML API validation: Parsing Error: Content is not allowed in prolog</title>
      <link>https://community.cisco.com/t5/cloud-collaboration/xml-api-validation-parsing-error-content-is-not-allowed-in/m-p/3499639#M803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks much. I had read that before but did not believe it applied to me &lt;/P&gt;&lt;P&gt;since I was not using Notepad to generate the string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was building the xml string in the code. Anyway I finally replace that &lt;/P&gt;&lt;P&gt;method with the proper XmlTextWriter class and that solved my issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jean Laforest&lt;/P&gt;&lt;P&gt;Pronex, Inc.&lt;/P&gt;&lt;P&gt;jeanlaforest@pronexinc.com&lt;/P&gt;&lt;P&gt;(972) 375-1941&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Mar 2015 17:53:51 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cloud-collaboration/xml-api-validation-parsing-error-content-is-not-allowed-in/m-p/3499639#M803</guid>
      <dc:creator>jeanlaforest1</dc:creator>
      <dc:date>2015-03-24T17:53:51Z</dc:date>
    </item>
  </channel>
</rss>

