1

I need to make a SOAP request throw Zend_Soap_Client with making null-valued fields like

<ns1:ValName xsi:nil="true"/>

Right now I have such fields being translated as

<ns1:ValName/>

How can I enable 'xsi:nil'-translating in Zend?

James A Mohler
  • 11,060
  • 15
  • 46
  • 72
Maxim Efimov
  • 2,747
  • 1
  • 19
  • 25

1 Answers1

0

The nillable attribute indicates that the element that the attribute is on is present but has no value, similar to NULL in most programming languages.

If you want to assign a value to the element you can do so, however you'll have to remove the xsi:nil attribute first, otherwise you'll get an error.

Flexo
  • 87,323
  • 22
  • 191
  • 272