Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: <message> 'setCustom' already defined #1676

Closed
Nalisman385 opened this issue Jun 5, 2023 · 3 comments · Fixed by #1698
Labels

Comments

@Nalisman385
Copy link

Version

6.2.72

Installation method

source package or rpm

Expected behavior

no error

Actual behavior

error throw when $soapClient = new SoapClient($soapServer) is called after upgrade to .72

PHP Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: 'setCustom' already defined in /opt/sympa/etc/sympa/docs/subscribe/subscribe.php:155\nStack trace:\n#0 /opt/sympa/etc/sympa/docs/subscribe/subscribe.php(155): SoapClient->SoapClient()\n#1 {main}\n thrown in /opt/sympa/etc/sympa/docs/subscribe/subscribe.php on line 155, referer: https://ev.ritmailtest.rit.edu/subscribe/sample.php

Steps to reproduce

$soapServer = "https://$site/sympa/wsdl";
$soapClient = new SoapClient($soapServer);
$soapClient->debug_flag=true;

Additional information

The following lines in sympa.wsdl appear to be the issue:

Changing to the following resolves the issue:

@Nalisman385 Nalisman385 added the bug label Jun 5, 2023
@Nalisman385
Copy link
Author

Addendum, the XML excerpts got removed from the bug report:

Lines 310, 316 both have message name="setCustom", where message name="setCustomRequest" and message name="setCustomResponse" should be present, respectively.

@ikedas
Copy link
Member

ikedas commented Jun 6, 2023

Hi @Nalisman385 ,
Thank you for reporting bug. Could you please apply this patch and confirm that it works?

@Nalisman385
Copy link
Author

Confirmed, I have that in my test environment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants