RE: [PEAR] :Soap and SOAP version 1.2

From: Date: Wed, 08 Feb 2006 01:21:01 +0000
Subject: RE: [PEAR] :Soap and SOAP version 1.2
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-22851@lists.php.net to get a copy of this message
On Tue, 07 Feb 2006 16:50:20 +0200, Urmo Keskel wrote: > > I made the service temporarily public. The address is > http://www.sk.ee:8095/DigiDocService/?wsdl > Apparently PEAR::SOAP only supports SOAP version 1.1:-( Do you use PHP5? If so, why not use the ext/soap in php5. It supports SOAP 1.2: <?php $attr = array('soap_version' => SOAP_1_2); $soapclient = new SoapClient( 'http://www.sk.ee:8095/DigiDocService/?wsdl', $attr ); // Invoke the method getVersion and print result try { foreach ($soapclient->GetVersion() as $info) print "$info\n"; } catch (SoapFault $fault) { trigger_error("SOAP Fault: (faultcode: {$fault->faultcode}\n" . "faultstring: {$fault->faultstring})", E_USER_ERROR); } ?> -- Hilsen/Regards Michael Rasmussen http://keyserver.veridis.com:11371/pks/lookup?op=get&search=0xE3E80917

« previous php.pear.general (#22851) next »