Using Flex 3, I've imported a webservice.

I can test this webservice via junit in Eclipse and it works. Fails 
when connecting in Flex.

The input strcuture is loaded correctly. No matter how I change the 
structure it alwasy gets an invalid element. I even tried to make the 
structure so it only had one int element and it still gets the 
Invalid element erro.

When I call the webservice I get a 
"org.xml.sax.SAXException: Invalid element in...RequestType - 
StartTime</faultstring" error for the first element in the 
complexType. 

<xsd:element name="getSeriesData">
<xsd:complexType>
 <xsd:sequence>
      <xsd:element name="inputParms"            
        type="pd:RequestType" />
      </xsd:sequence>
</xsd:complexType>

<xsd:complexType name="RequestType">
        <xsd:sequence>
                <xsd:element name="StartTime"
                                type="xsd:dateTime" minOccurs="0" />
                <xsd:element name="EndTime"
                                type="xsd:dateTime" minOccurs="0" />
                <xsd:element name="Interval"
                        type="xsd:int" minOccurs="0" />
...
        </xsd:sequence>
</xsd:complexType>

Error Back:
            <faultstring>org.xml.sax.SAXException: Invalid element in 
com.raytheon.gpsocx.service.enterprise.performancedataservice.v1.data.
RequestType - StartTime</faultstring>

Any help out there?
Thanks



 

Reply via email to