Hi,
I have a simple webservice, with one function on the following local path :
I would like to call it, using HTTP GET (or some form of simple, url with
all the parameters in), like this;
But it does not work ? It comes with the following error;
Thanks,
Benne
Server Error in '/activation' Application.
----------------------------------------------------------------------------
----
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.InvalidO perationExcepti on: 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:
[InvalidOperatio nException: Request format is unrecognized.]
System.Web.Serv ices.Protocols. WebServiceHandl erFactory.CoreG etHandler(Type
type, HttpContext context, HttpRequest request, HttpResponse response) +388
System.Web.Serv ices.Protocols. WebServiceHandl erFactory.GetHa ndler(HttpConte x
t context, String verb, String url, String filePath) +94
System.Web.Http Application.Map HttpHandler(Htt pContext context, String
requestType, String path, String pathTranslated, Boolean useAppConfig) +699
System.Web.MapH andlerExecution Step.System.Web .HttpApplicatio n+IExecutionSte p
..Execute() +95
System.Web.Http Application.Exe cuteStep(IExecu tionStep step, Boolean&
completedSynchr onously) +173
I have a simple webservice, with one function on the following local path :
I would like to call it, using HTTP GET (or some form of simple, url with
all the parameters in), like this;
But it does not work ? It comes with the following error;
Thanks,
Benne
Server Error in '/activation' Application.
----------------------------------------------------------------------------
----
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.InvalidO perationExcepti on: 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:
[InvalidOperatio nException: Request format is unrecognized.]
System.Web.Serv ices.Protocols. WebServiceHandl erFactory.CoreG etHandler(Type
type, HttpContext context, HttpRequest request, HttpResponse response) +388
System.Web.Serv ices.Protocols. WebServiceHandl erFactory.GetHa ndler(HttpConte x
t context, String verb, String url, String filePath) +94
System.Web.Http Application.Map HttpHandler(Htt pContext context, String
requestType, String path, String pathTranslated, Boolean useAppConfig) +699
System.Web.MapH andlerExecution Step.System.Web .HttpApplicatio n+IExecutionSte p
..Execute() +95
System.Web.Http Application.Exe cuteStep(IExecu tionStep step, Boolean&
completedSynchr onously) +173
Comment