DCSIMG
Using Soap Extensions to provide progress notification for Web Service calls - .NET Geek

.NET Geek

"It is upon the Trunk that a gentleman works" - Confucius

Using Soap Extensions to provide progress notification for Web Service calls

It's been a year since I last posted an article on CodeProject. That article was called Serialization with .NET 2.0 Generics. I enjoyed writing that article and I got a lot of good feedback.
This time the topic is web method calls and progress notification. Web method calls tend to be slow and if there's any significant amount of data to send over the wire it would be nice to report just how much as been sent/received. In the past we have used background threads and some pretty animation. I was unfamiliar with Soap Extensions, but it is a small topic and it was pretty easy to achieve what I wanted. I'm not going to re-write the article here. If you are interested you can read it on CodeProject http://www.codeproject.com/useritems/Soap_Extension_Progress.asp

Comments

Lee Wheless said:

I enjoyed this article, it is very helpful however, now I have a problem.  My Windows App works fine to consume data from my web service without the extension code.  Once I add the extension code, the program compiles but once I try to use the web service I get “InvalidOperationException” “Not well-Formed XML”.  Do you have any suggestions as to where I should look for the problem?  I can provide my code by email if you like.

Lee Wheless

GSN Consultants

Chiang Mai, Thailand

lwheless@GSNConsultants.com

www.go2SouthAsia.org

# March 28, 2008 11:25 AM

Prescott Chartier said:

I loved the article ... just one problem, the code is in C#, any chance you may have re-written the code in VB?  I'm not real familiar with the concepts and never code in C#, so trying to make things work is real difficult for me.  Any assistance would be greatly appreciated.  Thanks,

              Prescott ...

Prescott.Chartier@OrganizeMyLeague.com

# September 8, 2009 6:18 PM

Kim said:

I happy to hear you liked the article.

I'm afraid I don't have any VB.Net code for this at hand.

# September 8, 2009 11:29 PM
Leave a Comment

(required) 

(required) 

(optional)

(required) 


Enter the numbers above: