Re: Accessing a Web Service using a Query String
From: Jim Lewis (j_jim_lewis_at_hotmail.com)
Date: 12/22/04
- Next message: newcomer: "Re: How could I generate loads over a soap:tcp server???"
- Previous message: cipher: "RE: How can I expose constant values to my clients?"
- In reply to: erymuzuan: "Re: Accessing a Web Service using a Query String"
- Next in thread: Dan Rogers: "Re: Accessing a Web Service using a Query String"
- Reply: Dan Rogers: "Re: Accessing a Web Service using a Query String"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 22 Dec 2004 07:38:39 -0800
Erymuzuan,
I do not undersand what you mean by "add the HttpGet request protocol for
the Web services"
Regards,
Jim Lewis
"erymuzuan" <erymuzuan@yahoo.com> wrote in message
news:urIE5RD6EHA.1408@TK2MSFTNGP10.phx.gbl...
> May be you should add the HttpGet request protocol for the Web services
> <configuration>
> <system.web>
> <webServices>
> <protocols>
> <add name="HttpGet"/>
> <add type="HttpPost"/>
> <add type="Documentation"/>
> </protocols>
> </webServices>
> <system.web>
> </configuration>
>
>
> Regards
> Erymuzuan Mustapa
>
> Jim Lewis wrote:
> > I have read several things that state accessing a Web Service through a
> > Query String should work. However, when I try to execute
> > http://localhost/webservice1/service1.asmx/HelloWorld I get the error
below.
> > Can I access a Web Service through a Query Sting. I need to send XML to
a
> > Flash movie using a Web Service.
> >
> > Thank You,
> > Jim Lewis
> >
> > Server Error in '/WebService1' 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.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) +696 > > > > System.Web.MapHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep > > .Execute() +95 > > System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& > > completedSynchronously) +173 > > > > > > > > -------------------------------------------------------------------------- -- > > ---- > > Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET > > Version:1.1.4322.2032 > > > >
- Next message: newcomer: "Re: How could I generate loads over a soap:tcp server???"
- Previous message: cipher: "RE: How can I expose constant values to my clients?"
- In reply to: erymuzuan: "Re: Accessing a Web Service using a Query String"
- Next in thread: Dan Rogers: "Re: Accessing a Web Service using a Query String"
- Reply: Dan Rogers: "Re: Accessing a Web Service using a Query String"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|