Trying to call web service functions over https
| From: | John | Date: | Wed, 09 Jul 2008 17:18:33 +0000 |
| Subject: | Trying to call web service functions over https | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-2825@lists.php.net to get a copy of this message | ||
Hello,
PHP version: PHP5, using php-based SOAP functions.
Currently I am trying to call some secure web services. I am able to access the wsdl file and list all the funcitons available for my client object by calling __getFunctions(). However, when I go and actually call one of these functions, I get a SoapFault exception.
The wsdl file is accessed over http, but in the file I see that in one of the last lines it has the following tag:
<soap:address location=https://someURL/SecureWebService/>
I know that this is the tag that is giving me the problem, and in the page I acqure the url to the wsdl file, they have the following note:
"We use transport-level security (HTTPS) and a username and password token to secure access"
I am completely unsure of what I have to do to access these web services as the normal authentication mehtods have me authenticating to an http address and not https.
Thanks.