OperationContract(IsOneWay = true) still generates the <wsdl:output
See original GitHub issuehi, does anyone have an idea why setting the operation service as void and IsOneWay = true generates the <wsdl: output> under operation. Is there a way to avoid the Output from WSDL
public interface IResponseService { [OperationContract(IsOneWay = true)] void SaveResponse(SaveResponseModel inputModel); }
<wsdl:operation name="SaveResponse"> <wsdl:input wsam:Action="https://rc-api-qual.agconnect.org/IResponseService/SaveResponse" message="tns:IResponseService_SaveResponse_InputMessage"/> <wsdl:output wsam:Action="https://rc-api-qual.agconnect.org/IResponseService/SaveResponseResponse" message="tns:IResponseService_SaveResponse_OutputMessage"/> </wsdl:operation>
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
WCF Service - setting IsOneWay=true still results in waiting ...
Now, when I call this method from client application, it still seems to wait for the method to complete processing. Am I missing...
Read more >OperationContractAttribute.IsOneWay Property
Setting IsOneWay to true is the only way to cancel the creation and dispatch of a response message. One-way methods must not return...
Read more >WCF | I.Net
Today we'll look at some of the basic concepts in web services so that we can have a better understanding of how WCF...
Read more >Microsoft Windows Communication Foundation Step by ...
You can use WCF to create new services, as well as ... to set the IsOneWay property to true in the OperationContract attribute...
Read more >One-Way Operations in WCF Services
Configuring One-Way Operations The OperationContract has a property IsOneWay which is Boolean type. Default value of IsOneWay property is false ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Please check on latest nuget package https://www.nuget.org/packages/SoapCore/1.1.0.1-beta
this is awesome 😃 thanks really appreciate your help