SOAP Service Need To Accept Content-Type Of "application/x-www-form-urlencoded". #108989
Labels
area-System.Net.Http
question
Answer questions and provide assistance, not an issue with source code or documentation.
untriaged
New issue has not been triaged by the area owner
This issue has been moved from a ticket on Developer Community.
[severity:Other]
I used Visual Studio 2022 (64-bit) Version 17.10.5 to create a C# SOAP web service using the .NET Framework 4.8 to process SOAP responses sent by a 3rd party SOAP service, but now I need to know how to allow my SOAP service to accept the Content-Type of "application/x-www-form-urlencoded" which is the Content-Type being returned by the 3rd party. The 3rd party states that the Content-Type of "application/x-www-form-urlencoded" is a requirement that my SOAP service should accept it. I have searched extensively over the past 2 days and cannot find a solution on how to configure my SOAP service. The SOAP service is published to a Windows Server 2022 (Version 21H2 - OS Build 20348.2582) IIS Web Server (Version 10.0.20348.)
I also created a separate SOAP service using the .NET Framework 4.8 using the example "HelloWorld" so I could try change the Content-Type within that SOAP service but could not figure how to accomplish that. Is there a way to change the default Content-Type from "application/soap+xml" to "application/x-www-form-urlencoded"?
Below is the code for the HelloWorld SOAP
Original Comments
Feedback Bot on 8/1/2024, 08:54 PM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
The text was updated successfully, but these errors were encountered: