TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
ajoy mandal
NA
176
1.6k
Code not working in WindowsService using eBay.Services
Jun 30 2016 8:38 AM
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.
Reply
Answers (
1
)
SC CreateService FAILED 1057
windows service can not start