﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Newsgator Forums / NewsGator API / Extras  / API Developer Token Issue / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>Newsgator Forums</description><link>http://forum.newsgator.com/</link><webMaster>info@newsgator.com</webMaster><lastBuildDate>Wed, 07 Jan 2009 11:16:09 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: API Developer Token Issue</title><link>http://forum.newsgator.com/Topic8877-8-1.aspx</link><description>Ah, you may have to reload them again, then.  I left the Token header declaration off of that method, though it was expecting a token, which is why that method would blow up.  </description><pubDate>Thu, 20 Oct 2005 23:41:01 GMT</pubDate><dc:creator>Gordon Weakliem</dc:creator></item><item><title>RE: API Developer Token Issue</title><link>http://forum.newsgator.com/Topic8877-8-1.aspx</link><description>It wasn't working until i reloaded the Web References in my .NET project.  Weird...shouldn't that update automatically if the web service changes?&lt;br&gt;&lt;br&gt;Thanks for the quick response!&lt;br&gt;</description><pubDate>Thu, 20 Oct 2005 12:06:38 GMT</pubDate><dc:creator>rawdrib</dc:creator></item><item><title>RE: API Developer Token Issue</title><link>http://forum.newsgator.com/Topic8877-8-1.aspx</link><description>Rawdrib, sorry, forgot to mention that I loaded a fix for GetUpdates around 17:00 MDT yesterday, are you still broken?</description><pubDate>Thu, 20 Oct 2005 11:46:17 GMT</pubDate><dc:creator>Gordon Weakliem</dc:creator></item><item><title>RE: API Developer Token Issue</title><link>http://forum.newsgator.com/Topic8877-8-1.aspx</link><description>Thanks, I've got the tokens working. Sorry to have added an off-topic post. &lt;br&gt;&lt;br&gt;</description><pubDate>Thu, 20 Oct 2005 09:15:13 GMT</pubDate><dc:creator>Burningbird</dc:creator></item><item><title>RE: API Developer Token Issue</title><link>http://forum.newsgator.com/Topic8877-8-1.aspx</link><description>The issue with GetUpdates is a separate issue, correct?  Any ETA on when it might be fixed?&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;Brian</description><pubDate>Thu, 20 Oct 2005 07:44:06 GMT</pubDate><dc:creator>rawdrib</dc:creator></item><item><title>RE: API Developer Token Issue</title><link>http://forum.newsgator.com/Topic8877-8-1.aspx</link><description>Here's a live capture from the sample app:&lt;br&gt;&lt;br&gt;POST /ngws/svc/Subscription.asmx HTTP/1.1&lt;br&gt;User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 1.1.4322.2032)&lt;br&gt;Content-Type: text/xml; ch****t=utf-8&lt;br&gt;SOAPAction: "http://services.newsgator.com/svc/Subscription.asmx/GetSubscriptionList"&lt;br&gt;Authorization: Digest username="elaina w",realm="NewsGator Online Services",nonce="MTAvMTkvMjAwNSA5OjAzOjUyIFBN",uri="/ngws/svc/Subscription.asmx",algorithm="MD5",cnonce="3a31a66d0b553801518c5e33c432d63a",nc=00000001,qop="auth",response="fb3e2828a4eda16c3946b6996c3cfe5d",opaque="0000000000000000"&lt;br&gt;Content-Length: 588&lt;br&gt;Connection: Keep-Alive&lt;br&gt;Host: services.newsgator.com&lt;br&gt;&lt;br&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&amp;gt; &amp;lt;soap:Header&amp;gt; &lt;br&gt;&amp;lt;NGAPIToken xmlns="http://services.newsgator.com/svc/Subscription.asmx"&amp;gt; &lt;br&gt;&amp;lt;Token&amp;gt;A8A8A9B5DC8240a4B1065C8CE4771074&amp;lt;/Token&amp;gt; &lt;br&gt;&amp;lt;/NGAPIToken&amp;gt; &lt;br&gt;&amp;lt;/soap:Header&amp;gt;&lt;br&gt; &amp;lt;soap:Body&amp;gt; &lt;br&gt;&amp;lt;GetSubscriptionList xmlns="http://services.newsgator.com/svc/Subscription.asmx"&amp;gt; &lt;br&gt;&amp;lt;location&amp;gt;nggordon&amp;lt;/location&amp;gt; &lt;br&gt;&amp;lt;syncToken&amp;gt;MDEyMDA1LTEwLTE5VDIxOjAyOjAw&amp;lt;/syncToken&amp;gt; &lt;br&gt;&amp;lt;/GetSubscriptionList&amp;gt; &lt;br&gt;&amp;lt;/soap:Body&amp;gt; &lt;br&gt;&amp;lt;/soap:Envelope&amp;gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;I also worked up a simple PHP example at http://www.agileprogrammer.com/eightytwenty/archive/2005/10/18/8745.aspx &lt;br&gt;I'm sure I violated all sorts of PHP coding rules but it does work.  The tricky thing about the API token header is that it takes on the namespace of the web service being called.  </description><pubDate>Wed, 19 Oct 2005 21:11:43 GMT</pubDate><dc:creator>Gordon Weakliem</dc:creator></item><item><title>RE: API Developer Token Issue</title><link>http://forum.newsgator.com/Topic8877-8-1.aspx</link><description>Yes, I've had much of my work break, also. And I was sending the token, but obviously not doing it corrently. Do you have a sample SOAP request with the developer token embedded in it, so that I can figure out how to make my PHP SOAP call? &lt;br&gt;&lt;br&gt;</description><pubDate>Wed, 19 Oct 2005 19:05:13 GMT</pubDate><dc:creator>Burningbird</dc:creator></item><item><title>RE: API Developer Token Issue</title><link>http://forum.newsgator.com/Topic8877-8-1.aspx</link><description>Ok, it turns out that GetUpdates isn't reading the token, but it's trying to set up a transaction context which is probably causing it to blow up.  Give me a little bit to get this fixed...</description><pubDate>Wed, 19 Oct 2005 13:24:58 GMT</pubDate><dc:creator>Gordon Weakliem</dc:creator></item><item><title>API Developer Token Issue</title><link>http://forum.newsgator.com/Topic8877-8-1.aspx</link><description>I made a simple application that uses the NewsGator API to sync subscriptions and store the feeds on my local server.  I was not sending the Developer Token, and as of the update yesterday, the application broke because of this.  So, i am in the process of updating the application to use the Developer Token to make all calls to the API.  &lt;br&gt;&lt;br&gt;I have been able to get the GetUpdates() method of the SubscriptionWebService object to work, regardless of the token i set for the object.  I am able to call the GetSubscriptionList method, however.  &lt;br&gt;&lt;br&gt;For example, the following code runs fine until the SubSvc.GetUpdates call.  Does the GetSubscriptionList not require the API token and the GetUpdates does?&lt;br&gt;&lt;br&gt;&lt;br&gt;        SubSvc.NGAPITokenValue = New com.newsgator.services1.NGAPIToken&lt;br&gt;        SubSvc.NGAPITokenValue.Token = config.NGAPIToken&lt;br&gt;        xe = SubSvc.GetSubscriptionList(config.Location, lastSubUpdate.SyncToken)&lt;br&gt;        arrStr = SubSvc.GetUpdates(config.Location, lastSubUpdate.SyncToken, newToken)&lt;br&gt;&lt;br&gt;Any suggestions would be appreciated.&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks,&lt;br&gt;Brian&lt;br&gt;</description><pubDate>Wed, 19 Oct 2005 11:07:56 GMT</pubDate><dc:creator>rawdrib</dc:creator></item></channel></rss>