-
Notifications
You must be signed in to change notification settings - Fork 564
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
Can't consume existing .Net Framework WCF because it returns SOAP (MTOM) #2919
Comments
@mconnew, do you have any suggestions off the top of your head? |
@mlacouture I found that info online, that is why I mentioned it. There are a HUGE number of existing WCF web services over which consumers have no control that return MTOM encoded results. I realize that it is up to the publisher of the service to "fix" this but in the mean time people who need to consume them have to resort to hacks. I realize that some backward compatibility had to be sacrificed for Core/Standard to be able to exist but the ability to consume existing services seems rather important. Seems that should be something that should be addressed soon. I am mostly a line-of-business app developer and have only written a small amount of "plumbing" type code but if someone would point me in the right direction I would be happy to take a crack at implementing something unless you all think the incompatibility is so deeply rooted that it would require a major overhaul. |
Requests for MTOM and discussions are tracked in #1810. |
Is there any work around to consume Mtom encoding services in .net standard library. If it is available please let us know. |
@shivprasadd8, unfortunately we don't have a workaround to offer at this point. Please use #1810 for track MTOM support in the future. Thank you! |
Used the tool to generate code. Calling existing .Net Framework WCF endpoint but when trying to get the result I get an exception because the response is wrapped in a SOAP envelope. My main program is .Net Core 2.1 but the library I wrote to call the WCF is .Net Standard 2.0. I don't have control of the WCF endpoint so I cannot make changes there.
Any suggestions without using some of the hacks I have found online?
As you can see below the WCF endpoint processes the call just fine (ErrorMessage element is null, it returns an ItemNo, and Result is true) and I have verified it with the WCF owners.
The text was updated successfully, but these errors were encountered: