In WCF security, given the current OperationContext, what is the best way to determine whether the request is a SOAP request or a REST request?
相关问题
- Design RESTful service with multiple ids
- Axios OPTIONS instead of POST Request. Express Res
- Plain (non-HTML) error pages in REST api
- Laravel 5.1 MethodNotAllowedHttpException on store
- How to make a .svc file write to asp.net Trace.axd
相关文章
- WCF发布Windows服务 POST方式报错 GET方式没有问题 应该怎么解决?
- XCopy or MOVE do not work when a WCF Service runs
- Cannot use org.jvnet.jax-ws-commons.jaxws-maven-pl
- Got ActiveRecord::AssociationTypeMismatch on model
- Multiple parameters in AngularJS $resource GET
- Global Exception Handling in Jersey & Spring?
- Could not find default endpoint element that refer
- The 'DbProviderFactories' section can only
You could look at the binding name on the ChannelDispatcher:
For REST, it would be
webHttpBinding
- anything else would be SOAP.