RE: [SOAP] Problem with HTTPS and maybe cookies
| From: | LIMBOURG Arnaud | Date: | Wed, 02 Jul 2003 11:24:22 +0000 |
| Subject: | RE: [SOAP] Problem with HTTPS and maybe cookies | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-749@lists.php.net to get a copy of this message | ||
> Hello,
>
> I have to deal with a SSL web service that requires an
> authentification.
> I have to send a login password:
> Authorization: Basic base64(login:password)
> I think I have it.
> I also have to send a cookie (SMCHALLENGE=YES) and I think it's
> OK too.
>
> But i have a first problem: when calling the service, i get the
> following error in SOAP_Transport_HTTP::_sendHTTPS:
> curl_exec error 22 The requested file was not found
> When running the call manually using curl, i get an auth failure
> error, but the service seems to be here.
>
> Is it an auth error ? (i've read somewhere that error #22 was
> raised for any 400+ HTTP Error code, so it would be raised for
> 401 as well but I'm not sure).
Can you show some code.
I use exactly what you use and it works here.
Arnaud.