Announcement Announcement Module
Collapse
No announcement yet.
HTTPService + IOperation HowTo?? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • HTTPService + IOperation HowTo??

    How do we use HTTPService and IOperation together in a service.

    Code:
    		public function getXXXXs():IOperation {
    			var operation:IOperation = myHttpService.send();
    			operation.addCompleteListener(handleComplete);
    			operation.addErrorListener(handleError);
    			return operation;
    		}
    In the above code, myHttpService.send() return type is AsyncToken.

    Here I am not sure how I suppose to write my code for an HTTPService call and handling the response.

    Would be great if someone can show me a correct approach.

    Thanks.

  • #2
    IOperation implementation in the trunk

    In the current release there's no IOperation that works with HTTPServices yet, in the trunk though there is, check it out here:

    https://src.springframework.org/svn/...cript/rpc/http

    So, you either grab just this code from the trunk or make a build from the trunk, which ever is easiest for you.

    cheers,

    Roland

    Comment


    • #3
      Thanks for the pointer. I 'll look into it.

      Comment

      Working...
      X