Re: SoapVar and Encoding

From: Date: Tue, 21 Aug 2007 13:02:42 +0000
Subject: Re: SoapVar and Encoding
Groups: php.soap 
Request: Send a blank email to php-soap+get-2603@lists.php.net to get a copy of this message
Hy, I have exactly the same problems with this xml-lists and SoapVar. I dont find any solution. I need that the Response is in my special namespace. And for that I need the Class SoapVar to set the namespace. Is there an other way to handle the namespace from the response? If I use the Class SoapVar my xml-lists was rewritten from: ------------------------------------------------------------- ... <ns2:DHDFee> <ns2:FeeName>STANDARD</ns2:FeeName> <ns2:PriceClass>PRIVATE</ns2:PriceClass> <ns2:DurationDays>70</ns2:DurationDays> <ns2:FeePrice>0.00</ns2:FeePrice> </ns2:DHDFee> <ns2:DHDFee> <ns2:FeeName>STANDARD2</ns2:FeeName> <ns2:PriceClass>PRIVATE2</ns2:PriceClass> <ns2:DurationDays>35</ns2:DurationDays> <ns2:FeePrice>1.00</ns2:FeePrice> </ns2:DHDFee> ... ------------------------------------------------------------- to the following Code: ------------------------------------------------------------- ... <DHDFee> <SOAP-ENC:Struct> <FeeName>STANDARD</FeeName> <PriceClass>PRIVATE</PriceClass> <DurationDays>70</DurationDays> <FeePrice>0.00</FeePrice> </SOAP-ENC:Struct> <SOAP-ENC:Struct> <FeeName>STANDARD</FeeName> <PriceClass>PRIVATE_PLUS</PriceClass> <DurationDays>70</DurationDays> <FeePrice>5.00</FeePrice> </SOAP-ENC:Struct> <DHDFee> ------------------------------------------------------------- the namespaces was removed too. What can I do? Thank for your help and best greetings, Jörg Werner

« previous php.soap (#2603) next »