developers program  

Welcome, Guest Help
Login Login | Register
 

eBay Developer Forums > Technical Questions: eBay Shopping, Finding and Merchandising APIs
RSS | NNTP Reader | FAQ | Usage Policies | Advanced Search | Print

in current forum  
in all Developer Forums

Replies: 3 - Pages: 1     Last Post: Nov 17, 2009 2:17 PM by: alssoftware »



Posts: 5
Member Since: 11/4/09



sellerInfo is always null?
Posted: Nov 16, 2009 3:16 PM
  Click to reply to this thread Reply

I note with interest that none of my search result XMLs have any seller information in them. Is there something I did not do?

cj




Posts: 1,431
Member Since: 2/17/07



Re: sellerInfo is always null?
Posted: Nov 16, 2009 5:44 PM
  Click to reply to this thread Reply

What fields are you expecting?

--David




Posts: 5
Member Since: 11/4/09



Re: sellerInfo is always null?
Posted: Nov 17, 2009 2:43 AM
  Click to reply to this thread Reply

Here's the C# code:


if (si.sellerInfo != null) {
ro.Seller = si.sellerInfo.sellerUserName;

if (si.sellerInfo.topRatedSellerSpecified && si.sellerInfo.topRatedSeller)
ro.Seller += " *";

if (si.sellerInfo.positiveFeedbackPercentSpecified)
ro.Seller += string.Format(" ({0:0.00}%)", si.sellerInfo.positiveFeedbackPercent);
}


It never runs, because sellerInfo is always null. I don't work with the XML directly, only with the wrapper classes that Visual Studio makes, but I'd imagine the xml tag names are the same/follow this structure




Posts: 82
Member Since: 10/4/09



Re: sellerInfo is always null?
Posted: Nov 17, 2009 2:17 PM
  Click to reply to this thread Reply

Did you specify outputSelector ? or IncludeSelector?



thread.rss_message