JL.
JL.

Reputation: 81342

WCF - possible to call a wcf service from the command line with parameters?

Is it possible to call an IIS hosted wcf service from the command line and pass through parameters?

Upvotes: 2

Views: 1880

Answers (2)

John Saunders
John Saunders

Reputation: 161821

Yes. Write a console application that calls the WCF service, and then call the console application from the command line.

Upvotes: 2

Darin Dimitrov
Darin Dimitrov

Reputation: 1039308

This will depend on what binding your WCF service uses but with cURL you can post pretty much everything to a given url.

Upvotes: 1

Related Questions