Hello Roland... I've just noticed the postSoap file in the code examples.  I
would like to try to do a combination of this and the AlternateAuthentication
example (to handle DIGEST authentication).
However one does an executeMethod(httpget), and the other an
executeMethod(post).  With reference to the expect-continue handshake you
mentioned, could I first send a get, followed by a post?  Or should I try
sending two posts (as the SOAP payload with be sent as a post)?

Many thanks again for your help, and for this great software.

Regards
/j-p.



Quoting Roland Weber <[EMAIL PROTECTED]>:

> Hello John-Paul,
>
> > Apologies if this is a dumb question: Is it possible to authenticate and
> send
> > payload data in the same connection?
>
> It depends on the type of authentication. For BASIC auth, you can enable
> preemptive authentication.
>
> > I need to make a soap connection to a windows server that requires that
> I
> > authenticate each time I send a soap request.  I'm told the
> authentication and
> > request should take place in the same connection.
> > I've tried the default httpclient authentication for digest and it works
> > beautifully - however the request and response handle only the
> > authentication -
> > is it possible to do both authentication and send data in the same
> request?
>
> For DIGEST authentication, the client needs a challenge from the server.
> You can enable the expect-continue handshake. If the server is
> co-operative,
> the request will first be sent without payload and obtain the challenge,
> then the request is repeated with payload and authentication.
>
> hope that helps,
>   Roland
>
>






 ---------------------------------------------------------------------------
 Open Invitation for Contemporary Visual Artists.  http://www.artprocess.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to