Hi All,

I have Created a WebService "Service1.asmx" and  calling with HTTP-Get
Method it is throwing me an error when i replaced the method="GET" with
method="POST" and Working it worked fine.
Any idea where I am going wrong?

I have Used the following Html page to Invoke 
==============================================
<html><body>simple form demonstrating HTTP-GET
<form target="_blank"  method="GET"
action='http://localhost/TestApp1/Service1.asmx/SayHelloWorld'>
Say Hello: <input type="text" size="50" name='Hello'\"><br>
<input type=submit value="Invoke"></form></body></html>
==============================================

Error For HTTP-GET:
===================
Request format is unrecognized. 
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code. 

Exception Details: System.InvalidOperationException: Request format is
unrecognized.

Source Error: 

An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.  

Stack Trace: 


[InvalidOperationException: Request format is unrecognized.]
 
System.Web.Services.Protocols.WebServiceHandlerFactory.CoreGetHandler(Type
type, HttpContext context, HttpRequest request, HttpResponse response) +388
 
System.Web.Services.Protocols.WebServiceHandlerFactory.GetHandler(HttpContex
t context, String verb, String url, String filePath) +94
   System.Web.HttpApplication.MapHttpHandler(HttpContext context, String
requestType, String path, String pathTranslated, Boolean useAppConfig) +699
 
System.Web.MapHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep
.Execute() +95
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously) +173
 
_______________________________________

Suneel Reddy Bhimavarapu
Cybage Software Pvt. Ltd.,
Pune - 411006.
(O)+91-20-56041700 x717
(M) +91-9890713574
[EMAIL PROTECTED]
_______________________________________


  



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to