troubleshooting Question

Need to disable MTOM in the SOAP request and keep it enabled in the response using WSE3.0

Avatar of PolicyWorks
PolicyWorksFlag for Canada asked on
.NET ProgrammingWCF
1 Comment1 Solution788 ViewsLast Modified:
Hi all,

I'm using the Microsoft WSE3.0 extensions for Visual Studio.  I have a project similar to the Microsoft WSE\v3.0\Samples\CS\QuickStart\Basic\BinaryDataMTOM sample.

The trace for the HTTP looks like you must send a MTOM/Mime request to get back a MTOM/Mime response.  Or send a normal NON MTOM request to get back a Base64Binary response (NO MTOM).

What I need to know is how to send a normal request (NO MTOM or mime encoding), but get back MTOM/Mime response.

Does anyone know if this is possible with the WSE3.0 libraries?

I tried this in the config files, but the the request/response always need to be in sync.  So both request/response with mime or both request/response with no mime.

mtom clientMode="on"



Thanks in advance.
ASKER CERTIFIED SOLUTION
PolicyWorks

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 1 Comment.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros