473,385 Members | 1,311 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Redirecting?

Hi to all,

We have a webservice application that had it's own built in web server. We
are know re-writing the app using ASP.net. The problem we have is that there
are exisiting customers which we cannot upgread without making any changes
to the client app.

What we found is that when the client makes a web service call, the URL used
is http://MyCompany/soap/NewsService.

For this call to work with the ASP.net app, it needs to have the .asmx
extension at the end otherwise I get a 405 (method not found) error.

Is there a way with IIS for the client web service call to get redirected to
NewsService.asmx? In this way existing clients will work.

Sham.
Jul 31 '06 #1
2 1039
you have two options. make the asmx the default document, or use an
httpmodule to do it.

-- bruce (sqlwork.com)

"sham" <sh******@inspirationmatters.comwrote in message
news:eT**************@TK2MSFTNGP04.phx.gbl...
Hi to all,

We have a webservice application that had it's own built in web server. We
are know re-writing the app using ASP.net. The problem we have is that
there are exisiting customers which we cannot upgread without making any
changes to the client app.

What we found is that when the client makes a web service call, the URL
used is http://MyCompany/soap/NewsService.

For this call to work with the ASP.net app, it needs to have the .asmx
extension at the end otherwise I get a 405 (method not found) error.

Is there a way with IIS for the client web service call to get redirected
to NewsService.asmx? In this way existing clients will work.

Sham.

Jul 31 '06 #2
Thanks for the reply.

I have written an httpModule and with the Cassini web server, the web
service works as intended. With Cassini it appears that all requests get
sent to the httpModule which then does the "rewrite" of the url (I.e. adds
..asmx to it).

However, with IIS, how do you tell the web server to pass a URL with no
extension to my asp application?

In the application config tab of IIS, only extensions starting . can be
mapped.

Sham.


"bruce barker (sqlwork.com)" <b_*************************@sqlwork.comwrote
in message news:uQ**************@TK2MSFTNGP06.phx.gbl...
you have two options. make the asmx the default document, or use an
httpmodule to do it.

-- bruce (sqlwork.com)

"sham" <sh******@inspirationmatters.comwrote in message
news:eT**************@TK2MSFTNGP04.phx.gbl...
>Hi to all,

We have a webservice application that had it's own built in web server.
We are know re-writing the app using ASP.net. The problem we have is that
there are exisiting customers which we cannot upgread without making any
changes to the client app.

What we found is that when the client makes a web service call, the URL
used is http://MyCompany/soap/NewsService.

For this call to work with the ASP.net app, it needs to have the .asmx
extension at the end otherwise I get a 405 (method not found) error.

Is there a way with IIS for the client web service call to get redirected
to NewsService.asmx? In this way existing clients will work.

Sham.


Aug 9 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Ivo Woltring | last post by:
Hi Pythoneers, I am trying to make my own gui for mencoder.exe (windows port of the terrific linux mencoder/mplayer) to convert divx to Pocket_PC size. My current app creates a batch script to...
10
by: Kenneth Keeley | last post by:
Hi, I have been having problems with Gecko based browsers not redirecting properly. This is the line of code that does the redirecting: Response.Redirect ("Validation.asp?BookingNo=1234567") ...
0
by: Christophe HELFER | last post by:
hi, I have some problem with redirecting input and output from a process. I can only use VB language (sorry...) Situation: I have to use the Cisco Network Registrar (DNS And DHCP server) ...
3
by: lozd | last post by:
Would appreciate any solutions people could offer for this. Basically I wan't to use a frameset with an aspx page as the contents rather than a htm page and I'd like to be able to redirect the...
0
by: Sune Hansen | last post by:
Hi guys, I really hope someone can help me with my problem. Here is the scenario: I have a development environment on my locale machine. Once in a while when everything has been tested I...
1
by: Bilbo | last post by:
Hello, How do I programatically redirect a page in "another frame" using C# in ASP.NET? Server.Transfer redirects the current page...not a different frame. Thanks.
3
by: tony | last post by:
I've been searching through the threads to find a solution for 401.3 error triggered by windows authentication not being able to redirect to a custom error page to no avail. It seems that ASP.NET...
4
by: Greg Smalter | last post by:
Redirecting from page to page within a web project is pretty easy. However, all Redirect methods take strings as arguments, as if you mistype the string, you don't find out until run time that you...
8
by: Morpheus | last post by:
I am trying to test a function that outputs text to the standard output, presumably using a cout call. I do not have access to the source, but need to test the output. Is this possible? I can...
17
by: mansb2002 | last post by:
Hi, We recently moved our webserver from Win2K to Win2003. The application works fine. Only problem is that when user views a report as a PDF, IE does not show it. The following code is used to...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.