<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Comment Feed for Channel 9 - Building a Custom eBay Watch List Using the SOAP API</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API/RSS"></atom:link>
	<image>
		<url>http://ecn.channel9.msdn.com/o9/c4f/images/912397_100.jpg</url>
		<title>Channel 9 - Building a Custom eBay Watch List Using the SOAP API</title>
		<link></link>
	</image>
	<description>



&amp;nbsp;
Keeping a track on changes on eBay using its web service.



Alan Lewis
Alan Lewis

Difficulty: Easy
Time Required: 
1-3 hours
Cost: Free
Software: Visual Studio Express Editions,
eBay web service
Hardware: 
Download: 

C# Download
VB Download






If you&#39;re like me, you&#39;re always keeping an eye on what&#39;s happening on eBay. Whenever I find something that I&#39;m interested in tracking, I use eBay&#39;s Watch List feature to remember it for me. However, I find when I&#39;m watching lots of items it&#39;s not so easy
 to sort, filter, and display them as I want. That&#39;s where eBay Web Services comes in. What I did was write a program to retrieve all my watch list items using SOAP. Now I have complete control to customize the display and add the feature I want to the interface.
 
In this article I&#39;ll walk you how I did this using ASP.NET 2.0. You&#39;ll learn the basics of eBay Web Services and see how easy it is to customize eBay.
 

 
Getting Registered with eBay
To get started, register with the eBay Developers Program. Signing up for the program gives you access to the Sandbox, eBay&#39;s test environment that allows you to test your applications before taking them live.
 For this example, we want to pull down the real eBay Watch List data, so you need to get access to eBay&#39;s production environment. Register for access to the production eBay environment by submitting the
Self-Certification Form. Once you complete this form you&#39;ll receive an email with instructions on how to retrieve your production developer keys. Follow those instructions, and once you&#39;ve
 retrieved your keys save them in a text file for later use.  
Once you have access to the production environment, create an authentication token for your eBay username by going to

http://cgi1.ebay.com/aw-cgi/eBayISAPI.dll?RegisterShow&amp;amp;ru=http%3A//www.ebay.com. (Sign up for eBay first if you haven&#39;t done so.) eBay Web Services uses authentication
 tokens for user authentication to keep your user data secure. This system allows authorized third party applications to make Web Services calls on your behalf without those third parties having access to your eBay username and password. Use the
Single User Authentication Token tool to create an authentication token for your test user. In the tool, select the Production environment and enter the production developer keys you retrieved earlier. Go through
 the flow, and when you&#39;re done save the authentication token in the same place as you saved your developer keys.
 
Accessing the eBay Web Service
Now that you have all of that stuff out of the way, we&#39;re ready to go. eBay offers access to its web services through SOAP, XML, SDKs for .NET and Java, and even a REST API. For this example we&#39;ll be using the SOAP API. eBay exposes a WSDL file that you
 use to generate wrapper code for the SOAP API. In Visual Studio 2005 or Visual Web Developer 2005 Express Edition, first create a new Web Site, and then import the eBay WSDL file by right-clicking the web site root in the Solution Explorer, then selecting
 Add Web Reference...:  

 
