Invoke soap wcf service in Fiddler like in Wcf test client

£可爱£侵袭症+ 提交于 2020-01-15 10:32:27

问题


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"/>

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.

来源:https://stackoverflow.com/questions/7386945/invoke-soap-wcf-service-in-fiddler-like-in-wcf-test-client

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!