473,772 Members | 2,478 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

HTTP protocol question related to Web Service under IIS 5 (long)

DT
I'm writing a .NET 1.1 client that invokes a method of a Web Service running
on another organization's IIS 5 server. I need help understanding a fine
point about HTTP, specifically in relation to the use of the Expect:
100-Continue header, in order to determine whether the problem is with my
client or their server.

Here's the situation:

After invoking the web service successfully one time, all subsequent
requests then fail. Using IE, I can still retrieve the WSDL from their
server (eg, http://their-server/app-path?wsdl) , and can still get their
server to return the formatted service description page (eg,
http://their-server/app-path), so I know that their IIS is still "up" (at
least partly).

So I used NetMon to capture the traffic of a failed request. I can see that
my "client"* first sends the HTTP POST along with its various headers,
including Expect: 100-Continue.

* (actually, the .NET runtime sends the POST on behalf of my "client" ... my
code is simply invoking the web service method)

But their server doesn't return any status code, either 100-Continue or 417
(Expectation failed).

But then my client then proceeds to send the message body containing the
SOAP-encoded invocation of the method, even though it never got a status
code from the server. And their server then returns an application-level
error from their web service.

My basic question: is it OK for my client to go ahead and send the message
body even though it hasn't received the 100-Continue status?

According to RFC 2616:

"8.2.3 Use of the 100 (Continue) Status - Because of the presence of older
implementations , ... a client may send "Expect: 100-continue" without
receiving either a 417 or 100 status. ...the client SHOULD NOT wait for an
indefinate period before sending the request body.".

If I'm reading this correctly, it sounds like my .NET client is allowed to
send the request body if it doesn't receive the expected 100-continue
status.

Correct?

Thanks,

DT


Nov 21 '05 #1
0 1573

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

Similar topics

10
3265
by: Dave Smithz | last post by:
Hi there, I have a situation where I want to have multiple submit buttons on the same form and therefore want to use a redirection php script that checks the value associated with the submit form variable to calculate which submit was pressed and then redirects the user to another php page accordingly. I used: headers ("location:myphpscript.php")
8
10648
by: turnit \(removethis\) | last post by:
I have a login form that uses the post method to carry the information to the next page. The form works just fine in ie6.0, but fails in mozilla and fails in ie5.2 on a mac. "HTTP/1.1 400 Bad Request" was the original error msg now that I reinstalled iislockdown and urscan I get "The parameter is incorrect." If I use the get method with this form it works just fine on everything. I can't say for certain but I think this problem started...
6
10347
by: Tiraman | last post by:
Hi, if i need to send some data over the net to server what is the best way (http , socket or other ) to do that ? Best Regards , Tiraman :-)
4
2479
by: Bob Badger | last post by:
Hi, Simple question (although I guess with a complicated answer). Is HTTP an async protocol? For instance, if I send a message to a c# webservice via http what is the protocol actually doing? Thanks in advance Steffan
0
1043
by: dimitri | last post by:
Hello, HessianC# 1.3 is now available! HessianC# is related to caucho's Hessian Binary Web Service Protocol a lightweight, self-describing binary RPC protocol. The open source library supports also burlap, a lightweight XML RPC protocol. For further information see www.hessiancsharp.org www.hessiancsharp.org
2
16727
by: jtbjurstrom | last post by:
I'm new to WCF as well as services and am having trouble running the WCF samples. We've chosen to pursue the WCF model to communicate from a client WinForm GUI to a service running within a LAN. We plan on using the TCP protocol for communication. I've been trying to run the Basic WCF sample and have been getting the error: "This collection already contains an address with scheme http. There can be at most one address per scheme in this...
0
2002
by: =?Utf-8?B?TWlrZTEz?= | last post by:
Sorry for the cross post from dontnet.framework but I'm hoping this may see more activity here. I have written an application to access a web service. The application runs at multiple sites and must cross a proxy server. The application runs fine through all proxy servers but one that is configured to require a "User-Agent" header. I have added the user agent string, however it does not seem to be passed during the HTTP CONNECT to...
0
2382
by: =?Utf-8?B?TWlrZTEz?= | last post by:
Sorry for the cross post; I'm hoping this will get a response here... I have written an application to access a web service. The application runs at multiple sites and must cross a proxy server. The application runs fine through all proxy servers but one that is configured to require a "User-Agent" header. I have added the user agent string, however it does not seem to be passed during the HTTP CONNECT to utilize the proxy server. ...
5
3278
by: Thomas Lunsford | last post by:
I have been asked to allow one of our old-school .asp pages to support being used as a web service. Specifically, WSDL was mentioned. I am not an expert on this , but I have done quite a bit of reading, and I understand that I can create a WSDL file that supports HTTP POST and then use WSDL.exe with the proper parameters to generate a web service proxy. To this point, all I get from WSDL.exe when doing so is "Warning: no classes were...
0
9621
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
9454
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10106
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10039
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
9914
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8937
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...
1
7461
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5355
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...
3
2851
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.