Hi. I don't have IIS on my dev computer. I have to ftp the website to the
live server. I noticed that in the service reference, I have the URL set to
something like
http://localhost:8892/Contracts/ContractTemplates.svc. How
would I make it work on the 2 servers without having to always change the
references all the time?
"Munna" <mu******@gmail.comwrote in message
news:05**********************************@d1g2000h sg.googlegroups.com...
On Jun 25, 4:06 am, "Andy B" <a_bo...@sbcglobal.netwrote:
I have a WCF service project in my solution. I need to call one of the
services from a web application from inside the same solution. How do I do
something like this? I can't seem to find the class that has the methods I
need in it. This is after I added the web reference.
Hi
Right click on you project and select "Add service reference"...
A wizard will popup...
Click on discover...
Services on your solution will be populated...
Select a service and then add
and in your page... user the proxy name space...
ServiceReference1.Service1Client myClient = new
WebApp.ServiceReference1.Service1Client();
myClient.GetData(4);
Best of luck
Munna
www.munna.shatkotha.com www.munna.shatkotha.com/blog www.shatkotha.com