soap - Locating the parameter of an Operation in System.ServiceModel.Channels.Message in WCF -
suppose have following service contract:
[servicecontract] public interface iping { [operationcontract] string ping(string parameter1, string parameter2); } i'm wondering, how possible find particular parameter value, value of parameter1 example, in system.servicemodel.channels.message created server side.
thanks!
it's task of idispatchmessageformatter convert between operation parameters , message object. message created xml body, , parameters xml elements, that's 1 possible implementation (it's valid formatter disregard message , assign whatever values sees fit operation parameters).
you can learn more message formatters in blog post @ http://blogs.msdn.com/b/carlosfigueira/archive/2011/05/03/wcf-extensibility-message-formatters.aspx.
Comments
Post a Comment