0 Replies Latest reply on Nov 21, 2012 9:14 AM by Thomas-69

    Problem with WSDL Type Definitions


      Hi all,


      I try to use the WSDl Webservice Assistent from Flah Builder to connect to an Webservice.


      Now I run to an problem where I need some help!


      The WSDL have one Operation with following definition:


      <s:element name="SetWMObjectValues">



                     <s:element minOccurs="1" maxOccurs="1" name="hWMObject" type="s:int"/>

                     <s:element minOccurs="0" maxOccurs="1" name="Columns" type="tns:ArrayOfString"/>

                     <s:element minOccurs="0" maxOccurs="1" name="Values" type="tns:ArrayOfAnyType"/>





      the webservice generate the following XML:


      <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">


          <tns:SetWMObjectValues xmlns:tns="http://www.windream.com/WebService1">













      The server give me a fault, that the Type of the Values are wrong, so Ithink he want to know real Type of the value (string,int,boolean).

      Because I can not modify the webservice I search for a solution to do it in Flex.


      For my opinion there are 2 possible solution:


      1. hook in the geneation of the XML to make the Type correkt

      2. edit the Asynktoken with the XML befor it is send




      But I dont know which is the best solution, and how can I managed that!


      Hope someone can give me a tipp


      Best regards