Inside the WSDL & Web Services Proxies
page 13 of 16
by Anonymous Contributor
Feedback
Average Rating: This article has not yet been rated.
Views (Total / Last 10 Days): 64918/ 149

Web Service Client Rules for Inheritors: Rule #3

If we are using HTTP-GET protocol to invoke the Web Service, ReturnFormatter property must be set to XmlReturnReader and ParameterFormatter property must be set to UrlParameterWriter in HttpMethodAttribute attribute.

This attribute is required to indicate the types that serialize parameters sent to a Web Service method and read the response from the Web Service. 

In our case it would be as follows:

[System.Web.Services.Protocols.HttpMethodAttribute(typeof(System.Web.Services.Protocols.XmlReturnReader),

typeof(System.Web.Services.Protocols.UrlParameterWriter))]


View Entire Article

User Comments

Title: Webservice   
Name: Anbazhagan. P
Date: 2009-03-14 12:47:38 PM
Comment:
Very useful website
Title: rakesh   
Name: Name rakesh
Date: 2007-09-13 3:38:58 AM
Comment:
Ok Run
Title: Getting Error   
Name: Dilip Kumar Prusty
Date: 2006-09-18 5:19:48 AM
Comment:
I am getting
The request failed with HTTP status 404: Not Found.
this error .

Product Spotlight
Product Spotlight 





Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-05-18 8:47:42 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search