Wednesday, November 03, 2004

VJs Tip Of The Day - November 3rd 2004

out parameters and proxy class in web services

There is a interesting thing to know about 'out parameters' in web services... Consider a scenario in which you have a web method which returns void but has some out parameters... When you try to create a proxy (when you add web reference to your web service), you can notice that the first out parameter is converted into return value on the proxy side...
This is important to know because if you are exposing your webservice without return value and only out parameters then you would definitely have a reason to do so and such behavior of the proxy generator might be unexpected, but that is how WSDL understands it and so you have to live with it...

For more information on the topic Click Here

PS: SharpReader is one of the most widely used RSS Aggregator... You can subscribe to many blogs via RSS after installing the same... You can download SharpReader for free at http://www.sharpreader.net/ and then click on File->Open RSS feed you can then type the RSS feed url for the blog and click subscribe... RSS feed url for all blogspot sites are similar to mine which is http://vishaljoshi.blogspot.com/atom.xml

No comments: