4 Replies Latest reply on Dec 29, 2008 11:21 AM by ntsiii

    error:1067 - Implicit coercion of a value of type QName to an unrelated type QName

    enginço
      hi,
      I'm new in flex and my english not good. I'll try to explain my problem :(

      I have an application mxml and a component mxml. I imported a wsdl from .net webservice.
      In main mxml I added:
      <mx:Application ..... xmlns:webservices="generated.webservices.*"/>
      and
      <webservices:xService id="m_service"/>

      there is no problem for this. But when I added into component mxml like this:
      <mx:Canvas..... xmlns:webservices2="generated.webservices.*"/>
      and
      <webservices2:xService id="m_service2"/>
      I'm getting the following error:
      error line sample: (and 633 similar lines in generated.webservices)
      responseMessage.wrappedQName = new QName(" http://tempuri.org/","GetMemberListResponse");
      error:
      1067: Implicit coercion of a value of type QName to an unrelated type QName

      When I removed the <webservices2:xService id="m_service2"/> line from component mxml, I'm not getting an error.

      Flex 3.0 - sdk 4.0
      Thanx for your helps