List Info

Thread: Boolean variables




Boolean variables
country flaguser name
Spain
2007-04-01 06:34:59
Hi! I'm experiencing problems when using a SOAP Web Service
which
returns classes with boolean variables. I've made a class
called
WebServices.java, which returns an instance of a class
called "Foo", and
this class is composed by a boolean variable called
"bar". 

Once deployed the Web Service in my tomcat 5.5 with axis 1,
it seems to
work correctly (you can see the WSDL in the attached file
"WebServices.wsdl", and the XML result of the
petition in the file
"Response.xml", and I've consumed the service
without problems with
SOAPpy of Python).

The problem is that, whenever I consume this SOAP Web
Service from
OpenLaszlo 3.3.3, the result of Debug.inspect(value) is:
        
        Loaded; invoke... 
        correct 
        «¡Foo#1!#0| {bar: [object Object]}» { 
        bar: {} 
        }

And when I consume it from OpenLaszlo 4.0, I get:

        Loaded; invoke... 
        rpc.lzx _handler {status: ok, message: ok, data:
[object
        Object], opinfo: [object Object], seqnum: 1} 
        correct 
        «¡Object!#1| {bar: [object Object]}» { 
        bar: {} 
        }

I attach the .lzx file (example.lzx).

What am I missing? Why can't I use the value of the boolean
"bar"
variable? Thank you in advance,

-- 
María Legorburu Mardaras

  
  
  
  
  
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )