1
Answer

consuming web service

Mohammed Hasan

Mohammed Hasan

19y
4.2k
1
hi all, i'm trying to consume a web service that has two methods which return XML documents. i have created a proxy class and i can access the methods associated with the class.but when i try to call those methods i get the following error message: The underlying connection was closed: The server committed an HTTP protocol violation and the line of code which uses the invoke method is highlighted.... any help is appreciated.
Answers (1)
0
Rashid Khan

Rashid Khan

NA 104 0 14y
Well haven't get any reply for this.
but i got a code from other source
here is the link
http://www.codeproject.com/script/Articles/ArticleVersion.aspx?aid=18042&av=213874

add this class in your existing project create object of this class and use its properties.
it works fine  but need to change as per your requirement . like spacing, alignment etc
i got my solution may be it works for other too
Have a nice day
Bye

0
Suthish Nair

Suthish Nair

NA 31.7k 4.6m 14y
If the query got resolved, then mark the post that helped you as Answer so will be helpful for others. Otherwise if you got the solution please share with us.
0
Krishna Garad

Krishna Garad

NA 16.5k 6.2m 14y