Re: [SOAP] At the risk of sounding like a loser..

From: Date: Mon, 09 Dec 2002 21:40:50 +0000
Subject: Re: [SOAP] At the risk of sounding like a loser..
References: 1  Groups: php.soap 
Request: Send a blank email to php-soap+get-322@lists.php.net to get a copy of this message
On Mon, Dec 09, 2002 at 10:49:02AM -0800, Chris McCluskey wrote: > at the risk of sounding like a loser... > > does php have any native soap functions? I downloaded the nusoap object > and it seems to work great, but as i'm trying to understand the > innerworkings of soap itself, i found it a bit confusing. I then began > work on a series of objects that would construct an XML document and > then send it as a soap message, but before I re-invent the wheel, are > their any php functions that will do this? there didn't seem to be any > on the site. There is pear/PECL/soap/ which is a native soap extension. I'm currently to get it working without seg-faulting too much. It expectes a very clean wsdl-file and doesn't check for correctness of the file. - forget the ->bind() call -> seg-fault $server= new SoapServer("urn:soaptest"); $server->addfunction("soaptest"); $server->handle(); ... - don't define a response value in the wsdl -> seg-fault <message name="NewMessageResponse"> </message> - use PHPA and change the wsdl-file (server still uses the old wsdl-file, client the new one) -> seg-fault if you change the name of the return variable (client can't find the variable in the return XML) - use the latest CVS otherwise -> seg-fault (some variables are not setup at all) > -Chris Jan -- http://jan.kneschke.de - localizer, modlogan, pxtools mailto:jan@kneschke.de - Jan Kneschke

« previous php.soap (#322) next »