Rob Bowman
Rob Bowman

Reputation: 8741

Share WCF interface specification off-line

Team S are remote from team C. Team S create a WCF web service with WSHTTP bindings. What's the best way for team S to share the interface specification with team C? In the days of asmx web services team S would have emailed the WSDL to team C. Is this still the way to go?

Upvotes: 3

Views: 109

Answers (2)

marc_s
marc_s

Reputation: 755167

If the two teams don't have any online connection, one thing you could have Team S create a service client-proxy, possibly in a separate class library assembly, that imports the service (Add Service Reference in Visual Studio).

Just send that source code to the other team and they should be able to instantiate proxy clients and call methods on those clients.

If the two teams do have online connection, see Mikecito's answer - just navigate to the service URL + ?wsdl and you have your WSDL - always up to date, always current.

Upvotes: 1

Mikecito
Mikecito

Reputation: 2063

Just send them the service URL, and then they can click on the handy wsdl link right there on the page. Simple as pie.

If you want to share the wsdl directly, just add "?wsdl" (without the quotes) to the end of your service URL.

https://my.domain.com/myservice.svc?wsdl

Upvotes: 0

Related Questions