RE: [SOAP] PHP 5 SOAP extension : problem with response containing several tags with the same name
| From: | Dmitry Stogov | Date: | Tue, 07 Feb 2006 11:07:20 +0000 |
| Subject: | RE: [SOAP] PHP 5 SOAP extension : problem with response containing several tags with the same name | ||
| References: | 1 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-2121@lists.php.net to get a copy of this message | ||
Hi PiRanha,
Please provide an example. Then I'll able to check.
Thanks. Dmitry.
> -----Original Message-----
> From: PiRanha [mailto:PiR_94@ifrance.com]
> Sent: Tuesday, February 07, 2006 12:05 PM
> To: soap@lists.php.net
> Subject: [SOAP] PHP 5 SOAP extension : problem with response
> containing several tags with the same name
>
>
> Hello,
>
> I have the following problem with the PHP 5 (5.1.1) SOAP
> extension : The WebService I call has an operation
> (getServiceSubscriptions) that returns a list of
> subscriptions for a user (see extracts of the WSDL below)
>
> <wsdl:operation name="getServiceSubscriptions">
> <wsdl:input message="impl:getServiceSubscriptionsRequest"
> name="getServiceSubscriptionsRequest"/>
> <wsdl:output message="impl:getServiceSubscriptionsResponse"
> name="getServiceSubscriptionsResponse"/>
> <wsdl:fault message="impl:EnablerException"
> name="EnablerException"/>
> <wsdl:fault message="impl:InvalidUserException"
> name="InvalidUserException"/>
> <wsdl:fault message="impl:NotAuthorizedException"
> name="NotAuthorizedException"/>
> </wsdl:operation>
>
> <element name="getServiceSubscriptionsResponse">
> <complexType>
> <sequence>
> <element maxOccurs="unbounded"
> name="getServiceSubscriptionsReturn"
> type="tns4:ServiceSubscriptionETO"/>
> </sequence>
> </complexType>
> </element>
>
> It can be seen above that the SOAP response may contain more
> than one "getServiceSubscriptionsReturn" tags. My problem is
> that, when this is the case, the response returned by the
> __soapCall() method only contains one
> "getServiceSubscriptionsReturn" : the last one. Is it a bug ?
> (already corrected in 5.1.2 or not)
>
> Thanks in advance for your help.
> PiRanha
>
> --
> PHP Soap Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>