Skip to Content.
Sympa Menu

en - [sympa-users] Support Request - Your SOAP PHP demo fails with Uncaught SoapFault exception: [HTTP] Forbidden

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: <address@concealed>
  • To: address@concealed
  • Subject: [sympa-users] Support Request - Your SOAP PHP demo fails with Uncaught SoapFault exception: [HTTP] Forbidden
  • Date: Fri, 30 Nov 2012 11:40:07 +0100

Hi,

I am failing to use the SOAP login method requesting the demo mailing list
service at demo.sympa.org. I registered an account at the demo mailing list
service, copied your https://demo.sympa.org/sampleClient.php to our
development server and tried to make a login with the following demo
credentials:

http://development.stadtwerk.org/sympa/demo

E-Mail: address@concealed
Password: sa-demo


The result is a fatal PHP error:

Fatal error: Uncaught SoapFault exception: [HTTP] Forbidden in /www/
htdocs/w00c2aba/development/sympa/demo.php:41
Stack trace:
#0 [internal function]: SoapClient->__doRequest('<?xml version="...',
'http://demo.sym...', 'urn:sympasoap#l...', 1, 0)
#1 /www/htdocs/w00c2aba/development/sympa/demo.php(41): SoapClient-
>__call('login', Array)
#2 /www/htdocs/w00c2aba/development/sympa/demo.php(41): SoapClient-
>login('rudolph@stadtwe...', 'sa-demo')
#3 {main} thrown in /www/htdocs/w00c2aba/development/sympa/demo.php on
line 41


I then build my own test code with the PHP SoapClient Object and enabled HTTPS
on the test server, which also throws an exception:

https://ssl-account.com/development.stadtwerk.org/sympa/


It all boils down to "[HTTP] Forbidden", hence my question: Am I allowed to
query the demo list via SOAP from another domain than sympa.org?

Best regards
Finn Rudolph



Archive powered by MHonArc 2.6.19+.

Top of Page