Re: [SOAP] But in WSDL code generation?

From: Date: Thu, 18 Jul 2002 17:22:07 +0000
Subject: Re: [SOAP] But in WSDL code generation?
References: 1  Groups: php.soap 
Request: Send a blank email to php-soap+get-165@lists.php.net to get a copy of this message
The proxy generation is designed to assist in getting things right for converting from php types to schema types. What this line is doing is wrapping the value you pass in with information that is necessary as defined by the wsdl, in particular the namespace for the data type. Without looking at the wsdl, or having more info from you, not sure if there is a problem here. The proxy generation can still be quite ineffective for services that define very complex types in schema, but definitly can help in building wrappers for them. Shane Sebastian Bergmann wrote:
'lo! I'm playing a bit with PEAR::SOAP and the new AmazonWebService right now. genproxy.php gives me, based on the .wsdl, code that is full of constructs like this one
    function KeywordSearchRequest($KeywordSearchRequest) {
      $KeywordRequest = new SOAP_Value(
        '{urn:PI/DevCentral/SoapService}KeywordRequest',
        false,
        $KeywordRequest
      );
      // ...
    }
How does this make sense?


« previous php.soap (#165) next »