all groups > dotnet web services > march 2008 >
You're in the

dotnet web services

group:

How to configure webservice to use someother extension than .asmx


How to configure webservice to use someother extension than .asmx Sajit
3/26/2008 9:55:01 PM
dotnet web services:
Hi,
I am trying to create a .net webservice, but i dont want the webservice to
be accessed using .asmx extesnion .I should be able to accesses the
webservcie using the url something like http://localhost/myservice.sac

I have tried configuring the web.config of the webservice like this
<httpHandlers>
<add path="*.sac" verb="*"
type="System.Web.Services.Protocols.WebServiceHandlerFactory,
System.Web.Services, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a"
validate="false" />
</httpHandlers>

<buildProviders>
<add extension=".sac" type="System.Web.Compilation.WebServiceBuildProvider" />
</buildProviders>

And also configured the iis to accept .sac extension to point
aspnet_isapi.dll

When I run it . It shows the “helloWorld” webmethod link page, but does not
give me the xml response back .

Any suggestions as to how to make this work .
Re: How to configure webservice to use someother extension than .asmx Spam Catcher
3/28/2008 2:47:01 AM
=?Utf-8?B?U2FqaXQ=?= <sajitvnair@hotmail.com> wrote in
news:F4070FD6-BC18-4E43-85D3-5ADFC1B28895@microsoft.com:

[quoted text, click to view]

That's perfect isn't it? You loaded the page in IE correct... that's the
standard page that is displayed to non-web services clients.

--
AddThis Social Bookmark Button