예제 #1
0
        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));
        }
예제 #2
0
        public Message Execute(IRequest request)
        {
            IXmlSerializable response = ServiceLocatorInstance.InvokeServiceAsync(request, CancellationToken.None).Result;

            return(CreateMessage(response, OperationContext.Current.IncomingMessageVersion));
        }