I'm using eBay.Services to find items.
The code is as bellow
eBay.Services.Finding.FindingServicePortTypeClient client;
ClientConfig config = new ClientConfig();
config.EndPointAddress = "http://svcs.ebay.com/services/search/FindingService/v1";
config.ApplicationId = "xxxxx-xx-xxx-xxxxxxxxx-xxxxxxxx";
client = FindingServiceClientFactory.getServiceClient(config);
This code working fine in my .net website but not working in my WindowsService
'client.State' is showing 'Created' in website,
whereas
'client.State' always showing 'Faulted' in WindowsService.
'client.InnerChannel' threw an exception of type 'System.ServiceModel.CommunicationObjectFaultedException'
Please suggest.