3 Replies Latest reply on May 3, 2008 4:58 AM by Mike Bauer

    Errors galore when importing a WSDL file in FlexBuilder

    Mike Bauer
      I am fairly new to Flex, Flex 3, and the FlexBuilder 3. I have a web service deployed in Axis2. Through many painful attempts, I have it exposing my WSDL that I created. However, if I import the WSDL, either from the file on my laptop directly or from the URL of JBoss where I am deploying it, I get a rash of crazy errors:

      Severity and Description Path Resource Location Creation Time Id
      1067: Implicit coercion of a value of type com.bindpoint.generated.webservices:OpGetPendingMessagesResultEvent to an unrelated type flash.events:Event. Bindpoint Flex Client/src/com/bindpoint/generated/webservices BindpointService.as line 423 1209744958604 187
      1119: Access of possibly undefined property headers through a reference with static type com.bindpoint.generated.webservices:OpGetPendingMessagesResultEvent. Bindpoint Flex Client/src/com/bindpoint/generated/webservices BindpointService.as line 421 1209744958603 185
      1119: Access of possibly undefined property OpGetPendingMessages_RESULT through a reference with static type Class. Bindpoint Flex Client/src/com/bindpoint/generated/webservices BindpointService.as line 411 1209744958602 183
      1119: Access of possibly undefined property result through a reference with static type com.bindpoint.generated.webservices:OpGetPendingMessagesResultEvent. Bindpoint Flex Client/src/com/bindpoint/generated/webservices BindpointService.as line 420 1209744958603 184
      1119: Access of possibly undefined property result through a reference with static type com.bindpoint.generated.webservices:OpGetPendingMessagesResultEvent. Bindpoint Flex Client/src/com/bindpoint/generated/webservices BindpointService.as line 422 1209744958604 186


      This is all in the code that FlexBuilder 3 generated. Am I doing something wrong here? I can post my WSDL, as Axis2 returns it, if needed. I tried to include it here, but I exceeded the max length of the message.

      I do appreciate the assistance.