Click here to Skip to main content
15,917,062 members

Comments by Member 8775683 (Top 2 by date)

Member 8775683 12-Sep-13 2:05am View    
Dear Please Post an Article for me in which you Simply have Added two Numbers,
But Please First develop a Restful Service for addition of two numbers and then Create a Restful Client using that Service,
Please do if you can,
Thanks,
or tell any way so I can send you my coding files in Zip Format, and you change it simply,
Infact I am New to this Technology and will be Thankful if you get me Rid of this problem,
Thanks...
Member 8775683 12-Sep-13 1:54am View    
Dear I implemented your this code in my own setting, but Again I have to face:

[WebException: The remote server returned an error: (405) Method Not Allowed.]
System.Net.HttpWebRequest.GetResponse() +6440920
WebClient.WebForm.Button1_Click(Object sender, EventArgs e) in e:\Visual Studio\Restful\WebClient\WebForm.aspx.cs:33
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +9553594
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +103
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +35
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1724


This is the Major Cause of problem:
WebResponse resp = req.GetResponse();
The remote server returned an error: (405) Method Not Allowed.