Click here to Skip to main content
15,867,756 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to Use Web service in my current project.

I know all Procedure How to Create Web Service Then How to add Reference to my Project but After Creating Web Service When I Was Try to use in my Current Project I'm unable to get that created Web service.

Where As I Created the Web Service in Same Project.

Please Suggest me What I'm doing Wrong.
Posted
Updated 6-Oct-11 23:59pm
v2
Comments
P.Salini 7-Oct-11 2:00am    
Paste some code..How u r accessing webservice in code

have you add reference it through webreference ?

set as startup project to your *.asmx file and check if it run successully in browser.

if it run successfully then copy URL and then add web reference with the help of this URL.
 
Share this answer
 
v2
Comments
Dalek Dave 7-Oct-11 5:59am    
U?
You! :)
koolprasad2003 7-Oct-11 6:04am    
Oops, Typo. i will correct.
You can follow the link, it explains in detail how to use web services in your asp.net project

Building XML Web Service Clients

If you are getting any specific error update your question. It can be specifically addressed.
 
Share this answer
 
Comments
Dalek Dave 7-Oct-11 5:59am    
Nice Link
RaviRanjanKr 7-Oct-11 15:21pm    
Nice Link, My 5+
Hi,

Here I'm providing some links for webservices in asp.net

so just check these links.

http://www.codeproject.com/KB/webservices/WebServiceConsumer.aspx

And

http://www.asp.net/general/videos/how-do-i-create-and-call-a-simple-web-service-in-aspnet

All the Best
 
Share this answer
 
Comments
Dalek Dave 7-Oct-11 6:06am    
Good Links
RaviRanjanKr 7-Oct-11 15:21pm    
Nice Link, My 5+

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