how to access webservice from one project to another project

Posted by prince23 on Stack Overflow See other posts from Stack Overflow or by prince23
Published on 2010-05-10T01:56:53Z Indexed on 2010/05/10 1:58 UTC
Read the original article Hit count: 377

Filed under:
|

hi, i have an project with name called(dbservice layer) which is in path: d:\webservice\DBService. here i have an webservice which connects to DB and returns an object of an class.

once i added an reference here i get an url:http://localhost:2371/Jobs.svc

now i have another project name (UILayer) whic is in path: E:\School\UILayer i added an service reference here with url as http://localhost:2371/Jobs.svc but i get an messgae telling service is unable why is that happening.

if both my webserivce layer and ui layer are in same project. then i able to use the webserive in the ui layer. and get the required output

so i wanted to know is there any way we can acesss the webserive from one project to another project

thanks in advance

prince

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about web-services