0

I am new to web services. I have successfully created my WCF web service, now I want to consume it. The client to consume this is on a different machine. I am using Visual Studio 2012. The service that executes a stored procedure in SQL Server 2005.

How do I proceed to make the other party test the service?

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
SMR
  • 3
  • 4
  • there is something called web/service reference.in the client application just right click on project and click web /service reference ,then add the location of the wcf service.since the client app is a different machine,the url of the server where the wcf service is deployed should be mentioned with ip address of the server machine. – dreamweiver Jul 01 '13 at 08:41

1 Answers1

0

you will have to add service reference to the service by right clicking your client application.

Brad Larson
  • 170,088
  • 45
  • 397
  • 571
Laxmikant
  • 588
  • 4
  • 11
  • I have a stored procedure for authentication, taking login and password and returning a string . I would like to call the stored procedure(sql server 2005) from my WCF data service ( using entity model and function imports ) and return the output parameter( string ) as the result . I am using function import to map the stored procedure. How should I proceed ? – SMR Jul 17 '13 at 12:03