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

php-wsdl-creator doesn't work on systems which have SOAP_1_1 and SOAP_1_2 defined #20

Open
GoogleCodeExporter opened this issue Feb 15, 2016 · 2 comments

Comments

@GoogleCodeExporter
Copy link

version 2.3 uses the following code to set the Soap Server options:

...
433  $this->SoapServerOptions=Array(
434      'soap_version' => SOAP_1_1|SOAP_1_2, 
435      'encoding'     => 'UTF-8',
436      'compression'  => SOAP_COMPRESSION_ACCEPT|SOAP_COMPRESSION_GZIP|9
437  );

The expression SOAP_1_1|SOAP_1_2, which I think is meant to evaluate to to the 
maximum available soap version, actually evaluates to 1|2 => 3. This is not a 
valid version and the server fails 

Original issue reported on code.google.com by [email protected] on 16 Jan 2013 at 3:07

@GoogleCodeExporter
Copy link
Author

I had the same problem

Original comment by [email protected] on 31 Jan 2013 at 2:34

@GoogleCodeExporter
Copy link
Author

--- class.phpwsdl.php   2011-08-20 12:20:48.000000000 -0400
+++ ../class.phpwsdl.php    2013-04-11 09:26:06.745986708 -0400
@@ -431,7 +431,7 @@
        }
        // SOAP server options
        $this->SoapServerOptions=Array(
-           'soap_version'  =>  SOAP_1_1|SOAP_1_2,
+           'soap_version'  =>  SOAP_1_2,
            'encoding'      =>  'UTF-8',
            'compression'   =>  SOAP_COMPRESSION_ACCEPT|SOAP_COMPRESSION_GZIP|9
        );

Original comment by [email protected] on 11 Apr 2013 at 1:26

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

No branches or pull requests

1 participant