How do I load the response from the Web service data into flashbuilder

Hi all,

I got a response from webservice sent by server, now I need to load and parse as xml, how to move forward on the issue after getting the answer please try to solve my problem.

Thanks & rRegards

Flashbuilder has 4.6 of this feature of the very good user interface you want to use (not sure another old version).

and it's almost not requre no programming steps for you to get a XML as an object of value from a webservice.

Click the menu data, you can learn it by yourself quickly.

Tags: Adobe AIR

Similar Questions

  • How can I activate the web service on 8600

    How can I activate the web service on 8600

    How can I activate the web service on hp 8600

  • How to clear the inputText field that contains control data to the Web Service data?

    Hello

    I use JDeveloper 12.1.3 and 2.2 of the MAF.

    I created a Web Service data control that offers the feature of the View object on the server side.

    To use this, I created a taskflow with two pages of amx. The first page of the amx contains a button to call the other.

    The second page of the amx contains fields inputText with the values of the parameters of creation out of the data control functions.

    If I call the second page of the amx inputText fields are empty. On the page, I have a button to call the function of creation itself. By pressing the key the inputText field values will be sent to the server. Everything works great! Pressing on the button also calls for action to return to the first page of amx in the taskflow.

    Now, if a next time I call the second page the inputText fields contain the values from the last call.

    I want the inputText empty fields each time. How can I achieve this?

    Thanks in advance.

    Martin

    You can ask this question in the forum of the MAF

    Oracle Mobile Application Framework

  • How encryption works in the web services connector?

    Hi, I wanted to ask if someone could explain or point me to somewhere where its explained how encryption in Web Service connector (connector guide did not help) because I feel like there is a black box in the way that works part of the connector.

    This is what is happening to me.

    When I request an account the IOM sends to the SOA, a SOAP message with this field:

    user < __NAME__ > < / __NAME__ >

    Do0emq9XxVlYdbBxRUFSpciLqp77p6WYXQzATr8UysI = < __PASSWORD__ > < / __PASSWORD__ >

    But SOA sends a SOAP like it even though im using the oimcp/WS_CONNECTOR_OUTBOUND to decrypt the way that the Webservices connector Guide tells me to do section 5.1

    the user < USER_ID > < / USER_ID >

    Do0emq9XxVlYdbBxRUFSpciLqp77p6WYXQzATr8UysI < PASSWORD > = < / PASSWORD >

    < PasswordConfirm > Do0emq9XxVlYdbBxRUFSpciLqp77p6WYXQzATr8UysI = < / passwordConfirm >

    Somehow the DB records the real password not the hash, but if the size of the password in the DB field is smaller than the size of the hash I get a SQL error even if the

    password real has the right length. And change the size of the field in the DB is not always an option.

    Happents another odd thing, is that if I do not declare the passwordConfirm field in < property name = "password.field.xpath.locations" type = "xs: String" > / ns3:PASSWORD, / ns3:passwordConfirm < / property > even if the sending of SOAP by the SOA is always: "

    the user < USER_ID > < / USER_ID >

    Do0emq9XxVlYdbBxRUFSpciLqp77p6WYXQzATr8UysI < PASSWORD > = < / PASSWORD >

    < PasswordConfirm > Do0emq9XxVlYdbBxRUFSpciLqp77p6WYXQzATr8UysI = < / passwordConfirm >

    I get the error that do not match the password and passwordConfirm.

    And to make things even more bizarre if I wire the password, lets say, e-mail and declare this field as needed the decryption of the stored value is the hash. Even if the password is the normal password.

    Also, is there a way for the SOA to send the password in plain text?

    Hello Leo,

    If you have correctly configured oimcp/WS_CONNECTOR_OUTBOUND policy, there should not be any errors and it works without problem.  Unhappiness about using policy - is that the errors you will see when it does not work are not really useful to discover the cause of the problem.  In fact, the most useful tool I found the resolution of the problems with politics is WireShark.

    I used the strategy in multi-instance test scenarios and also support for several customers who try to use the policy.  From my experience, I guess that decryption is being ignored due to an error in your code. If WireShark gives you not with sufficient detail to indicate where the error is, I would say a SR in support to solve the problem more openness.

    Hope that helps,

    Amy

    -----

    When closing a thread as answered don't forget to mark the messages correct and useful to make it easier for others to find.

  • Find / create / update using the Web service data command.

    Hello

    I'm working on PS2 (JDEV 11.1.1.3). One of the requirements is to build Web services from ADF pages. Initially the user connection is looking for items. The results would then be displayed as a read-only table. The user will select line clicks on the button "edit / update" then I need see the second page with the details of record selected as a form. Then he can add / edit the page. The same page is also used to 'create '. I am facing issue while the user selects the record in the table Details the research and passing the Id on the second page of the update of the. Can someone help / guide me.

    I went through the blog of Shay. http://blogs.Oracle.com/Shay/2010/05/updateinsert_with_adf_web_serv.html
    But it's different compared to my needs.

    Enjoy your entries.

    Thank you
    Mahesh

    I don't see exactly how have more fields influence the approach.
    If you are looking for a shortcut, you can try to drag the operation of fusion, as a form of parameter ADF - this will create all the fields for you. And then you will need to go in and change their value to point to the pageFlowScope object.

  • creation or user logon via pipelineservlet using the Web service data.

    Hello

    We have a requirement like as follows. We got a token to a service (while redirecting to another site to the atg commerce site). On redirect to the atg commerce site in one of the pipelineservlet of custom query, we call the service with the token. Using this answer, we want to create a new user/login (if the user exists). Please suggest any idea to implement this feature.

    Thanks in advance

    Suma.

    have you checked your profileAsXML-> fact she follow the format accepted by the method?

    It does not contain the user password - it should nt be encrypted...

    I had a similar req - I traced the xml to a bean... uses the user id / pwd to create the user and the rest of the values using the profile object...

  • How to get the response from the web service

    Hello

    My requirement is necessary send the UI ADF input parameter and get web service respone. I created proxy WSDL-based methods. Now in my action button earpiece that I wrote the logic below.

    {} public void submitAction (ActionEvent actionEvent)
    Add the code in the event here...
    BigDecimal merNam = null;
    String number = this.it1.getValue (m:System.NET.SocketAddress.ToString ()); my entry value
    merNam = new BigDecimal (number);
    MV MerchantValidate = new MerchantValidate(); / / created by jdeveloper when proxy generation.
    mv.setMerchantNumber (merNam); / / the value input to the web service
    System.out.println ("merchant number is:" + mv.getMerchantNumber ());

    Mr. MerchantValidateResponse = new MerchantValidateResponse(); / / create object of response class
    String result = mr.getResult (); / / try to get the answer
    System.out.println ("result:" + result); / / I'm getting null as a result
    / * this.setResult (mr.getResult ());
    System.out.println ("the answer is:" + this.getResult ()); * /

    Can someone help how to pass values to the web service and get the response. And how can we get the Web service data control.

    It's very urgent pls help. I'm not for this technology.


    }

    Hello

    You can view the tutorial for a good understanding on creation and use of a Web Service data control:

    http://www.Oracle.com/technology/OBE/obe11jdev/11/wsdc/wsdc.htm#T1

    Thank you
    Vishal

  • Implementation of the Web Service on Blackberry

    Hello

    I am new to web services so now I want to know how you can hit the web services via the blackberry app?

    Y at - there no web service sample I can use to test the object.

    In fact, I want to know the implementation of the web service on blackberry.

    Please provice me useful links and resources.

    What is KSOAP2 in blackberry?

    I think there are 2 ways to use web services

    1 http

    2 SOAP

    I want to know the two tests.

    Please help me.

    Sorry for non trivial stuff like this there is nothing like "sample code" of my side - I work in a business environment, not as a developer open source.

  • Access to the Web Service API

    Hello

    I try to access a web page API in the APEX, but still get an error in the ACL.  I tried everything I can think of as well as the multitude of usual information "bits and pieces", which I found on the web.

    USER who needs access to the ACL and the fact that it is an https site makes a difference for settings?

    I can return data from SqlPlus without problem.

    FOR INFO.

    Oracle 11g

    APEX 5

    W2008.

    Pointers would be appreciated!

    Thank you

    Hi Samuistu,

    Samuistu wrote:

    Basically, what I want to do is to download data in a table to a Web site.  A good example of the type of data is here https://www.cryptopia.co.nz/api/GetCurrencies

    Is it possible to get this data into a table that contains the Id column headers, name, etc. of symbol.

    Assuming that you have a table as follows:

    create table crypt_currencies (
      id number,
      name varchar2(128),
      symbol varchar2(8),
      algorithm varchar2(128)
    );
    

    Finally with regard to the features to get the web service data and insert them in the table, for that you can do something like this:

    declare 
    
        l_response clob;
        l_values apex_json.t_values;
        l_data_count integer;
        l_crypt_curr_rec crypt_currencies%rowtype;
    
    begin 
    
        l_response := apex_web_service.make_rest_request (
                            p_url          => 'https://www.cryptopia.co.nz/api/GetCurrencies',
                            p_http_method  => 'GET',
                            p_wallet_path  => 'file:path/to/oracle/wallet',
                            p_wallet_pwd  => 'password' );
    
        apex_json.parse (
            p_values => l_values,
            p_source => l_response );
    
        if apex_json.get_boolean (
              p_values => l_values,
              p_path  => 'Success' ) then
            dbms_output.put_line('Success --> true');
        end if;
    
        dbms_output.put_line ( 'Data Members Count --> '||
                                apex_json.get_count (
                                    p_values => l_values,
                                    p_path  => 'Data' )
                              );
    
        l_data_count := apex_json.get_count (
                            p_values => l_values,
                            p_path  => 'Data' );
    
        for i in 1 .. l_data_count loop
    
            l_crypt_curr_rec := null;
    
            dbms_output.put_line ( 'Id --> '||
                                apex_json.get_number (
                                    p_values => l_values,
                                    p_path  => 'Data[%d].Id',
                                    p0      => i )
                                ||', '||
                                'Name --> '||
                                apex_json.get_varchar2 (
                                    p_values => l_values,
                                    p_path  => 'Data[%d].Name',
                                    p0      => i )
                                ||', '||
                                'Symbol --> '||
                                apex_json.get_varchar2 (
                                    p_values => l_values,
                                    p_path  => 'Data[%d].Symbol',
                                    p0      => i )
                                ||', '||
                                'Algorithm --> '||
                                apex_json.get_varchar2 (
                                    p_values => l_values,
                                    p_path  => 'Data[%d].Algorithm',
                                    p0      => i )
                              );
    
            l_crypt_curr_rec.id := apex_json.get_number (
                                      p_values => l_values,
                                      p_path  => 'Data[%d].Id',
                                      p0      => i );
    
            l_crypt_curr_rec.name := apex_json.get_varchar2 (
                                      p_values => l_values,
                                      p_path  => 'Data[%d].Name',
                                      p0      => i );
    
            l_crypt_curr_rec.symbol := apex_json.get_varchar2 (
                                      p_values => l_values,
                                      p_path  => 'Data[%d].Symbol',
                                      p0      => i );
    
            l_crypt_curr_rec.algorithm := apex_json.get_varchar2 (
                                      p_values => l_values,
                                      p_path  => 'Data[%d].Algorithm',
                                      p0      => i );
    
            insert into crypt_currencies
                values l_crypt_curr_rec;
    
        end loop;
    
    end;
    

    NOTE:

    • The code above is for purposes of example, if you use it make the necessary changes.
    • Dbms_output calls are given for the purpose of debugging. You can remove that in the actual code.

    I hope this helps!

    Kind regards

    Kiran

  • Error in creation of Control (SOAP) data to the Web Service in the ADF Mobile app

    Hi, I tried to create a Control (SOAP) Web Service data in a Mobile application of ADF in JDeveloper 11.1.2.4.0 under Mac OS X 10.8.5

    The application has been newly created (no features) and I tried to create a Web Service data control directly.

    In the 'Create Web Service data-> step 1 control', when I entered the URL of the WSDL and left the text box, the window "WSDL Document for reading" came and I got an error message saying "invalid WSDL URL.

    The error description is given below:

    Houston-29114 ADFContext is not configured to process this exception messages. Use the code of exception stack trace and error to investigate the root cause of this exception. Root cause error code is DCA-29000. Are parameters of error message ({0 = oracle.webservices.mdds.MddsException, 1 = java.io.InterruptedIOException: connection timed out})

    I have JDeveloper put 11.1.2.4.0 in place on a Windows 8 and follow the same steps with the same WSDL URL and he accepted the URL.

    Can anyone help on how to fix this problem as I want to develop on Mac.

    Hello

    We have solved the problem by asking the dev team to provide the file for the web service's .wsdl. We copied the file in the file system on the mac and then instead of provide the URL, inviting us to the wsdl file. Who does the work on the mac.

    We were able to put a URL as http://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDL (a non-secure web service) and the wizard to create the Web Service data control accepted the URL on the mac. Can be to secure web services, we have the .wsdl himself file. (the web service that we were trying to access was on EBS and was a secure web service)

  • How to display a PNG image according to the response from the Web Service?

    Hello

    I use the web service XML from Weather.com to get the current temperature, temperature 'feels' and the current condition icon number.  Their service provides many (> 20 I think) which represents the current status of PNG files.  How do I install my script AS3 do basically if... then Else instructions based on the returned value icon?  For example, if the value of icon = 20, then view 20. png on stage?  I need match the value of correct PNG icon and then put that PNG (as a clip?) on stage for a predefined timeline section.

    Thank you

    SID

    Hello

    I also used this API, and I only use cases or conditions in order to retrieve the values and turn them into a file name.

    If you do not use all the available conditions and turning them into an icon, then Yes, you need to do a switch condition.

    But if you want to use them all, them you can simply get the condition number and add the '.png' and call the corresponding file directly. Here you can do a test, just in case the condition / icon does not exist (e.g. system failure any)

    uicondition.source = String (resultXML.cc.icon) + ".png";

    The UILoader is an excellent component for this sort of thing. You can accomplish the same thing with a MovieClip and load an image. It is lighter.

    But then again if you want to resize you would code all methods for that.

    I hope this helps.

  • How can I load the security updates that Belarc suggests?

    HOW CAN I LOAD THE SECURITY UPDATES BELARC SUGGESTS?

    Hello jobtoo,

    You may have already solved this problem, but my suggestion would be to contact Belarc support.

    You can use the link below:
    e-mail: * address email is removed from the privacy *

    http://www.Belarc.com/contact.html

    Thank you!

  • I've updated for picture with the captain and when I plug in my iPhone it loads the same pictures twice each time how it stop loading the same things every day?

    I've updated for picture with the captain and when I plug in my iPhone it loads the same pictures twice each time how it stop loading the same things every day?  I tried to make the old default iphoto but picture still open when I plug in my iPhone?

    I tried to make the old default iphoto but picture still open when I plug in my iPhone?

    When the iPhone is connected and Photos opens, select iPhone in sideba of the windowr of Photos. Then, uncheck the option 'Open for this iPhone Photos' below the toolbar.  Do this for all your iPhones. The hook should be unmarked for each device individually.

  • How to access the web service from Oracle?

    Database version: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0

    I'm making a call to a web service through a procedure/function...

    I tried to use
    CREATE OR REPLACE PROCEDURE Call_Rest_Webservice
    
     AS
    
      t_Http_Req Utl_Http.Req;
    
      t_Http_Resp Utl_Http.Resp;
    
      t_Request_Body VARCHAR2(30000);
    
      t_Respond VARCHAR2(30000);
    
      t_Start_Pos INTEGER := 1;
    
      t_Output VARCHAR2(2000);
    
    BEGIN
    
      /*Construct the information you want to send to the webservice.
      
      Normally this would be in a xml structure. But for a REST-
      
      webservice this is not mandatory. The webservice i needed to
      
      call excepts plain test.*/
    
      t_Request_Body := 'the data you want to send to the webservice';
    
      /*Telling Oracle where the webservice can be found, what kind of request is made
      
      and the version of the HTTP*/
    
      t_Http_Req := Utl_Http.Begin_Request('**webservice address**',
                                           'GET',
                                           'HTTP/1.1');
    
      /*In my case the webservice used authentication with a username an password
      
      that was provided to me. You can skip this line if it's a public webservice.*/
    
      --Utl_Http.Set_Authentication(t_Http_Req, 'username', 'password');
    
      /*Describe in the request-header what kind of data is send*/
    
      Utl_Http.Set_Header(t_Http_Req, 'Content-Type', 'text/xml charset=UTF-8');
    
      /*Describe in the request-header the lengt of the data*/
    
      Utl_Http.Set_Header(t_Http_Req, 'Content-Length', Length(t_Request_Body));
    
      /*Put the data in de body of the request*/
    
      Utl_Http.Write_Text(t_Http_Req, t_Request_Body);
    
      /*make the actual request to the webservice en catch the responce in a
      
      variable*/
    
      t_Http_Resp := Utl_Http.Get_Response(t_Http_Req);
    
      /*Read the body of the response, so you can find out if the information was
      
        received ok by the webservice.
      
        Go to the documentation of the webservice for what kind of responce you
      
        should expect. In my case it was:
      
        <responce>
      
          <status>ok</status>
      
        </responce>
      
      */
    
      Utl_Http.Read_Text(t_Http_Resp, t_Respond);
    
      /*Some closing?1 Releasing some memory, i think....*/
    
      Utl_Http.End_Response(t_Http_Resp);
    
    END;
    But it's me ORA-29272: HTTP request failed
    ORA-06512: at "SYS." UTL_HTTP", line 1029
    ORA-12545: Connect failed because target host or object does not exist

    But I can connect to the web server by going on * webservice address * through my browser.

    Is there an ACL must be open in order to have this capacity? I asked my s/n, but she asked me that I will need to give its name to username/password / ip in order to open an ACL...
    However there is no name to username/password required during a tour of the web service...

    Any help would be much appreciated...

    Thank you

    Published by: 986006 on March 4, 2013 08:38

    Y.L wrote:

    This is because the database could not connect to the specified server. Bad host name or IP address specified. Inability to resolve the hostname to an IP address. Firewall blocking. Etc.

    The host name, I put here can be visit through my browser. I think that it is not question of the host server... So, it could be a firewall on my side of the database which must be opened in order to visit the host?

    The "web browser" (your PL/SQL using UTL_HTTP code) code is running on the Oracle database server. He needs the same type of network access that has your browser on your PC. (firewalls open, authentication of the proxy if necessary, etc.).

    On 11g. Not on 10g.

    I saw the code example you post from the link you provided... those who only works on 11 g?
    If we can work on 10g, which package or what are the steps I need to follow in order to have that works on me?

    The code I posted works on both versions. My comment was regards the ACLs. No ACLs exist on 10g. If you only need to execute privs on the affected packages (e.g., UTL_HTTP, etc.).

    ACL were introduced with 11g - 11g, you also need the ADMINISTRATOR to create an ACL for you which will allow access to the UTL_HTTP network so now.

  • How to transfer data from oracle to the web service using ODI with axis2 tech

    Hi all

    Can someone cause a document or markets about 'How to transfer data from oracle to the web service with the help of ODI with AXIS2 technology'
    If any person with a document or markets, please share it with me

    Thank you
    Phani

    I can give you a few examples of web services in ODI, perhaps that you find them useful?
    Try: -.
    http://John-Goodwin.blogspot.com/2009/04/ODI-series-Web-services.html
    http://John-Goodwin.blogspot.com/2009/05/ODI-series-Web-services-part-3.html
    http://John-Goodwin.blogspot.com/2009/05/ODI-series-Web-services-part-4.html

    See you soon

    John
    http://John-Goodwin.blogspot.com/

Maybe you are looking for

  • Toshiba D-R4SU record show - contained protected against copying

    Have had this machine for awhile.Always have used Phillips DVD-R discs. I always could dub movies on DVD by hooking my VCR, as well as TV and record shows transfer to my DVD recorder and hang the video camera too it and dub on DVD. However, in the la

  • Satellite C660D - a problem with the cooling system has been detected

    My laptop is a * Toshiba Satellite C660D-11th * and I have a message that keeps coming up every once in a while 'alert system' head and reads as follows: "WARNING: a problem with the cooling system has been detected." (Next line) Please, turn off com

  • 15 - 1085wm: System disabled code 63509852

    FOR SOME REASION MY LAPTOP SUDDENLY WANTS TO NOW THIS BIOS PASSWORD WHEN I TURN IT ON. I THINK THAT MY GRANDSON IS THE CULPRIT. I DON'T THINK THAT HE HAS EVEN REALLY NOWS HOW HE DID AND EVEN LESS THE PASSWORD. PLEASE HELP THANKS SYSTEM DISABLED THE 6

  • mouse and touch pad problem

    It seems that my mouse and touch pad have an auto-scroll function.  It just sucks.  How can I disable this auto scroll?

  • How to boot from an external device?

    Boot CD and USB keys start which started as planned on my old laptop HP DV71135nr are not DΘmarrer on my computer laptop month old HP 15-F039wm (Win8.1). I see that the BIOS is separated into legacy and UEFI sections, but none of the settings I have