public Message Execute(string service, string version, string request) { NameValueCollection parameters = WebOperationContext.Current.IncomingRequest.UriTemplateMatch.QueryParameters; IXmlSerializable response = ServiceLocatorInstance.InvokeServiceAsync(parameters, CancellationToken.None).Result; return(CreateMessage(response, OperationContext.Current.IncomingMessageVersion)); }
public Message Execute(IRequest request) { IXmlSerializable response = ServiceLocatorInstance.InvokeServiceAsync(request, CancellationToken.None).Result; return(CreateMessage(response, OperationContext.Current.IncomingMessageVersion)); }