I am so irritated at how poor the documentation for WSE2 and DIME attachment processing is. So today's tip will save someone new to the process countless amount of time. Here's the scenario: You want to process a file download using DIME attachments. You write your web service, and want to test it. You run the web service, pop up the Visual Studio test page for the web service, and it doesn't download your file as expected.
So, you start debugging, and it turns out the ResponseSoapContext.Current is null. WTF? It *should* work. So you grab all your books and online articles you can find, and a few people are having this problem, but no one seems to post how they solved it. Well, after spending a few hours trying to solve the problem, I run across a blurb that states you can't test your DIME downloading from the web page which is created by the Visual Studio IDE, you *have* to create a separate client (those weren't the exact words, but that's the gist of it).
Arrggh!!! Wasted time! But if I can save someone else from the same frustration, I will.
Good luck!
Powered by: newtelligence dasBlog 2.3.9074.18820
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
© Copyright 2012, © Copyright 2010
E-mail