How can I consume a WFC service via a Web browser?

Mahmoud Abualsoud
Mahmoud Abualsoud used Ask the Experts™
on
I created a WFC service in C# and hosted at this address:  http://projectserv.azurewebsites.net/Service.svc  (its a public address).

The value I want to pass is: 12345  , the output of the service is a string.


Attached is the source code.
Service.svc.cs
IService.CS
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Glanced up at my screen and thought I had coded the Matrix...  Turns out, I just fell asleep on the keyboard.
Most Valuable Expert 2011
Top Expert 2015
Commented:
If your WCF is turning out SOAP, then you cannot consume this from a browser. You would need to look into WCF REST in order to be able to test with a browser.

Author

Commented:
Short and great answer.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial