Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6048389
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T07:27:28+00:00 2026-05-23T07:27:28+00:00

I am using HTTPService component to call the webservice. I am getting the result

  • 0

I am using HTTPService component to call the webservice. I am getting the result in resulthandler but result type is objectProxy. I want to convert them to my value objects which I generated using Data/Service of Flash builder. enter image description here
I am not able to access the ConnectUserAccess (as shown in attached image) as the Value Object.

var hs:HTTPService = new HTTPService();
var url:String = ConfigManager.getProperty("user.project.acess");
 hs.method = "GET";
 hs.url = url;
 hs.resultFormat = "object";
 var params:Object = {};
 params["User_Name"] = "madhur";
 hs.addEventListener(ResultEvent.RESULT, getProjectsAccessHandler);
 hs.addEventListener(FaultEvent.FAULT, getProjectFaultHandler);
 hs.send(params);

private function getProjectsAccessHandler(event:ResultEvent):void{
 var connect:ConnectUserAccess = event.result.ConnectUserAccess;
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T07:27:29+00:00Added an answer on May 23, 2026 at 7:27 am

    I finally made it work. Mistake I was doing was creating HTTPservice Object even though I have generated the service class using Data/Service feature of flash builder.
    I only had to use the generated service class to make a call to Httpservice. Now all I want is to get the event back from the service. The generated service returns me mx.rpc.AsyncToken which I can consume using callResponder.token. See the code below to get more clarity.

    import services.release.Release;
    [Bindable]
    private var userCR:CallResponder;
    [Bindable]
    private var release :Release;
    private function init():void{
    userCR = new CallResponder;
    userCR.addEventListener(ResultEvent.RESULT, getUserProject);
    userCR.addEventListener(FaultEvent.FAULT,getUserProjectFaultHandler);
    release = new Release;
    }
    protected function userProjectAccess(User_Name:String, User_GUID:String):void
    {
    userCR.token = Release.UserProjectAccess(User_Name, User_GUID);
    }
    

    Call this function userProjectAccess wherever required.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Problem: I call a PHP file using an HTTPService. I set the result of
I'm trying to send some data to PHP using HTTPService POST but for some
I have a Flex client making RESTful calls to a webservice using HTTPService. The
I'm getting occasional ConcurrencyError faults when using HTTPService in Flex 3. I have four
I am loading a component which makes a HTTPService call to get data that
I am using an HTTPService in my Flex application. I want to load several
I tried using both HTTPService and URLRequest / URLLoader . But I can't figure
I'm using HTTPService with a POST operation to submit a Base64 encoded file (taken
I wondering whats the difference between url and destination using httpservice in flex. I
I am using a Tab Navigator component in which there are three canvas components.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.