Is there any way to configure a webHttpBinding WCF service to accept multiple querystring arguments, with a Stream
argument being the body of the request?
I'd like to do this without omitting the querystring arguments from the operation signature and accessing them from the OperationContext directly.
UriTemplate
seemed like the obvious choice, but that only results in AddressFilter mismatch exceptions being thrown.
Moving the arguments to a MessageContract wtih MessageHeader attributes on all non-Stream fields, in order to avoid the "Stream can be the only argument" error, causes an error that MessageHeader attributes aren't supported with webHttpBinding.
Leaving only the Stream argument on the MessageContract informs me that Streams aren't supported in MessageContracts for WebScriptEnablingBehavior anyway.
Any thoughts?