<?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: C# SDK - System.Xml.XmlException for LogOnAsync in Security</title>
    <link>https://community.splunk.com/t5/Security/C-SDK-System-Xml-XmlException-for-LogOnAsync/m-p/398324#M13369</link>
    <description>&lt;P&gt;I had to set the port to 8089 for the service to resolve this exception.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Jan 2019 15:56:02 GMT</pubDate>
    <dc:creator>kriggs</dc:creator>
    <dc:date>2019-01-15T15:56:02Z</dc:date>
    <item>
      <title>C# SDK - System.Xml.XmlException for LogOnAsync</title>
      <link>https://community.splunk.com/t5/Security/C-SDK-System-Xml-XmlException-for-LogOnAsync/m-p/398323#M13368</link>
      <description>&lt;P&gt;I compiled the SDK and tried logging on but when I set the service object, I get a System.Xml.XmlException because the page starts with &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;!
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;instead of &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;!--
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;so line 1, pos 3 (where I would expect the two tacs to follow the exclamation point) causes Xml to throw an exception.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;svc = new Service(new Uri("https://servername:8888/"));
await svc.LogOnAsync(username, password);
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Short of editing the comment to include the tacs, anyone have another resolution?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jan 2019 19:32:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/C-SDK-System-Xml-XmlException-for-LogOnAsync/m-p/398323#M13368</guid>
      <dc:creator>kriggs</dc:creator>
      <dc:date>2019-01-14T19:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: C# SDK - System.Xml.XmlException for LogOnAsync</title>
      <link>https://community.splunk.com/t5/Security/C-SDK-System-Xml-XmlException-for-LogOnAsync/m-p/398324#M13369</link>
      <description>&lt;P&gt;I had to set the port to 8089 for the service to resolve this exception.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 15:56:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/C-SDK-System-Xml-XmlException-for-LogOnAsync/m-p/398324#M13369</guid>
      <dc:creator>kriggs</dc:creator>
      <dc:date>2019-01-15T15:56:02Z</dc:date>
    </item>
  </channel>
</rss>

