You are developing a Windows Communication Foundation (WCF) client application.
The client application contains the following code.
[ServiceContract]
public interface ISocialStatus
{
[OperationContract]
[WebInvoke(UriTemplate = "/statuses/update.xml?status-{text}")]
void UpdateStatus(string text);
}
public class SocialClient : ClientBase
{
...
}
The configuration file contains the following lines.
bindingConfiguration="BindingConfig" />
You need to ensure that the service is consumed.
Which code segment should you use?()