Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#3.0 ASP.NET
Dear ALL,
 
i have created a Webservice, and deployed it in the IIS it is being from the ASP.net so how to make it accessible from IIS
Posted 21-Mar-11 17:57pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 4

For hosting the Webservice:
 
1. In IIS7: Deploying ASP.NET Websites on IIS 7.0 [^]
2. In IIS6: Deployment of a Website on IIS[^]
 
How to use the hosted webservice: How to make a simple WebService and consume it.[^]
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Did you mean your Web Service already host in your IIS?
If already hosted you can Add App_WebReferences From your asp.net application ,In URL you insert your WebService link developed in the IIS (eg .http://localhost/YourWebService).
 

Ok vaikuntapu!
 
You should study these link first.
Best Regard,
Theingi Win
  Permalink  
v2
Comments
Sandeep Mewara at 22-Mar-11 4:01am
   
Comment from OP:
i have created the webservice in my laptop and i want to deploy it in the server to be accessible to the application
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

hi,
 
Create Web service on the server then Run that.
Now open the application which will use the web service.
click add web reference from solution explorer .
In the Url box copy the URL of WEBSERVICE and paste that.
In the WebReference column give Name of Your Choice.
 
Last in you Web Application create obj of that webservice and this object can access all your methods of your webservice.
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 290
1 Jochen Arndt 150
2 Kornfeld Eliyahu Peter 149
3 PIEBALDconsult 110
4 Richard MacCutchan 105
0 OriginalGriff 6,080
1 DamithSL 4,648
2 Maciej Los 4,087
3 Kornfeld Eliyahu Peter 3,624
4 Sergey Alexandrovich Kryukov 3,294


Advertise | Privacy | Mobile
Web03 | 2.8.141220.1 | Last Updated 22 Mar 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100