开发者

Invoke soap wcf service in Fiddler like in Wcf test client

开发者 https://www.devze.com 2023-04-04 11:14 出处:网络
I have service which should support SOAP and REST. web.config <system.web> <webServices> <protocols>

I have service which should support SOAP and REST. web.config

<system.web>
<webServices>
  <protocols>
    <add name="HttpGet" />
    <add name="HttpPost" />
  </protocols>
</webServices>
<httpRuntime  executionTimeout="90" maxRequestLength="1048576" useFullyQualifiedRedirectUrl="false" minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="100"/>
<compilation debug="true" targetFramework="4.0"/>

开发者_C百科

and contract

    [OperationContract]
[WebInvoke(UriTemplate = "/GetData")]
List<FieldInfo> GetSerializedData();

When I invoke REST service in Fiddler Request builder I get result in JSON and XML clearly. But I can not find way to invoke soap endpoint,always get 404 error

Not Found

Not Found


HTTP Error 404. The requested resource is not found.

For me it is strange cause in WCF TEST Client return SOAP withou problem, so why Fiddler have problem. I invoke in Fiddler directly wcf service methods on bindings.

0

精彩评论

暂无评论...
验证码 换一张
取 消