Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
Code not working in WindowsService using eBay.Services
ajoy mandal
Jun 30 2016 8:38 AM
501
Reply
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.
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
SC CreateService FAILED 1057
windows service can not start