Forum Discussion

vbrabant's avatar
vbrabant
Occasional Contributor
16 years ago

How to force the Expect 100-continue ?

I have to reproduce some behaviour a client has when he call my webservice. I want to use SOAPUI (2.5) to reproduce the exact behaviour of that client. But I was unable to find how to enable the Expect 100-continue.

Any idea are welcome !!!
  • Hi vbrabant,


    Currently, it is not possible to control expect-continue handshake mechanism from soapUI (initiated by "Expect: 100-continue" header sent by client).

    By default, this handshake mechanism is not enabled because of potential issues with HTTP 1.0 servers and proxies. Here's a quote from HttpClient's HTTP preferences:

    'Expect: 100-continue' handshake should be used with caution, as it may cause problems with HTTP servers and proxies that do not support HTTP/1.1 protocol.


    This will be supported in foreseeable future and it's good that you already added a feature request.


    Cheers!
    /Nenad Nikolic a.k.a. Shonzilla
  • vbrabant's avatar
    vbrabant
    Occasional Contributor
    Thanks a lot for your reply.

    I know that such info is only supported by http 1.1 protocol, but it should be possible, without a lot of work and complexity I hope, to permits to enable/disable such feature in the preference panel when the Http version is 1.1. And to gray such option when Http version is not 1.1.

    No ?
  • Hi vbrabant,


    Yes, that would be a way to add a preference setting that controls soapUI's behavior for "Expect: 100-continue" headers.


    Cheers!
    /Nenad Nikolic a.k.a. Shonzilla