Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

OperationContract(IsOneWay = true) still generates the <wsdl:output

See original GitHub issue

hi, 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="" message="tns:IResponseService_SaveResponse_InputMessage"/> <wsdl:output wsam:Action="" message="tns:IResponseService_SaveResponse_OutputMessage"/> </wsdl:operation>

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

kotovaleksandrcommented, Jun 24, 2020

Please check on latest nuget package

gsaggucommented, Jun 24, 2020

this is awesome 😃 thanks really appreciate your help

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found