Hi All, I have created a web site that has web services. The site works well calling the web services within the project ... I also be able to test the web services ... now, I need to make these WS available in other web sites .. how do I do that? Do I need
to copy all the files (.asmx, .disco, .discomap, .wsdl) to the websites I need to use this WS? is there any site that can show us how to call it?? BTW, the ws I created is within intranet ... as well as other websites ... I hope this won't cause any problem??
how to add web Reference from the websiste. i am going to website then add web reference and clcik on myservice then still showing searching only. how to add web reference from my application. plz send me reply... its very Urgent for me...
Simple thing what you Have to do to call your Webservice from other website application goto
Add References--->Add webreferences--->and then select the Url path where ur webservice.asmx file is having select from the Browse and then Click Add references Button..
U will get ur .asmx file in your References Tab In your Solution
Try this and i will let you know
Regards
Ravi
Please click "mark as answer" if this post helped you.
Your approaching is correct but i dnt know why ur not able to get ur webservice path from your other solution
Check that URL (.asmx )file from the IE browser then you have to get the webservice name on the webbrowser page...then it will ok or else you need check the url path what it exactly stored
Try this and i will let me know
Regards
Ravi
Please click "mark as answer" if this post helped you.
Actually we are going to use web services in my project in the future.. now i want sample application for web services code. if it is possible send me as soon as possible???
hbtrain2007
Member
1 Points
32 Posts
How to call web services from another application?
Aug 31, 2007 11:46 PM|LINK
Hi All, I have created a web site that has web services. The site works well calling the web services within the project ... I also be able to test the web services ... now, I need to make these WS available in other web sites .. how do I do that? Do I need to copy all the files (.asmx, .disco, .discomap, .wsdl) to the websites I need to use this WS? is there any site that can show us how to call it?? BTW, the ws I created is within intranet ... as well as other websites ... I hope this won't cause any problem??
Sathesh_Pand...
Contributor
2706 Points
481 Posts
Re: How to call web services from another application?
Sep 01, 2007 07:08 AM|LINK
there are lot of providers allowing web services. But i don't have an idea about the free
webservices concept. You can call the web services through the same method but here you
have to give the exact ip address to call them.
it will work.
ravichoudary
Member
8 Points
4 Posts
Re: How to call web services from another application?
Nov 10, 2008 05:52 AM|LINK
how to call a method to another application by using webservices in asp.net
ravi2k7@hotm...
Participant
1315 Points
312 Posts
Re: How to call web services from another application?
Nov 10, 2008 06:32 AM|LINK
Hi
Take the Dll file of that Class and then
Add it as a References in Another Website
---Got solutions--->choose your folder -->add References---->and then select the Your Class Dll--
and then it will Add a Dll of your Class from another webapplication
Next got to your new Webpage codebehind file ---> write the name space of your dll(EX:using <dllName>)
then it will invoke all the functions that you wrote in dll class
Try this
Ravi
Please click "mark as answer" if this post helped you.
ravichoudary
Member
8 Points
4 Posts
Re: How to call web services from another application?
Nov 14, 2008 01:54 AM|LINK
hi
how to add web Reference from the websiste. i am going to website then add web reference and clcik on myservice then still showing searching only. how to add web reference from my application. plz send me reply... its very Urgent for me...
Thanks & Regards
Ravichoudary. T
webservice
ravi2k7@hotm...
Participant
1315 Points
312 Posts
Re: How to call web services from another application?
Nov 14, 2008 03:08 AM|LINK
Hi
Simple thing what you Have to do to call your Webservice from other website application goto
Add References--->Add webreferences--->and then select the Url path where ur webservice.asmx file is having select from the Browse and then Click Add references Button..
U will get ur .asmx file in your References Tab In your Solution
Try this and i will let you know
Ravi
Please click "mark as answer" if this post helped you.
ravi2k7@hotm...
Participant
1315 Points
312 Posts
Re: How to call web services from another application?
Nov 14, 2008 03:16 AM|LINK
HI
Your approaching is correct but i dnt know why ur not able to get ur webservice path from your other solution
Check that URL (.asmx )file from the IE browser then you have to get the webservice name on the webbrowser page...then it will ok or else you need check the url path what it exactly stored
Try this and i will let me know
Ravi
Please click "mark as answer" if this post helped you.
ravichoudary
Member
8 Points
4 Posts
Re: How to call web services from another application?
Nov 19, 2008 05:13 AM|LINK
Hi
can u send me the complete web service code with example.. its very urgent for me..
johnwsaunder...
Star
11262 Points
1981 Posts
Re: How to call web services from another application?
Nov 19, 2008 09:00 PM|LINK
This isn't a code problem. You should just use "Add Web Reference".
What exactly happens when you use "Add Web Reference"?
ravichoudary
Member
8 Points
4 Posts
Re: How to call web services from another application?
Nov 21, 2008 03:16 AM|LINK
Hi
Actually we are going to use web services in my project in the future.. now i want sample application for web services code. if it is possible send me as soon as possible???
Thanks
Ravichoudary. T