WebServices Queuing problem

Ask a Question related to Macromedia Flex General Discussion, Design and Development.

  1. #1

    Default WebServices Queuing problem

    I have an RIA which has about 15 webservices to load. By the time user clicks
    signin sometimes the wsdl is not loaded and hence its not making a call to
    webservice method to authenticate user's credentials. SO My question is does
    mx:Webservice ensure queuing up of calls untils the wsdl is fetched.


    I come from flash world. And flash used to take care under the hood for
    queuing up the webservice method calls untill the webservice wsdls were loaded.
    Is that true for Flex WebServices instantiated through mx:Webservice tag ?



    gumnam Guest

  2. Similar Questions and Discussions

    1. problem about webservices
      hello,kind people. there is one problem about WebServices from me,i thought over and over,but no result. it looks not the FMS case,but as you...
    2. Problem with WebServices
      Hello, I' ve created a new webService Project and run with "Hello World" example. It run fine. After it, i created a Winform project and included...
    3. Webservices connectivity problem
      Im working on a flash app strongly based on SOAP. Works fine both local and remote, but in certain companies where we tried to show it the...
    4. Message Queuing Service
      Message Queing is part of the Windows Installation. Under Add or Remove Programs go to the Add/Remove Window Components From there: in WinXP, it...
    5. HELP! HELP! Access problem to WebServices
      I have written a generic proxy class for web services access This proxy class runs in the same server of WebService The class works fine if the...
  3. #2

    Default Re: WebServices Queuing problem

    gumnam wrote:
    > I have an RIA which has about 15 webservices to load. By the time user clicks
    > signin sometimes the wsdl is not loaded and hence its not making a call to
    > webservice method to authenticate user's credentials. SO My question is does
    > mx:Webservice ensure queuing up of calls untils the wsdl is fetched.
    >
    >
    > I come from flash world. And flash used to take care under the hood for
    > queuing up the webservice method calls untill the webservice wsdls were loaded.
    > Is that true for Flex WebServices instantiated through mx:Webservice tag ?
    >
    >
    >
    My bigger question is why are you rolling your own security rather then
    implementing it via J2EE and letting Flex automatically and
    transparently integrate into that.


    You can control the order that controls are rendered in Flex using
    either the creationComplete event or a creationPolicy.

    <mx:ComboBox creationComplete="myService.send()"
    dataProvider="{myService.result.types.type}"/>


    But my first question is the core one.....

    --
    Dave Wolf
    Cynergy Systems, Inc.
    Macromedia Flex Alliance Partner
    [url]http://www.cynergysystems.com[/url]

    Email: [email]dave.wolf@cynergysystems.com[/email]
    Office: 866-CYNERGY x85
    Dave Wolf Guest

  4. #3

    Default Re: WebServices Queuing problem

    I am sorry but I did not understand your core concern.

    Secondly, I understand that we can control things using creationComplete and
    creationPolicy. In fact my code does that on click of the button and ofcourse
    button is not going to be displayed until the creation is complete of the whole
    application. But on my Application creationComplete it tries to load the wsdls
    and since that operation is assyncrhronus in nature, by the time somebody
    clicks on signin ,it might be the case that those wsdls are still being fetched
    and the one thats needed for the servicemethod being called might not yet have
    been fetched.

    gumnam Guest

  5. #4

    Default Re: WebServices Queuing problem

    gumnam wrote:
    > I am sorry but I did not understand your core concern.
    >
    My core concern is that you are rolling your own security. The fact
    that you are validating a login via a web service call, rather then
    letting the server manage your security. By doing it via a web service,
    you now need to litter your UI code with security checks.

    The J2EE container you use should manage your security. Just IMHO.
    > Secondly, I understand that we can control things using creationComplete and
    > creationPolicy. In fact my code does that on click of the button and ofcourse
    > button is not going to be displayed until the creation is complete of the whole
    > application. But on my Application creationComplete it tries to load the wsdls
    > and since that operation is assyncrhronus in nature, by the time somebody
    > clicks on signin ,it might be the case that those wsdls are still being fetched
    > and the one thats needed for the servicemethod being called might not yet have
    > been fetched.
    >
    I guess my point was, dont render the UI controls at all until the WSDL
    is loaded. For instance, you could make a web service call and in the
    result handler then cause your UI controls to render.


    --
    Dave Wolf
    Cynergy Systems, Inc.
    Macromedia Flex Alliance Partner
    [url]http://www.cynergysystems.com[/url]

    Email: [email]dave.wolf@cynergysystems.com[/email]
    Office: 866-CYNERGY x85
    Dave Wolf Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139