4 Replies Latest reply on Jun 15, 2009 8:24 AM by Mayank (Adobe)

    WebService authentication problems

    galg

      I am trying to use a web service that serves over https, has wsdl that is accessible using account name and password, and then when I actually call methods, requires basic authentication using account name and API key.

       

      I have tried to work with Flex WebService generated by the Data import capability of flex builder 3 and flash builder 4. They both DO NOT handle the authentication...

       

      When I construct the webService object, it loads the wsdl (I don't understand why, because flash builder already imported it to build the service classes). This fails, because I can't specify the required authentication info.

       

      Since I do not use a proxy I can't use the "setCredentials" methods.

       

      What should I do ?