In the Add Web Reference dialog, load the WSDL URL:  
http://developer.ebay.com/webservices/latest/eBaySvc.wsdl  

 
(Click image to zoom)  
It takes a few minutes to load the WSDL and generate the stubs from it. Once the WSDL is loaded, click Add Reference. If you get impatient with this process, just think:
all this generated code is saving me time!  
A Custom Watch List Web Form
The example we are creating displays the contents of your eBay watch list in a simple table. Create a new Web Form, and in the
&amp;lt;div&amp;gt; element insert the following table:  
&amp;lt;asp:Table BorderWidth=&amp;quot;1&amp;quot; BorderStyle=&amp;quot;Solid&amp;quot; ID=&amp;quot;Table1&amp;quot;         GridLines=&amp;quot;Both&amp;quot; runat=&amp;quot;server&amp;quot;&amp;gt;    &amp;lt;asp:TableRow&amp;gt;        &amp;lt;asp:TableCell Text=&amp;quot;Time Left&amp;quot; Width=&amp;quot;90&amp;quot; Font-Bold=&amp;quot;true&amp;quot;             HorizontalAlign=&amp;quot;Center&amp;quot;&amp;gt;&amp;lt;/asp:TableCell&amp;gt;        &amp;lt;asp:TableCell Text=&amp;quot;Title&amp;quot; Width=&amp;quot;120&amp;quot; Font-Bold=&amp;quot;true&amp;quot;&amp;gt;        &amp;lt;/asp:TableCell&amp;gt;        &amp;lt;asp:TableCell Text=&amp;quot;Price&amp;quot; Width=&amp;quot;65&amp;quot; Font-Bold=&amp;quot;true&amp;quot;             HorizontalAlign=&amp;quot;Center&amp;quot;&amp;gt;&amp;lt;/asp:TableCell&amp;gt;        &amp;lt;asp:TableCell Text=&amp;quot;Item ID&amp;quot; Width=&amp;quot;80&amp;quot; Font-Bold=&amp;quot;true&amp;quot;            HorizontalAlign=&amp;quot;Center&amp;quot;&amp;gt;&amp;lt;/asp:TableCell&amp;gt;                    &amp;lt;/asp:TableRow&amp;gt;&amp;lt;/asp:Table&amp;gt;&amp;nbsp;
The table headers are declared in the markup. The rest of the table rows with the watch list data will be added dynamically once the web service call is made.
 
