473,802 Members | 1,972 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Forwarding HTTP StatusCodes

I already posted this message on usenet groups. But no response. I'm trying
with the Microsoft community now, hoping to get some resolution.

I have an Intermediate Web service developed using .NET and WSE 3.0 between
a Java service and .NET Client. The client works, similar to Digest
authentication (which first sends data without credentials, but later on will
send data with credentials based on the output - HTTP response code). The
client looks for the 401 "Unautheriz ed" error message on the Http Status code
and sends the data again with the required credentials.

When the intermediate web service is included, I need to return the status
code returned by the Java service as http Response code to the .net client. I
tried options like sending the SoapFault (throws 500 error in HTTP Response
with message as an XML content)

But I want to have similar output like "401 Unautherized" as returned by the
Java Service or IIS (ie, the Web Server).

My requirement is to "to return the HTTP Status codes with 4xx and 5xx from
a Web Service".

Any Suggestions?

Oct 3 '06 #1
0 1058

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

Similar topics

0
1786
by: Anu | last post by:
Hi everyone, I have just joined the group. I need your expert comments on my problem urgently. I am trying to establish SSH forwarding for establishing connections from my web server (obsgeosn) to the database server (obsclara) (both are UNIX Sun Solaris boxes). I am able to start a SSH daemon to start listning on one of the ports on webserver. By using following command: %ssh -2 -N -f -L 3307:obsgeosn:3306 obsclara It works and just...
10
20309
by: Howard Kelley | last post by:
What is the HTML code for forwarding one page to another? I recall there is a meta statement that can used. In other words, I want browser inquiries to http://xxx.xx to go immediately to http://yyy.yyy
1
425
by: Binod Nair | last post by:
Hi All, I have an ASP.NET appication running on http://xx.xxx.xxxx.xx/aspApplication and I have a domain http://www.mydomain.com registered at godaddy.com for this application.I have setup domain forwarding at goDaddy.com to forward to http://xx.xxx.xxxx.xx/aspApplication. I am using Forms Authentication on the application.Now the problem i am facing is , when i login to the application through http://xx.xxx.xxxx.xx/aspApplication...
1
1502
by: martijn | last post by:
H! I'm busy with testing python and now i'm trying to check if a url makes a forward to a other location with the same content. So it will be possible to scan unique website's. I already made these checks: the html forward: <meta http-equiv="refresh" content="0;URL=othersite.com">
1
592
by: Jesse Rosenthal | last post by:
Hello all, I'm writing a script which will backup data from my machine to a server using rsync. It checks to see if I am on the local network. If I am, it runs rsync over ssh to 192.168.2.6 using the pexpect module to log in. That's the easy part. Now, when I'm not on the local network, I first want to open up an ssh connection to do port forwarding, so something like this:
0
1380
by: nicholas | last post by:
I use session variables that stores data for a shopping basket. The site runs at www.mysite.com/france and works fine. But I also have the domainname: www.mysiteforfrance.com So, on a Plesk admin, I set a frame forwarding on www.mysiteforfrance.com to www.mysite.com/france When a visitor goes to www.mysiteforfrance.com he can visit the whole site, but in the adres bar he always sees www.mysiteforfrance.com. (in other words: this is...
4
1742
by: VBTricks.de.vu Webmaster | last post by:
Hello, at the moment I'm not able to finish my program. That means, I have a problem I can't solve myself. Therefore I'm asking those who already worked with HttpWebRequest... and threads. I'm writing some kind of download-manager, which is able to download several files parallely. Therefore I've created a class implementing the download function and use four threads which use four instances of the class. This works fine, except the...
1
2493
by: thomas | last post by:
Hello all, It seems like subdomain forwarding prevents ASP.Net session state from working correctly. Example: two websites http://www.jgphotographers.com/test and http://picturestore.newpicturestore.com/test - the first one works - the counter using session state increases every time the button is clicked. The second one uses subdomain forwarding with masking. The "picturestore"
6
3545
by: mcl | last post by:
I have a domain name which is set up for web forwarding with a frame. I have a link on one of the site's pages to an external site. When I select the link the external site is displayed correctly with its own URL in the address bar. When I select the <backbutton in the browser, my domain name appears temporarily in the browser, but it returns to the external site. If I look at back History (In Firefox) there are two entries for my...
0
9699
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10538
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10285
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9115
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5494
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5622
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4270
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3792
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2966
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.