-
Notifications
You must be signed in to change notification settings - Fork 391
Closed
Labels
Description
SoapCore SOAP 1.2 wsdl request prompts with a file save dialog.
SOAP 1.1
http://localhost:8080/SoapService.asmx?wsdl is OK for SOAP 1.1. It returns an XML response.
// Create Soap 1.1 Binding
binding = new BasicHttpBinding();
app.UseSoapEndpoint<ISoapService>("/SoapService.asmx", binding, SoapSerializer.XmlSerializer)SOAP 1.2
SOAP 1.2 wsdl request, however, prompts with a file save dialog
// Create Soap 1.2 Binding
var textBindingElement = new TextMessageEncodingBindingElement(MessageVersion.Soap12WSAddressing10, Encoding.UTF8);
var httpBindingElement = new HttpTransportBindingElement();
binding = new CustomBinding(textBindingElement, httpBindingElement);
app.UseSoapEndpoint<ISoapService>("/SoapService.asmx", binding, SoapSerializer.XmlSerializer)What could be the issue, please?
Reactions are currently unavailable