Genero WebServices and xsi:nil

Mauro Mariuzzo <[email protected]> Thu, 11 Oct 2007 15:18:57 +0200
Newsgroups gmane.comp.lang.4gl.fourjs.user
Message-ID <[email protected]>
Hi,

I'm writing a 4GL to consume an external (third part) Web Service
written in Java.


The SOAP response is

   <ns0:getUserListResponse>
    <ns0:result>
     <ns0:attr_UserArray xsi:nil="1" />
    </ns0:result>
   <ns0:getUserListResponse>

According to the "W3C XML Schema" documentation boolean values are
"true", "false", "1", "0".


GWS 2.00.1c and 2.02.01 gives me the following wsError structure

  wsError.code        = Server
  wsError.codeNS      = http://schemas.xmlsoap.org/soap/envelope/
  wsError.description = Error on XML node 'attr_UserArray': the value of
the 'nil' attribute is incorrect
  wsError.action      =


It seems that GWS recognize only literal values "true" and "false".