hi

I'm new in Laszlo, I can receive data to  the web service, the problem
it is when sending them, does not recognize the data type. I am using
a complex data

wsdl
<complexType name="pre_cct">
   <sequence>
    <element name="cctid" type="xsd:int"/>
    <element name="cicloescolar" nillable="true" type="xsd:string"/>
   </sequence>
  </complexType>
<complexType name="ArrayOf_tns1_pre_cct">
   <complexContent>
    <restriction base="soapenc:Array">
     <attribute ref="soapenc:arrayType" wsdl:arrayType="tns1:pre_cct[]"/>
    </restriction>
   </complexContent>
  </complexType>
<wsdl:message name="sql1Request">

     <wsdl:part name="cc" type="impl:ArrayOf_tns1_pre_cct"/>

  </wsdl:message>

  <wsdl:message name="sqlRequest">

  </wsdl:message>
</wsdl:message>

  <wsdl:message name="sqlResponse">

     <wsdl:part name="sqlReturn" type="impl:ArrayOf_tns1_pre_cct"/>

  </wsdl:message>
<wsdl:message name="sqlResponse">

     <wsdl:part name="sqlReturn" type="impl:ArrayOf_tns1_pre_cct"/>

  </wsdl:message>


this work
<remotecall name="sql" funcname="sql" dataobject="testDset">
                       <handler name="ondata" args="value">
                               Debug.write('search result:\n', value);
                       </handler>
               </remotecall>


this not work

<remotecall name="sql1" funcname="sql1" >
                       <param value="${ canvas.testDset }" />
                       <handler name="ondata" args="value">
                               Debug.write('search result:\n', value);
                       </handler>
               </remotecall>
......
onclick = " flSoap.sql1.invoke() "

send " error: «undefined» "



Thanks.

Reply via email to