The generated code allows you to make calls to any of the 100&amp;#43; methods exposed by the eBay SOAP API. Once you have figured out how to make one eBay Web Service call, the rest is easy. The
Page_Load method in the code behind file contains the following code that sets up the call (you&#39;ll find the complete code in the download that accompanies this article): 
Visual C# 
 

string endpoint = &amp;quot;https://api.ebay.com/wsapi&amp;quot;;string callName = &amp;quot;GetMyeBayBuying&amp;quot;;string siteId = &amp;quot;0&amp;quot;;string appId = &amp;quot;YOUR_APPID&amp;quot;;  // use your app ID string devId = &amp;quot;YOUR_DEVID&amp;quot;;  // use your dev ID string certId = &amp;quot;YOUR_CERTIFICATE&amp;quot;;  // use your cert ID string version = &amp;quot;437&amp;quot;;// Build the request URL string requestURL = endpoint    &amp;#43; &amp;quot;?callname=&amp;quot; &amp;#43; callName    &amp;#43; &amp;quot;&amp;amp;siteid=&amp;quot; &amp;#43; siteId    &amp;#43; &amp;quot;&amp;amp;appid=&amp;quot; &amp;#43; appId    &amp;#43; &amp;quot;&amp;amp;version=&amp;quot; &amp;#43; version    &amp;#43; &amp;quot;&amp;amp;routing=default&amp;quot;;// Create the service eBayAPIInterfaceService service = new eBayAPIInterfaceService();// Assign the request URL to the service locator. service.Url = requestURL;// Set credentials service.RequesterCredentials = new CustomSecurityHeaderType();service.RequesterCredentials.eBayAuthToken = &amp;quot;YOUR_TOKEN&amp;quot;;  // use your token service.RequesterCredentials.Credentials = new UserIdPasswordType();service.RequesterCredentials.Credentials.AppId = appId;service.RequesterCredentials.Credentials.DevId = devId;service.RequesterCredentials.Credentials.AuthCert = certId;



Visual Basic 
 
Dim endpoint As String = &amp;quot;https://api.ebay.com/wsapi&amp;quot;Dim callName As String =  &amp;quot;GetMyeBayBuying&amp;quot; Dim siteId As String = &amp;quot;0&amp;quot;Dim appId As String = &amp;quot;YOUR_APPID&amp;quot;  &#39;TODO: Enter your AppID Dim devId As String = &amp;quot;YOUR_DEVID&amp;quot;  &#39;TODO: Enter your DevID Dim certId As String = &amp;quot;YOUR_CERTIFICATE&amp;quot;  &#39;TODO: Enter your CertIDDim version As String = &amp;quot;437&amp;quot;&#39; Build the request URL Dim requestURL As String = endpoint _        &amp;amp; &amp;quot;?callname=&amp;quot; &amp;amp; callName _        &amp;amp; &amp;quot;&amp;amp;siteid=&amp;quot; &amp;amp; siteId _        &amp;amp; &amp;quot;&amp;amp;appid=&amp;quot; &amp;amp; appId _        &amp;amp; &amp;quot;&amp;amp;version=&amp;quot; &amp;amp; version _        &amp;amp; &amp;quot;&amp;amp;routing=default&amp;quot;&#39; Create the service Dim service As New eBayAPIInterfaceService()With service        &#39; Assign the request URL to the service locator.         .Url = requestURL        &#39; Set credentials         .RequesterCredentials = New CustomSecurityHeaderType()        .RequesterCredentials.eBayAuthToken = &amp;quot;YOUR_TOKEN&amp;quot; &#39;TODO: Enter your production token         .RequesterCredentials.Credentials = New UserIdPasswordType()        With .RequesterCredentials.Credentials                .AppId = appId                .DevId = devId                .AuthCert = certId        End WithEnd With

Replace the &amp;quot;YOUR&amp;quot; strings with the developer keys and authentication token that you retrieved earlier. This code sets the SOAP header with the authentication information and creates the URL parameters that are passed in.
 
The one line in this code that will change from call to call is this: 
Visual C#&amp;nbsp; 
 

string callName = &amp;quot;GetMyeBayBuying&amp;quot;; 



Visual Basic 
 
Dim callName As String = &amp;quot;GetMyeBayBuying&amp;quot;
For whatever call you are making, set the callName accordingly.  
The GetMyeBayBuying call retrieves all sorts of information about items you have purchased, items in your watch list, items you are bidding on, and more. The call to
GetMyeBayBuying is very simple: 
Visual C#&amp;nbsp; 
 

// Make the call to GetMyeBayBuying GetMyeBayBuyingRequestType buyingRequest = new GetMyeBayBuyingRequestType();ItemListCustomizationType watchListOptions = new ItemListCustomizationType();watchListOptions.Sort = ItemSortTypeCodeType.TimeLeft;buyingRequest.WatchList = watchListOptions;buyingRequest.Version = version;GetMyeBayBuyingResponseType buyingResponse = service.GetMyeBayBuying(buyingRequest);ItemType[] items = buyingResponse.WatchList.ItemArray;



Visual Basic 
 
&#39; Make the call to GetMyeBayBuying Dim buyingRequest As New GetMyeBayBuyingRequestType()Dim watchListOptions As New ItemListCustomizationType()watchListOptions.Sort = ItemSortTypeCodeType.TimeLeftbuyingRequest.WatchList = watchListOptionsbuyingRequest.Version = versionDim buyingResponse As GetMyeBayBuyingResponseType = _        service.GetMyeBayBuying(buyingRequest)Dim items() As ItemType = buyingResponse.WatchList.ItemArray
The instance of GetMyeBayBuyingRequestType contains the call input options. To specify that we want to retrieve the contents of the watch list, we set the
WatchList property with the ItemListCustomizationType options that we have created. We also set the
Version property to the same version string as we are passing in the URL. The
eBayAPIInterfaceService object contains a method for each call exposed by the SOAP API, and each method takes a &amp;quot;request type&amp;quot; object as a parameter. We pass in the request object that we&#39;ve created and set the result to an instance of
GetMyeBayBuyingResponseType. Finally, we extract the watch list items from the
WatchList.ItemArray property of the response object, and set it to an array of
ItemType.  
Once we have retrieved the items, it is up to us to display the information we want or make further calculations: 
Visual C#&amp;nbsp; 
 

// Add table rowsfor (int i = 0; i &amp;lt; items.Length; i&amp;#43;&amp;#43;){    TableCell timeLeftCell = new TableCell();    DateTime endTime = items[i].ListingDetails.EndTime;    DateTime now = DateTime.Now;    // Display that the item has ended, or how much time is left    if (endTime &amp;lt; now)    {        timeLeftCell.Text = &amp;quot;Ended&amp;quot;;    }    else    {        TimeSpan timeLeft = endTime - now;        string timeLeftDisplay = &amp;quot;&amp;quot;;        int days = timeLeft.Days;        if (days &amp;gt; 0)            timeLeftDisplay &amp;#43;= days.ToString() &amp;#43; &amp;quot; days, &amp;quot;;        int hours = timeLeft.Hours;        if (hours &amp;gt; 0)            timeLeftDisplay &amp;#43;= hours.ToString() &amp;#43; &amp;quot; hours&amp;quot;;        int minutes = timeLeft.Minutes;        if (minutes &amp;gt; 0 &amp;amp;&amp;amp; days == 0)            timeLeftDisplay &amp;#43;= &amp;quot;, &amp;quot; &amp;#43; minutes.ToString() &amp;#43; &amp;quot; min&amp;quot;;        int seconds = timeLeft.Seconds;        if (days == 0 &amp;amp;&amp;amp; hours == 0)            timeLeftDisplay &amp;#43;= &amp;quot;, &amp;quot; &amp;#43; seconds.ToString() &amp;#43; &amp;quot; sec&amp;quot;;        timeLeftCell.Text = timeLeftDisplay;    }         // Display the item title    TableCell titleCell = new TableCell();    titleCell.Text = items[i].Title;    // Display the current price    TableCell currentPriceCell = new TableCell();    currentPriceCell.Text = items[i].SellingStatus.CurrentPrice.Value.ToString();    // Display the Item ID    TableCell itemIDCell = new TableCell();    itemIDCell.Text = &amp;quot;&amp;lt;a href=\&amp;quot;http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&amp;amp;item=&amp;quot;    &amp;#43; items[i].ItemID &amp;#43; &amp;quot;\&amp;quot;&amp;gt;&amp;quot; &amp;#43; items[i].ItemID &amp;#43; &amp;quot;&amp;lt;/a&amp;gt;&amp;quot;;        TableRow row = new TableRow();    if ((i % 2) == 1)    {        row.BackColor = System.Drawing.Color.LightGray;    }    row.Cells.Add(timeLeftCell);    row.Cells.Add(titleCell);    row.Cells.Add(currentPriceCell);    row.Cells.Add(itemIDCell);    Table1.Rows.Add(row); }



Visual Basic 
&#39; Add table rowsFor i As Integer = 0 To items.Length - 1 Step i &amp;#43; 1    Dim timeLeftCell As New TableCell()    Dim endTime As DateTime = items(i).ListingDetails.EndTime    Dim now As DateTime = DateTime.Now    &#39; Display that the item has ended, or how much time is left    If endTime &amp;lt; now Then        timeLeftCell.Text = &amp;quot;Ended&amp;quot;    Else        Dim timeLeft As TimeSpan = endTime - now        Dim timeLeftDisplay As String = String.Empty        Dim days As Integer = timeLeft.Days        If days &amp;gt; 0 Then            timeLeftDisplay &amp;amp;= days.ToString() &amp;amp; &amp;quot; days, &amp;quot;        End If        Dim hours As Integer = timeLeft.Hours        If hours &amp;gt; 0 Then            timeLeftDisplay &amp;amp;= hours.ToString() &amp;amp; &amp;quot; hours&amp;quot;        End If        Dim minutes As Integer = timeLeft.Minutes        If minutes &amp;gt; 0 And days = 0 Then            timeLeftDisplay &amp;amp;= &amp;quot;, &amp;quot; &amp;amp; minutes.ToString() &amp;amp; &amp;quot; min&amp;quot;        End If        Dim seconds As Integer = timeLeft.Seconds        If days = 0 And hours = 0 Then            timeLeftDisplay &amp;amp;= &amp;quot;, &amp;quot; &amp;amp; seconds.ToString() &amp;amp; &amp;quot; sec&amp;quot;        End If        timeLeftCell.Text = timeLeftDisplay    End If    &#39; Display the item title    Dim titleCell As New TableCell()    titleCell.Text = items(i).Title        &#39; Display the current price    Dim currentPriceCell As New TableCell()    currentPriceCell.Text = items(i).SellingStatus.CurrentPrice.Value.ToString()    &#39; Display the Item ID    Dim itemIDCell As New TableCell()    itemIDCell.Text = &amp;quot;&amp;lt;a href=&amp;quot;&amp;quot;http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&amp;amp;item=&amp;quot; _        &amp;amp; items(i).ItemID &amp;amp; &amp;quot;&amp;quot;&amp;quot;&amp;gt;&amp;quot; &amp;amp; items(i).ItemID &amp;amp; &amp;quot;&amp;lt;/a&amp;gt;&amp;quot;    Dim row As New TableRow()    If (i Mod 2) = 1 Then        row.BackColor = System.Drawing.Color.LightGray    End If    With row.Cells        .Add(timeLeftCell)        .Add(titleCell)        .Add(currentPriceCell)        .Add(itemIDCell)    End With    Table1.Rows.Add(row)Next
The most complex code in this example actually has nothing to do with the web service call: the end time is passed back as a
DateTime, but we want to show how much time is left for each item. First, for items that have not already ended, we calculate a
TimeSpan between now and the end time. Then, we apply some simple heuristics on that
TimeSpan to create a more friendly string representation. Modern platforms like .NET make it easy to get data from web services, so you&#39;ll often find yourself spending much more time manipulating the data that you&#39;ve retrieved.
 
Each cell in the table row is represented by a TableCell object. For each field in each item that we retrieve, a
TableCell is created and its Text property is populated with what we want to display. We then create a
TableRow object and call the Add method on its Cells property. And last, we add the row to the
Rows property on the Table1 object that is declared on the form.  
That&#39;s it! With one simple form and little more than 100 lines of code, you have a working application that integrates with eBay Web Services to do something useful. In a future article I&#39;ll show you how to integrate other calls and use more sophisticated
 XML processing to add unique features not available in the standard eBay watch list. 
</description>
	<link></link>
	<language>en</language>
	<pubDate>Sat, 25 May 2013 00:58:52 GMT</pubDate>
	<lastBuildDate>Sat, 25 May 2013 00:58:52 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<item>
		<title>Re: Building a Custom eBay Watch List Using the SOAP API</title>
		<description>
			<![CDATA[ <p>Looks like from the error you're attempting to subtract 2 date objects.</p><p>Switch to a DateTime object and you'll be able to do that. &nbsp;Something along the lines of </p><p>DateTime.Now - start</p><p>posted by Clint</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633326004000000000</link>
		<pubDate>Fri, 07 Dec 2007 05:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633326004000000000</guid>
		<dc:creator>Clint</dc:creator>
	</item>
	<item>
		<title>Re: Building a Custom eBay Watch List Using the SOAP API</title>
		<description>
			<![CDATA[ <p>i am getting &quot;application name invalid&quot;..error...i passed all four parameters i.e APPID,DEVID,CERTID and AUTHtOKEN...but it fires above error</p><p>posted by daivagna</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633335508000000000</link>
		<pubDate>Tue, 18 Dec 2007 05:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633335508000000000</guid>
		<dc:creator>daivagna</dc:creator>
	</item>
	<item>
		<title>Re: Building a Custom eBay Watch List Using the SOAP API</title>
		<description>
			<![CDATA[ <p>@daivagna and @haojian jin: &nbsp;are you sure you have eBayAuthToken property using your ebay auth token?</p><p>If you're still having problems contact us @ via the contact link at the top of the blog. &nbsp;I'll email you from there.</p><p>posted by Clint</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633343284000000000</link>
		<pubDate>Thu, 27 Dec 2007 05:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633343284000000000</guid>
		<dc:creator>Clint</dc:creator>
	</item>
	<item>
		<title>Re: Building a Custom eBay Watch List Using the SOAP API</title>
		<description>
			<![CDATA[ <p>I am meeting with the same problem with daivagna .</p><p>There is a error called &quot;application name invalid&quot;.</p><p>posted by haojian jin</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633343284000000000</link>
		<pubDate>Thu, 27 Dec 2007 05:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633343284000000000</guid>
		<dc:creator>haojian jin</dc:creator>
	</item>
	<item>
		<title>Re: Building a Custom eBay Watch List Using the SOAP API</title>
		<description>
			<![CDATA[ <p>Very Good Sample. its working fine. But can any body will help me to get the order Details using the same process ? i have tried alot but... i am not getting any response. </p><p>please help me. ...</p><p>posted by Ranjit</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633345876000000000</link>
		<pubDate>Sun, 30 Dec 2007 05:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633345876000000000</guid>
		<dc:creator>Ranjit</dc:creator>
	</item>
	<item>
		<title>Re: Building a Custom eBay Watch List Using the SOAP API</title>
		<description>
			<![CDATA[ <p>Hi. I have a question. How can i finish the search function like the one in ebayDesktop.Which api can lead me there? Waiting for response . i will very appreciate your help if u can contact me @ email.</p><p>posted by haojian jin</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633351924000000000</link>
		<pubDate>Sun, 06 Jan 2008 05:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633351924000000000</guid>
		<dc:creator>haojian jin</dc:creator>
	</item>
	<item>
		<title>Re: Building a Custom eBay Watch List Using the SOAP API</title>
		<description>
			<![CDATA[ <p>Does anybody tried this on Visual Studio 2008 ? &nbsp;If I try to build it, the build hangs and takes 100% resources. </p><p>On 2005 eveything is OK. </p><p>posted by Victor</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633354516000000000</link>
		<pubDate>Wed, 09 Jan 2008 05:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633354516000000000</guid>
		<dc:creator>Victor</dc:creator>
	</item>
	<item>
		<title>Re: Building a Custom eBay Watch List Using the SOAP API</title>
		<description>
			<![CDATA[ <p>@Victor: &nbsp;This happened to me when I was adding the reference, but it built fine under VS 2008. &nbsp;The ebay API takes a bit to download. &nbsp;That could be it. &nbsp;I think it took me about 15&#43; minutes when I did it.</p><p>posted by Clint</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633358836000000000</link>
		<pubDate>Mon, 14 Jan 2008 05:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633358836000000000</guid>
		<dc:creator>Clint</dc:creator>
	</item>
	<item>
		<title>Re: Building a Custom eBay Watch List Using the SOAP API</title>
		<description>
			<![CDATA[ <p>1) Hi! I am confuse with the callName.</p><p>string callName = &quot;GetMyeBayBuying&quot;;</p><p>Where can i find the call name?</p><p>2) I had a &quot;Application name invalid.&quot; Server error page.</p><p>posted by Xavier</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633371796000000000</link>
		<pubDate>Tue, 29 Jan 2008 05:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633371796000000000</guid>
		<dc:creator>Xavier</dc:creator>
	</item>
	<item>
		<title>Re: Building a Custom eBay Watch List Using the SOAP API</title>
		<description>
			<![CDATA[ <p>System.NullReferenceException: Object reference not set to an instance of an object. </p><p>ItemType items = buyingResponse.WatchList.ItemArray;</p><p>i am having problem with this line..</p><p>please help!!</p><p>very urgent!!</p><p>thanks</p><p>posted by simster</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633372660000000000</link>
		<pubDate>Wed, 30 Jan 2008 05:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633372660000000000</guid>
		<dc:creator>simster</dc:creator>
	</item>
	<item>
		<title>Re: Building a Custom eBay Watch List Using the SOAP API</title>
		<description>
			<![CDATA[ <p>The following line of code is giving me a hell of a time:</p><p>eBayAPIInterfaceService service = new eBayAPIInterfaceService();</p><p>Yields -&gt;</p><p>The type or namespace name 'eBayAPIInterfaceService' could not be found (are you missing a using directive or an assembly reference?)</p><p>I can't find any resources to explain where/what the assembly is.</p><p>I</p><p>posted by Barry</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633381300000000000</link>
		<pubDate>Sat, 09 Feb 2008 05:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633381300000000000</guid>
		<dc:creator>Barry</dc:creator>
	</item>
	<item>
		<title>Re: Building a Custom eBay Watch List Using the SOAP API</title>
		<description>
			<![CDATA[ <p>@Xavier: No clue why it does that, you may want to contact Alan who wrote the article.</p><p>@simster: &nbsp;You're watchlist may be null which may imply you got zero search results from a quick glance.</p><p>posted by Clint</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633383892000000000</link>
		<pubDate>Tue, 12 Feb 2008 05:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633383892000000000</guid>
		<dc:creator>Clint</dc:creator>
	</item>
	<item>
		<title>Re: Building a Custom eBay Watch List Using the SOAP API</title>
		<description>
			<![CDATA[ <p>@Barry: &nbsp;Are you copying code or did you use the source we provided? &nbsp;If you are just copying code, did you include the web service then at the top of the class include the using block to say You're using the ebay API?</p><p>posted by Clint</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633383892000000000</link>
		<pubDate>Tue, 12 Feb 2008 05:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633383892000000000</guid>
		<dc:creator>Clint</dc:creator>
	</item>
	<item>
		<title>Re: Building a Custom eBay Watch List Using the SOAP API</title>
		<description>
			<![CDATA[ <p>@Barry:</p><p>This worked for me.</p><p>using ebayTest.com.ebay.developer;</p><p>ebayTest is my project name. &nbsp;My web service name is com.ebay.developer too.</p><p>This is from a fresh project too.</p><p>posted by Clint</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633384756000000000</link>
		<pubDate>Wed, 13 Feb 2008 05:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633384756000000000</guid>
		<dc:creator>Clint</dc:creator>
	</item>
	<item>
		<title>Re: Building a Custom eBay Watch List Using the SOAP API</title>
		<description>
			<![CDATA[ <p>@Coding4Fun</p><p>I am copying the C# code from the blocks above.</p><p>I add the Service Reference from <a rel="nofollow" target="_new" href="http://developer.ebay.com/webservices/latest/eBaySvc.wsdl">http://developer.ebay.com/webservices/latest/eBaySvc.wsdl</a></p><p>And as far as namespaces, the only 3 I can find are:</p><p>using eBay.ServiceReference;</p><p>using eBay.Properties;</p><p>using eBay;</p><p>However I might be missing something, I can't find the eBayAPIInterfaceService object in the entire eBay namespace</p><p>I'm using VS 2008, .NET 3.5 if that would make a difference</p><p>posted by Barry</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633384756000000000</link>
		<pubDate>Wed, 13 Feb 2008 05:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633384756000000000</guid>
		<dc:creator>Barry</dc:creator>
	</item>
	<item>
		<title>Re: Building a Custom eBay Watch List Using the SOAP API</title>
		<description>
			<![CDATA[ <p>I just tried the C# version from the download link above.</p><p>I am using VS 2008 Express.</p><p>I created a New Web site, imported the WSDL file as above.</p><p>Copied the source code from the download.</p><p>Inserted my AUTHID etc.</p><p>When compiling, I get one error on line 11</p><p>Line 11 is in Default.aspx.cs</p><p>using eBayWebServices;</p><p>Error 1 The type or namespace name 'eBayWebServices' could not be found (are you missing a using directive or an assembly reference?) </p><p>posted by Marty</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633402900000000000</link>
		<pubDate>Wed, 05 Mar 2008 05:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633402900000000000</guid>
		<dc:creator>Marty</dc:creator>
	</item>
	<item>
		<title>Re: Building a Custom eBay Watch List Using the SOAP API</title>
		<description>
			<![CDATA[ <p>Hi</p><p>I left a question a few days ago and it has not shown up.</p><p>Any reason why?</p><p>posted by Marty</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633404628000000000</link>
		<pubDate>Fri, 07 Mar 2008 05:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633404628000000000</guid>
		<dc:creator>Marty</dc:creator>
	</item>
	<item>
		<title>Re: Building a Custom eBay Watch List Using the SOAP API</title>
		<description>
			<![CDATA[ <p>@Marty: &nbsp;Sorry, I was at Mix 08 and am only now catching up. &nbsp;When you created your web service, what did you name it? &nbsp;That is what your using block for that should be. &nbsp;The author of this article renamed his from the default generated to &quot;eBayWebService&quot;</p><p>Do me a favor, type &quot;using &quot; then hit control-space. &nbsp;I'll bet your'll see one of the items in the list be the item that you named your web service.</p><p>posted by Clint</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633405492000000000</link>
		<pubDate>Sat, 08 Mar 2008 05:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633405492000000000</guid>
		<dc:creator>Clint</dc:creator>
	</item>
	<item>
		<title>Re: Building a Custom eBay Watch List Using the SOAP API</title>
		<description>
			<![CDATA[ <p>HI,</p><p>Figured you must have been away.</p><p>I am new to all this so be gentle with me.</p><p>When creating the Web service, is that when you are doing the</p><p>Add Web Reference?</p><p>Where do I type the using CRTL-space?</p><p>Marty</p><p>posted by Marty</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633406356000000000</link>
		<pubDate>Sun, 09 Mar 2008 05:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633406356000000000</guid>
		<dc:creator>Marty</dc:creator>
	</item>
	<item>
		<title>Re: Building a Custom eBay Watch List Using the SOAP API</title>
		<description>
			<![CDATA[ <p>@Marty: &nbsp;Email me by clicking the contact button up on the top and we'll take this offline from this thread. &nbsp;I'll be able to respond quicker then I'll post a response on this thread on how we fixed the issue.</p><p>I'll be able to do a screen cast possibly to help out and talk you through it.</p><p>posted by Clint</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633407184000000000</link>
		<pubDate>Mon, 10 Mar 2008 04:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633407184000000000</guid>
		<dc:creator>Clint</dc:creator>
	</item>
	<item>
		<title>Re: Building a Custom eBay Watch List Using the SOAP API</title>
		<description>
			<![CDATA[ <p>@Desperate Student TT: &nbsp;Put in a break point, I bet your WatchList is null.</p><p>You'll need to do more defensive coding and verify the buyingResponse.WatchList != null before moving foward</p><p>posted by Clint</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633542832000000000</link>
		<pubDate>Thu, 14 Aug 2008 04:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633542832000000000</guid>
		<dc:creator>Clint</dc:creator>
	</item>
	<item>
		<title>Re: Building a Custom eBay Watch List Using the SOAP API</title>
		<description>
			<![CDATA[ <p>I have this error!!</p><p>Object reference not set to an instance of an object. </p><p>Line 51: &nbsp; &nbsp; &nbsp; &nbsp;ItemType[] items = buyingResponse.WatchList.ItemArray;</p><p>HELP PLS T.T</p><p>posted by Desperate Student TT</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633542832000000000</link>
		<pubDate>Thu, 14 Aug 2008 04:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633542832000000000</guid>
		<dc:creator>Desperate Student TT</dc:creator>
	</item>
	<item>
		<title>Re: Building a Custom eBay Watch List Using the SOAP API</title>
		<description>
			<![CDATA[ <p>solved this problem</p><p>Line 51: &nbsp; &nbsp; &nbsp; &nbsp;ItemType[] items = buyingResponse.WatchList.ItemArray</p><p>replace it with this code</p><p>&nbsp;if (buyingResponse.WatchList != null)</p><p>&nbsp; &nbsp; &nbsp; &nbsp;{</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;items = buyingResponse.WatchList.ItemArray;</p><p>&nbsp; &nbsp; &nbsp; &nbsp;}</p><p>and &nbsp;if (items != null), put this 'if' loop to cover the entire 'add table raw' code</p><p>posted by Bun</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633554064000000000</link>
		<pubDate>Wed, 27 Aug 2008 04:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c633554064000000000</guid>
		<dc:creator>Bun</dc:creator>
	</item>
	<item>
		<title>Re: Building a Custom eBay Watch List Using the SOAP API</title>
		<description>
			<![CDATA[ <p>@Hemanth one question is are you sure what you're querying has values getting returned?</p><p>Does the source code download work?</p><p>posted by Clint</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c634056912000000000</link>
		<pubDate>Thu, 01 Apr 2010 04:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c634056912000000000</guid>
		<dc:creator>Clint</dc:creator>
	</item>
	<item>
		<title>Re: Building a Custom eBay Watch List Using the SOAP API</title>
		<description>
			<![CDATA[ <p>Getting null values in response then how could i get items, where i have given valid production appid, devid &amp; certid with relative usertoken.</p><p>Please guide me</p><p>posted by Hemanth</p>]]>
		</description>
		<link>http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c634056912000000000</link>
		<pubDate>Thu, 01 Apr 2010 04:00:00 GMT</pubDate>
		<guid isPermaLink="true">http://channel9.msdn.com/coding4fun/articles/Building-a-Custom-eBay-Watch-List-Using-the-SOAP-API#c634056912000000000</guid>
		<dc:creator>Hemanth</dc:creator>
	</item>
</channel>
</rss>