Re: SoapVar and Encoding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux