Click here to Skip to main content
15,887,676 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
As i Created a webservice and i reference it by using a windows app but in the output i am getting the directory my windows form is unable to connect with that particular web service
Posted
Comments
Prerak Patel 13-Nov-11 23:47pm    
Elaborate or rephrase your question.
Pritesh Aryan 14-Nov-11 0:35am    
Please Elaborate more as Prerak had already told.
BTW, you can read this article over here about web-services http://priteshdotnet.wordpress.com/.

Hello friend..
You got that error because you have create a web serive and also code for calling that service in you windows application....

but before you call your service method you need to run your service on either on II7 or on your VS IIS,
after your web service is online using this then you can not face this problem....

or for more detail on how to call web service in windows form please see this...
Webservice with Win Forms and Web Forms[^]

Consuming Webservice In A Windows Application[^]
 
Share this answer
 
Comments
Tejas Vaishnav 14-Nov-11 1:56am    
If my ans help you please accept it as ans and also rate it...
palaniram 14-Nov-11 2:35am    
i can't able to locate my web service folder into an iis plz help

palaniram
i can't able to locate my web service folder into an iis plz help



For how to host web service on IIS please see this...
http://krismanohar.com/blog/?p=34[^]
 
Share this answer
 
Comments
Smithers-Jones 14-Nov-11 4:29am    
Use "improve solution" to add new infos to your answer, don't post an new solution!
Tejas Vaishnav 14-Nov-11 4:35am    
i aware for improve solution, but this is the second question asked by the user...
it's related to other topic so i add new solution and also mention why i add new solution.....

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900