-
Notifications
You must be signed in to change notification settings - Fork 379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OperationContract(IsOneWay = true) still generates the <wsdl:output #493
Comments
any help here would be appreciated guys! :( kind of stuck here with .net Core 3.1. I tried same service in WCF legacy style. it works as expected and the wsdl generation also doesn't include any OUTPUT |
my modal and service contract as follows
|
@kotovaleksandr please, if you can help me out here would be highly appreciated |
@kotovaleksandr thansk alot :) it looks good adding your fix If(!operation.IsOneWay) on line 562 (MetaBodywriter.cs) and line 969 (MetaWCFBodyWriter.cs) under AddBinding method makes it perfect WSDL is also now validated by https://www.wsdl-analyzer.com/ can you pull this fix to your latest release, again thanks a lot man :) you made my day |
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 |
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="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>
The text was updated successfully, but these errors were encountered: