What does the SOAP request look like?  Nothing in what you’ve posted jumps out at me.

 

Matt

 


From: extensive_systems [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 17, 2005 1:31 PM
To: [EMAIL PROTECTED]
Subject: [flexcoders] Flex Choking on Array WSDL syntax?

 


I'm calling a web service over HTTPS - see WSDL fragment below
(snipped to relevant portion and edited to remove business info) - and
the following fault is returned. Could this be a Flex bug?

--------------------------------------------
Fault returned:

<SOAP-ENV:Fault>
         <faultcode>SOAP-ENV:Client</faultcode>
         <faultstring>Explicit array length is not a valid integer
'undefined'. [java.lang.IllegalArgumentException]</faultstring>
         <faultactor>/vintel/vinDecode</faultactor>
      </SOAP-ENV:Fault>

--------------------------------------------
WSDL fragment:

<?xml version="1.0" encoding="UTF-8"?>
<definitions name="Foobar"
        targetNamespace="http://some.where/Foobar.wsdl"
        xmlns="http://schemas.xmlsoap.org/wsdl/"
        xmlns:xsd1="http://some.where/Foobar.xsd"
        xmlns:tns="http://some.where/Foobar.wsdl"
        xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" >

  <documentation>
  WSDL for Service: Foobar, generated by Oracle WSDL toolkit (version:
1.1)
  </documentation>

  <types>
    <schema
            targetNamespace="http://some.where/Foobar.xsd"
            xmlns:tns="http://some.where/Foobar.xsd"
            xmlns="http://www.w3.org/2001/XMLSchema"
            xmlns:xsd="http://www.w3.org/2001/XMLSchema"
            xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
            xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">

      <complexType name="my_Type">
        <all>
          <element name="baz" type="xsd:int"/>
          <element name="bazRequests" type="tns:ArrayOfmy_RequestType"/>
          <element name="bazResponses" type="tns:ArrayOfmy_ResponseType"/>
          <element name="username" type="xsd:string"/>
          <element name="password" type="xsd:string"/>
        </all>
      </complexType>
      <complexType name="my_RequestType">
        <all>
          <element name="foo" type="xsd:string"/>
          <element name="bar" type="xsd:string"/>
        </all>
      </complexType>
      <complexType name="ArrayOfmy_RequestType">
        <complexContent>
          <restriction base="soapenc:Array">
            <attribute ref="soapenc:arrayType"
wsdl:arrayType="tns:my_RequestType[]"/>
          </restriction>
        </complexContent>
      </complexType>

      ....... S N I P .........

</definitions>







Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to