help required SOAP XML

I'm fairly new to BB10 and began work on an application that needs to talk to my existing web service.

I went by the xml soap example given in bb application examples and have so far managed to create a login in qml page (to collect the user name and password) and to authenticate the connection against my web service.

Webservice response returns to mywebservice::0nservicerequest() and from there I don't know what to do.

I need to (A) bring the answer to my qml and based on the response, go to an another qml (homepage) if validation was successful - something like

If (myresponse is '1')

{

navPane.push (welcomepage)

}

or

(B) access to the qml in the webservice.cpp inside::0nservicerequest() mywebservice - I've seen and tried several examples but without success

Thanks in advance

I finally realized that I need to use QDeclarativePropertyMap

Thank you

Tags: BlackBerry Developers

Similar Questions

  • I am trying to open a file and make me notice that the required index.xml file is missing. Is it possible to access the file? I don't know why this happened.

    I am trying to open a file in Pages 09 and am getting notice has the required index.xml file is missing. Is it possible for me to access the file? I don't know why this happened.

    You open a file with Pages ' 09 Pages 5.x.

    You need to right-click on the file and open it with Pages 5.x (the one with the orange document icon).

    Peter

  • Help required to query the fields of the shuttle to Table?

    Hi Experts,

    My needs:

    1. According to the Ship Date query field, the item number should display in the console on the left.
    2. Select some amendments point shuttle from left to right shuttle and press the button.
    3. the article selected our and these details must display in the table.

    Design:

    1 created as query field (entry of Message text) shipping Date.
    2 Shuttle, Shuttle flight beginning and footer (second query button).
    3. the table that contains the article, Description, quantity, and manufacturing details no.

    Question:

    I created a shuttle, the creeping shuttle and the flight of footer, here I mentioned the VO attribute and discovers for the first query that takes place in shipping date and displays the item No.

    By default (without question) the extension numbers is the display in the shuttle leading.

    How to use the fields in the query of the shuttle. Its not that allows you to query the selected fields.

    Help required:

    I need to ship date, then the element of the request should appear in the console of leak, then I need to move some element not in the shuttle leading and click on the second button of the query.

    All required according to the shipping date and the amendments point values (Selected in the shuttle leading) must display in the table.

    Thank you
    Corinne Bertrand

    Pass this date and form a condition, and re-run the LEADVO

    Anne Marie

  • Help to SOAP and WSDL.

    I'll try to make this as simple as possible in the hope I get an answer. I have a particular web service I need to consume. Its file using can WSDL I have locally, how I make a direct call of SOAP using the real XML SOAP envelope? She hesitate trying to use cfinvoke with CFinvokearguments, gives me an error "method is not out. I tell myself that I can call the service somehow using CFHTTP and using the full soap envelope to call the web service. I am barking the wrong tree here?

    Look at the body of real SOAP inside the envelope, from its XML, that is, there are a number of children inside tags

    < soapenv:Body >
    < the_request >
    < security_header >
    < some_element > any < / some_element >
    < another_element > whatever2 < / another_element >
    < / security_header >
    < config_header >
    < some_configelement > any < / some_configelement >
    < another_configelement > whatever2 < / another_configelement >
    < / config_header >
    < data >
    < some_dataelement > any < / some_dataelement >
    < another_dataelement > whatever2 < / another_dataelement >
    < / data >
    < / the_request >
    < / soapenv:body >

    That's it, no magic, no soap headers, nothing. All of its content in the body. Side note: how CFinvoke arguments keep track of children what they experience in the call? Any help would be appreciated...

    Thank you! The f

    Well, I can think of a couple things to help the people here.

    1. check that your WSDL (if hosted on your server) can properly communicate with the web service.

    2. If cfinvoke does not work, you can always send all of the SOAP envelope to the WSDL using CFHTTP file.

    3. some WSDL is funny. Some are straight forward. Make sure you have not need of any weird SOAP header. Some WSDL requires you to pass all arguments, even as an option for this, you must use CFMX7 + and omit it = "yes" setting cfinvokeargument.

    It turned out to be a great giant puzzle that you need to assemble the pieces, and sometimes it takes a lot of experimenting to get the right.

    The f

  • Help required to choose the designer of Livesycle or any other

    Hi

    I am working on a project of web based Government developed using J2EE. Forums are pretty useful. I need help from your team choosing products adobe for our requirement.

    We have a requirement in which we want to give a form offline to users of the client. (Unlimited)

    Then, we wanted to give the provision the user to download the form in the customer Web site.

    Finally retrieve us the data from the form and store them in DB.

    For the prescription above I thought to use Adobe LiveCycle designer. Once the form is designed and sent to end-users,

    1. how the user can save the form.

    2. it can save the form to PDF / XML or in any other format that it can download from the site.

    3 is there a provision to get the fields in pdf form by calling request.getParameter () in HTML forms is how to read form in JAVA is to say like.

    (Including images)

    Once I get the fields of the form in Java, I can store in DB.

    Please help in this regard and to offer the right product for our needs.

    Once this is done, then assess us and plan to purchase

    Thank you

    RAM

    Designer would create a PDF file that the user could load in their Reader or Acrobat. The PDF would be either the data input by the user (XML) or PDF to your web server for the treatment of post like an HTML form). The ability to present outside of the browser and the ability to allow users to partially drop the form and save work in progress and users use drive then you would require LiveCycle Reader Extensions enable the features of the player. Once you decide what you send, then you would enter the presentation into your program Java the same way you would for a HTML presentation.

    I suggest you contact your Adobe representative to discuss more in detail.

    Paul

  • Helps the Parseing XML

    Version: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - Production

    Hello

    I need assistance with an XML file to generate lines to insert into a table staged for further processing.

    There is an XML document that is loaded into a table in the database via a Web Service call.

    I need to query this table to get the XML code, loop through it to create folders, with the fields in a specific order and insert records into a table of staging.

    There are two columns that are not in the XML that are added during the process. I am including these tables as well.

    I know it is a bunch of "stuff", but I hope I've provided enough information to get help.

    The tables and insert queries:

    -This table contains the XML of the Web Service call

    CREATE TABLE exam_results
    (
    CLOB results_clob
    );

    INSERT INTO exam_results (results_clob)
    VALUES
    ("< result > < candidate > < ProgramCandidateID > 911221 < / ProgramCandidateID > < LastName > V361208 < / LastName > < FirstName > J361208 < / FirstName > < / candidate > < event > < ended > 1 < / filled > < CompleteDate > 2011 - 08 - 05T 10: 23:42.957 < / CompleteDate > < FormName > SSU11-05 < / FormName > < NumStarts > 2 < / NumStarts > < ProgramRegistrationID > SU0006510JV < / ProgramRegistrationID > < result > 564865 identifier < / result identifier >") < Sponsor > MySponsor < / sponsor > < StartTime > 2011 - 08 - 05T 08: 22:47.877 < / StartTime > < TestName > SSU11 < / TestName > < / Event > < start > < Start > < BrowserVersion > 8.0 < / BrowserVersion > < OperatingSystem > Windows NT 4.0 < / OperatingSystem > < / Start > < / begins > < Scores > < issues > < > < name > 105103 < / name > < SeqDelivered > 1 < / SeqDelivered > < response > 1 < / response > < key > 4 < / key > < seconds > 169.126 < / seconds > < Section > 1 < / Section > < / Question > < Question > < name > 261292 < / name > < SeqDelivered > 2 < / SeqDelivered > < answer > 3 < / response > < key > 3 < / key > < seconds > 97.984 < / seconds > < Section > 1 < / Section > < / Question > < Question > < name > 261241 < / name > < SeqDelivered > 3 < / SeqDelivered > < response > 3 < / response > < key > 3 < / key > < seconds > 87.579 < / seconds > < Section > 1 < / Section > < / Question > < Question > < name > 261451 < / name > < SeqDelivered > 4 < / SeqDelivered > < answer > 3 < / response > < key > 3 < / key > < seconds > 59.983 < / seconds (> < Section > 1 < / section > < / Question > < Question > < name > 264373 < / name > < SeqDelivered > 5 < / SeqDelivered > < response > 5 < / response > < key > 1 < / key > < seconds > 86.346 < / seconds > < Section > 1 < / Section > < / Question > < / Questions > < / Scores > < / result > ');

    -This table is to get 1 of the additional columns that must be included

    CREATE TABLE tracking_id_tbl
    (
    tracking_id NUMBER,
    customer_id NUMBER,
    launch_code VARCHAR2 (11)
    );

    INSERT INTO tracking_id_tbl (tracking_id, customer_id, launch_code)

    VALUES (557,2296267, 'SU0006510JV');

    -This table is to get the other extra column which must be included

    CREATE TABLE school_code_tbl
    (
    customer_id NUMBER,
    nb_id NUMBER,
    organization_id VARCHAR2 (8)
    );

    INSERT INTO school_code_tbl (customer_id, nb_id, organization_id)

    VALUES (2296267,911221, '12');

    -This table will receive the file created from the XML

    CREATE TABLE staging_tbl
    (
    results_data VARCHAR2 (4000)
    );

    To facilitate the XML file to read (we hope) here is a formatted version:

    < result >

    < candidate >

    < ProgramCandidateID > 911221 < / ProgramCandidateID >

    < name > V361208 < / LastName >

    J361208 < FirstName > < / name >

    < / candidate >

    < event >

    < finish > 1 < / completed >

    < completeDate > 2011 - 08 - 05T 10: 23:42.957 < / CompleteDate >

    SSU11-05 < FormName > < / FormName >

    < NumStarts > 2 < / NumStarts >

    < ProgramRegistrationID > SU0006510JV < / ProgramRegistrationID >

    ID of < result > 564865 < / ID results >

    < sponsor > MySponsor < / sponsor >

    < StartTime > 2011 - 08 - 05T 08: 22:47.877 < / StartTime >

    SSU11 < TestName > < / TestName >

    < / event >

    < start >

    < start >

    < > 8.0 BrowserVersion < / BrowserVersion >

    < OperatingSystem > Windows NT 4.0 < / OperatingSystem >

    < / start >

    < / starts >

    < scores >

    < questions >

    < question >

    < name > 105103 < / name >

    < SeqDelivered > 1 < / SeqDelivered >

    < response > 1 < / answer >

    < Key > 4 < / key >

    < seconds > 169.126 < / seconds >

    article <>1 < / Section >

    < / question >

    < question >

    < name > 261292 < / name >

    < SeqDelivered > 2 < / SeqDelivered >

    < response > 3 < / answer >

    < Key > 3 < / key >

    < seconds > 97.984 < / seconds >

    article <>1 < / Section >

    < / question >

    < question >

    < name > 261241 < / name >

    < SeqDelivered > 3 < / SeqDelivered >

    < response > 3 < / answer >

    < Key > 3 < / key >

    < seconds > 87.579 < / seconds >

    article <>1 < / Section >

    < / question >

    < question >

    < name > 261451 < / name >

    < SeqDelivered > 4 < / SeqDelivered >

    < response > 3 < / answer >

    < Key > 3 < / key >

    < seconds > 59.983 < / seconds >

    article <>1 < / Section >

    < / question >

    < question >

    < name > 264373 < / name >

    < SeqDelivered > 5 < / SeqDelivered >

    < response > 5 < / answer >

    < Key > 1 < / key >

    < seconds > 86.346 < / seconds >

    article <>1 < / Section >

    < / question >

    < / questions >

    < / scores >

    < / result >

    This XML file is for 1 card. There are several issues that are in the file. I reduced to only 5 is easier to see.

    The layout of the document to be inserted in the staging table is:

    Event.TestName

    Event.FormName

    Event.CompleteDate

    v_tracking_id

    Event.ProgramRegistrationID

    Event.StartTime

    Event.CompleteDate / * end * /.

    Candidate.LastName

    Candidate.FirstName

    Candidate.MiddleName (the middle name does not exist in the file XML then return null)

    Candidate.ProgramCandidateID

    v_school_code

    Candidate.CustomProperties.Answer (this does not exist in the file XML then return null)

    Event.ResultID

    Event.NumStarts

    Event.Completed

    Event.Sponsor

    Scores.Questions.Question.Name

    Scores.Questions.Question.Section

    Scores.Questions.Question.SeqDelivered

    Scores.Questions.Question.Key

    Scores.Questions.Question.Answer

    Scores.Questions.Question.Seconds

    Starts.OperatingSystem

    Starts.BrowserVersion

    The expected output is:

    INSERT INTO staging_tbl (results_data)
    VALUES ('SSU11,SSU11-05,08/05/2011,557,SU0006510JV,08:22:47,10:23:42,V361208,J361208,,911221,12,,564865,2,1,MySponsor,105103,1,1,4,1,169.126,Windows NT 4.0,8.0");

    INSERT INTO staging_tbl (results_data)
    VALUES ('SSU11,SSU11-05,08/05/2011,557,SU0006510JV,08:22:47,10:23:42,V361208,J361208,,911221,12,,564865,2,1,MySponsor,261292,1,2,3,3,97.984,Windows NT 4.0,8.0");

    INSERT INTO staging_tbl (results_data)
    VALUES ('SSU11,SSU11-05,08/05/2011,557,SU0006510JV,08:22:47,10:23:42,V361208,J361208,,911221,12,,564865,2,1,MySponsor,261241,1,3,3,3,87.579,Windows NT 4.0,8.0");

    INSERT INTO staging_tbl (results_data)
    VALUES ('SSU11,SSU11-05,08/05/2011,557,SU0006510JV,08:22:47,10:23:42,V361208,J361208,,911221,12,,564865,2,1,MySponsor,261451,1,4,3,3,59.983,Windows NT 4.0,8.0");

    INSERT INTO staging_tbl (results_data)
    VALUES ('SSU11,SSU11-05,08/05/2011,557,SU0006510JV,08:22:47,10:23:42,V361208,J361208,,911221,12,,564865,2,1,MySponsor,264373,1,5,1,5,86.346,Windows NT 4.0,8.0");

    The Questions/Question, is what makes a separate line if the values for the other fields would be the same for however many questions is in the XML file.

    That's what I've tried so far:

    DECLARE                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             CURSOR get_results_cur
    IS
    SELECT results_clob
    Of exam_results;

    get_results_rec XMLTYPE.
    get_results_clob CLOB.
    NUMBER (38) v_count: = 1;


    v_result VARCHAR2 (32000);
    v_tracking_id tracking_id.tracking_id_tbl%TYPE;
    v_school_code organization_id.school_code_tbl%TYPE;

    BEGIN
    OPEN get_results_cur.
    SEEK get_results_cur INTO get_results_clob;
    CLOSE Get_results_cur;

    get_results_rec: = xmltype.createxml (get_results_clob);

    SELECT tracking_id
    school_code
    IN v_tracking_id
    v_school_code
    OF ti tracking_id_tbl
    JOIN school_code_tbl ON ti.customer_id = sc.customer_id sc
    WHERE ti.launch_code = get_results_rec. EXTRACT ('/ Result/Event/ProgramRegistrationID/text()').getstringval () AND)
    nb_id = get_results_rec. EXTRACT ('/ Result/Candidate/ProgramCandidateID/text()').getstringval ();)

    While get_results_rec. EXISTSNODE ('/ / result [' | v_count |]) ']') = 1
    LOOP
    v_result: =.
    (get_results_rec. EXTRACT ('/ results/event/TestName [' | v_count | / text () ']) .getstringval ())
    || ','
    || (get_results_rec. EXTRACT ('/ results/event/FormName [' | v_count | / text () ']) .getstringval ())
    || ','
    || ((get_results_rec. EXTRAIT ('/ résultats/événement/CompleteDate [' || v_count || / text () SUBSTR']) .getstringval ()), 1, 10)
    || ','
    || v_tracking_id
    || ','
    || (get_results_rec. EXTRACT ('/ results/event/ProgramRegistrationID [' | v_count | / text () ']) .getstringval ())
    || ','
    || ((get_results_rec. EXTRAIT ('/ résultats/événement/StartTime [' || v_count || / text () SUBSTR']) .getstringval ()), 12.8)
    || ','
    || ((get_results_rec. EXTRAIT ('/ résultats/événement/CompleteDate [' || v_count || / text () SUBSTR']) .getstringval ()), 12.8)
    || ','
    || (get_results_rec. EXTRACT ('/ result/candidate/name [' | v_count | / text () ']) .getstringval ())
    || ','
    || (get_results_rec. EXTRACT ('/ result/candidate/name [' | v_count | / text () ']) .getstringval ())
    || ',,'
    || -(get_results_rec. Extract('/result/candidate/MiddleName [' || v_count ||) '] / text () ') .getStringVal ()); ',' ||
    (get_results_rec. EXTRACT ('/ result/candidate/ProgramCandidateID [' | v_count | / text () ']) .getstringval ())
    || ','
    || v_school_code
    || ','
    || (get_results_rec. EXTRACT ('/ results/event/result identifier [' | v_count | / text () ']) .getstringval ())
    || ','
    || (get_results_rec. EXTRACT ('/ results/event/NumStarts [' | v_count | / text () ']) .getstringval ())
    || ','
    || (get_results_rec. EXTRACT ('/ results/event/completed [' | v_count | / text () ']) .getstringval ())
    || ','
    || (get_results_rec. EXTRACT ('/ results/event/sponsor [' | v_count | / text () ']) .getstringval ());
    || ','

    -Add the results of the first question

    || ','
    || (get_results_rec. EXTRACT ('/ result, departures, Start, OperatingSystem [' | v_count | / text () ']) .getstringval ())
    || ','
    || (get_results_rec. EXTRACT ('/ result, departures, Start, BrowserVersion [' | v_count | / text () ']) .getstringval ());

    v_count: = v_count + 1;

    INSERT INTO staging_tbl (results_data)
    VALUES (v_result);

    END LOOP;
    END;

    What can clear?

    Thank you

    Joe

    You have several questions in the XML, so when flattened document you will have several lines trying to extract in v_result.  Where the error.  You will need to either loop

    for rec in (select... from XMLTable...)

    loop

    insert into staging_tbl...

    end loop;

    or make an insert select

    insert into staging_tbl (results_data)

    Select...

    from XMLTable...

  • Help required in $flex$

    Hi guru

    I have a requirement me please advice on the underside of concept

    I have four settings

    In case the 1st and the 2nd parameter is null

    and 3rd setting is 1 (Note: here the game which has the value of parameter 1 3 value which is an independent body)

    then only

    4th parameter must be enabled (here the Posting Type is Table)

    I put the condition of parameter as

    WHERE condition

    : $FLEX$. TEST_PARAMETER1 IS NULL

    AND: $FLEX$. TEST_PARAMETER2 is null

    AND: $FLEX$. TEST_PARAMETER3 = '1'

    Same question

    When the condition is met again the 4th parameter is not activated yet his clothes outside please help

    Thank you

    AT

    AND: $FLEX$. TEST_PARAMETER2: NULL is null

    remove the space before: NULL

    use

    AND: $FLEX$. TEST_PARAMETER2:NULL is null

  • Help required with MuseJSassert error: TypeError: $ is not a function.

    Hello

    I'm not good at code so hopeful that someone can help me solve the error above, which I get during the incorporation of a form of mailchimp in a publication:

    Thank you very much

    Chris

    Here is the embed code Mailchimp:

    <! - Begin MailChimp registration form - >

    "< link href="//cdn-images.mailchimp.com/embedcode/classic-081711.css "rel ="stylesheet"type =" text/css">

    < style type = "text/css" >

    #mc_embed_signup {background: #fff; clear: left; font: 14px Helvetica, Arial, without serif ;}}

    / * Add your own form of MailChimp / style in your style of site or block style sheet.

    We recommend that you move this block and the previous link to CSS in the HEAD of your HTML file. */

    < / style >

    < div id = "mc_embed_signup" >

    < form action="//chrisbrookes.us12.list-manage.com/subscribe/post?u=5bf6272fd78e909d347eca348 & am p; ID = bfa2c40bb4"method ="post"id = 'mc-embedded-subscribe-form' name ="mc-embarque-abonner-form"class ="validate"target ="_blank"novalidate >

    < div id = "mc_embed_signup_scroll" >

    < h2 > subscribe to our mailing list < / h2 >

    < div class = "indicates required" > < span class = "asterisk" > * </span > indicates required < / div >

    < div class = "mc-field-group" >

    < label for 'mce-FNAME' = > name < / label >

    "< input type ="text"value =" "name ="PNOM"class =" "id ="mce-FNAME">

    < / div >

    < div class = "mc-field-group" >

    < label for "mce-EMAIL" = > E-mail address < span class = "asterisk" > * </span >

    < / label >

    < input type = "email" value = "" name = "EMAIL" class = "required mail" id = "mce-EMAIL" > "

    < / div >

    < div id = "mce-answers" class = 'clear' >

    < div class = 'response' id = "mce-error-response" style = "display: no" > < / div >

    < div class = 'response' id = "mce-success-answer" style = "display: no" > < / div >

    < / div > <!-real people shouldn't this learn and expect good things - do not delete this nor of danger form bot registration->

    < div style = "position: absolute;" left:-5000px; "aria-hidden ="true"> < input type ="text"name ="b_5bf6272fd78e909d347eca348_bfa2c40bb4"tabindex = value"-1 "=" "> < / div >". "

    < div class = "clear" > < input type = "submit" value = "subscribe" name = 'subscribe' id = "mc-embedded-subscribe" class = "button" > < / div >

    < / div >

    < / make >

    < / div >

    < script type = "text/javascript" src='//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js' > < / script > < script type = "text/javascript" > (function ($) {window.fnames = new Array(); window.ftypes = new Array (); the name [1] = 'FNAME'; ftypes [1] = 'text'; name [0] = 'E-MAIL address'; ftypes [0] = 'e-mail address' ;}}) (jQuery)) ; var $mcj = jQuery.noConflict (true); < /script >

    <! - end mc_embed_signup - >

    Thanks for your reply. I already inserted the html code in a composition Viewer. The error will appear when you check your page in a browser. I'm assuming that there must be a javascript conflict such that the code works correctly if it is just placed on a page.

  • Help: REQUIRED system upgrade?


    Muse does not open, he opened half an hour ago, I am in the middle of a job and a time LIMIT. My system stops in 10.7.5 including the upgrade does not support!  I can not just straight upgrade my computer. Help!

    Screen Shot 2015-10-12 at 4.08.16 PM.png

    Hi Anita,.

    Please check the suggestions of Zak in the following thread

    This Adobe Muse site file requires a newer version of Adobe Muse. Please update... I have

    Kind regards

    Akshay

  • Help required changing a script to include a filter

    Hello

    I am new to scripting and would like to help if possible.

    I would like to add a filter for the following script to only return results for VMS that were restarted in the last 24 hours, currently the script takes back all VM in my data center.  The script also requires a filter to exclude a call from cluster "Test Cluster"

    The script is as follows.

    $LastBootProp = @ {}
    Name = "LastBootTime".
    Expression = {}
    (Get-Date) - (New-TimeSpan-seconds $_.) Summary.QuickStats.UptimeSeconds)
    }
    }
    Get - VM | Get-View | Select Name, $LastBootProp

    Any help or advice would be greatly appreciated.

    Thank you.

    Hello, Jon2597-

    You can use the Where-Object cmdlet to filter the items that are returned.  To filter on the items that you said (VMs when LastBootTime is less than 24 hours and exclude computers virtual cluster 'Cluster of Test'), try something like:

    ## hash table to be used in calculated property$LastBootProp = @{    Name = 'LastBootTime'    Expression = {(Get-Date) - (New-TimeSpan -Seconds $_.Summary.QuickStats.UptimeSeconds)}}
    
    ## number of hours to which to compare gap since last boot$intHoursToGoBack = 24## get VM .Net View objects where time since last boot is less than 24 hoursGet-Cluster | Where-Object {$_.Name -ne "Test Cluster"} | Get-VM | Get-View -Property Name, Summary.QuickStats.UptimeSeconds | select Name, $LastBootProp | Where-Object {$_.LastBootTime -and ((New-Timespan -End (Get-Date) -Start (Get-Date $_.LastBootTime)).TotalHours -lt $intHoursToGoBack)}
    

    The latter gets where the cluster name is not equal to 'Cluster of Test', gets their VMs, gets a .net object from view of the VMs (with a few select properties) and displays those where the last boot is in the last 24 hours.  Get a little convoluted right vs virtual machines that uptime is less than 24 hours, but should give the same results.  The result would be something like:

    Name     LastBootTime----     ------------myVM01   6/12/2012 8:21:42 AMmyVM03   6/12/2012 6:50:37 AM...
    

    Worked ok for you?

  • help required on table transpose

    DATA IN THE TABLE:

    ST IC OC         

    I have 18 2

    20 4 K

    10 1 L

    where ST, IC and OC are names of columns and I want data from the table format below. Please help,

    I K L         

    IC 18 20 10

    OC       2    4      1

    Hello

    Visit these pages to learn how to rotate the data:

    http://forums.Oracle.com/forums/thread.jspa?MessageID=4347279�

    http://forums.Oracle.com/forums/thread.jspa?MessageID=3662005

    If you don't know not set an upper limit for the number of columns in the result, swing requires dynamic SQL and I recommend you rather use String aggregation , where the output is a column of the great string, format to watch as separate columns.

    If you get stuck, post your best attempt, as well as some examples of data (CREATE TABLE and only relevant columns, INSERT statements) and the desired results from these data.

    Always say what version of Oracle you are using (for example, 11.2.0.2.0).

    See the forum FAQ https://forums.oracle.com/message/9362002#9362002

  • HELP required on forming the matrix of data using PL/SQL

    Hi all

    I'm new on this thread and need your help in this regard.

    I have a requirement for the construction of a matrix of 5000 X 5000 using PL/SQL. My original data tables have 5000 lines each and I need to make a correlation analysis using these data and need to store in a physical table, and not in memory. This feat feasible the simple use of PL/SQL? I understand that Oracle DB has a limit of 1000 columns (but not sure) and so I would like to know if there is a workaround for this kind of scenario. If not, what are the other alternative methods to achieve this feat? Do I need to use any 3rd party tools to do this? A quick response from experts is highly appreciated.

    Thanking you in advance all the gurus.

    Rgds

    SAI

    1006089 wrote:

    I have a requirement for the construction of a matrix of 5000 X 5000 using PL/SQL.

    Possible. But this will require a large part of the memory. As PL/SQL is a language server side, this means the server's memory. That means server potential resource problems.

    And that the server environment is a multiprocessu multi-user environment, it also means potentially several copies of this code of matrix running multiple processes, each putting a request very heavy on the resources of the server. Is no longer a matter of potential server resources, but a guarantee... (exactly the same problem if you use app server architecture and Java or .net)

    You have to ask what is the cracking of data, server-side language? The answer is SQL. No PL/SQL. SQL runs rings around PL/SQL, Java, C/C++ and other languages when it comes to complex, fast and scalable, processing of large volumes of data.

    So you ask yourself why use PL/SQL? With his expensive server memory footprint? SQL and not SQL tables that are designed to deal with massive data effectively and efficiently?

  • Need help in generating XML data to a table in XML format

    Hi all

    I need help to generate an xml file using the data below.

    The table name is T_Data have 4 columns as shown below with data.

    Neighbourhood region Division
    ---------- ----------------------- ----------- -----------
    Northwest Northern California San Jose SJStore1
    Northwest Northern California San Jose SJStore2
    Northwest North of California to the North of THE LAStore1
    Northwest North of California to the North of THE LAStore2
    Northwest North of California to the North of THE LAStore3

    I want to generate an XML file using SQL/XML functions and the XML file should look like as below.

    <>region
    < name of region > Northwest < / name of the region >
    < Division >
    Northern California < division name > < / Division name >
    District of <>
    SanJose < district name > < / District name >
    <>store
    < store name > SJStore1 < / name >
    < store name > SJStore2 < / name >
    < / store >
    < / district >
    < / division >
    < / region >

    Very much appreciate your help here.

    Thank you.

    I tried to group the lines, but they did not then provide a correct output.

    To unflatten dataset, we can use nested GROUP-BY subqueries.

    The following will produce a line by region.
    If all regions must be grouped in a single root element (does not so appear according to the directives of the sample), we just add an another XMLAgg.

    SQL> with sample_data as
      2  (
      3    select 'Northwest' reg, 'Northern California' div, 'San Jose' district, 'SJStore1' st from dual union all
      4    select 'Northwest' reg, 'Northern California' div, 'San Jose' district, 'SJStore2' st from dual union all
      5    select 'Northwest' reg, 'Northern California' div, 'North LA' district, 'LAStore1' st from dual union all
      6    select 'Northwest' reg, 'Northern California' div, 'North LA' district, 'LAStore2' st from dual union all
      7    select 'Northwest' reg, 'Northern California' div, 'North LA' district, 'LAStore3' st from dual
      8  )
      9  select reg
     10       , xmlserialize(document
     11           xmlelement("Region"
     12           , xmlelement("RegionName", reg)
     13           , xmlagg( division_xml )
     14           )
     15           indent -- for display purpose
     16         ) as region_xml
     17  from (
     18      select reg
     19           , xmlelement("Division"
     20             , xmlelement("DivisionName", div)
     21             , xmlagg( district_xml )
     22             ) as division_xml
     23      from (
     24          select reg
     25               , div
     26               , xmlelement("District"
     27                 , xmlelement("DistrictName", district)
     28                 , xmlelement("Store"
     29                   , xmlagg(
     30                       xmlelement("StoreName", st)
     31                     )
     32                   )
     33                 ) as district_xml
     34          from sample_data
     35          group by reg
     36                 , div
     37                 , district
     38      )
     39      group by reg, div
     40  )
     41  group by reg ;
    
    REG       REGION_XML
    --------- --------------------------------------------------------------------------------
    Northwest 
                Northwest
                
                  Northern California
                  
                    North LA
                    
                      LAStore1
                      LAStore3
                      LAStore2
                    
                  
                  
                    San Jose
                    
                      SJStore1
                      SJStore2
                    
                  
                
              
     
    
  • Oracle E-Business Suite 11.5.10 at 11.5.10.2 upgrade - DBA HELP REQUIRED

    I hope someone can help me... I spent the days so far but the same questions!

    I'm setting up a VISION E-Business Suite 11i instance to use for training of users.

    I managed to install and get running 11.5.10 on SUSE 9 and have no problem running this.

    However, I am trying to update this to 11.5.10.2 by applying the Cumulative Update (CU2) fix (u3460000.drv).

    I have followed all the previous steps in Metalink (316366.1) note and applied the fixes 4318672, 4229931 and 4297568 according to the instructions.

    All the results of Autoconfig in this context returned a status [PAST] and I was then able to proceed.

    I then used AutoPatch apply u3460000.drv, but at a certain point, the script displays:

    Failed: File LoadMap.class worker 1 product ecx ECX username.
    Failed: File worker LoadMap.class 2 product as username ECX ecx

    ATTENTION: All workers have failed or are pending:

    Failed: File LoadMap.class worker 1.
    Failed: File LoadMap.class worker 2.

    I checked the logs, the adwork001.log, the adwork002.lo worker and can see that they are evidence of an error:

    Message: No ECX_VERSION is stored in the database.
    SQLState: null
    Error code: 0

    I copied the last lines of the log file adwork and also adpatch file of newspaper at the bottom of this thread.

    I tried to use adctrl to restart failed workers and also the hidden option 8 to ignore this process and these two steps failed.

    I don't see anything about this error on Metalink or Oracle Forums.

    The ADWORK001 log output

    Copyright (c) 2002 Oracle Corporation
    Redwood Shores, California, USA

    Java AD

    Version 11.5.0

    NOTE: You can use this utility to custom development
    unless you have written permission of Oracle Corporation.
    Time what worker has accomplished the task: Monday, April 16, 2012 12:01:25

    Assessment of the symbolic arguments

    Is the evaluation of the symbolic arguments.
    Time when the worker started employment: Monday, April 16, 2012 12:01:25
    Start of file time is: Monday, April 16, 2012 12:01:25

    adjava-ms128m-mx256m - nojit oracle.apps.ecx.loader.LoadMap & un_apps & pw_apps & jdbc_db_addr & fullpath_igf_patch/115/xml/US_IGF_GR_PELL_OUT.xgm

    Product file information...

    Reading the information from the file language and territory

    Reading of the language of applUS.txt information
    Temporarily reset CLASSPATH for:
    /d01/oracle/visappl/ad/11.5.0/java/adjri.zip:/d01/oracle/viscomn/util/java/1.4/j2sdk1.4.2_04/lib/tools.jar:/d01/oracle/viscomn/util/java/1.4/j2sdk1.4.2_04/lib/dt.jar:/d01/oracle/viscomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/charsets.jar:/d01/oracle/viscomn/util/java/1.4/j2sdk1.4.2_04/jre/lib/rt.jar:/d01/oracle/viscomn/java/appsborg2.zip:/d01/oracle/visora/8.0.6/forms60/java:/d01/oracle/viscomn/java

    Call for d01/oracle/viscomn/util/java/1.4/j2sdk1.4.2_04/bin/java...
    Process generated 8976
    String (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=EBIZ11I.johndomain) (PORT = 1521)) (CONNECT_DATA =(SERVICE_NAME=VIS))) of database connection
    Name of user APPS
    Connection...
    connected.
    Stmt SQL: select text of WF_RESOURCES, whose name =? and type =? and the language = userenv ('LANG')
    No ECX_VERSION stored in the database.
    Could not get ECX_VERSION to database

    SQLException taken

    Message: No ECX_VERSION is stored in the database.
    SQLState: null
    Error code: 0

    Cound card will not be charged, SQLException occurred.
    Exception in thread "main" java.sql.SQLException: No. ECX_VERSION stored in the database.
    at oracle.apps.ecx.loader.CoreDbServices.getEcxVersionFromDb(CoreDbServices.java:491)
    at oracle.apps.ecx.loader.Events.initEvents(Events.java:76)
    at oracle.apps.ecx.loader.LoadMap.main (LoadMap.java:85)

    Java AD Run command is completed.

    Output ADPATCH

    There are now 3645 jobs remaining (current phase = A80):
    1 running 87 ready to run and wait 3557.

    Assigned: file worker LoadMap.class as username ECX ecx 2 product.

    Time is: Monday, April 16, 2012 12:57:44

    Failed: File worker LoadMap.class as username ECX ecx 2 product.

    Time is: Monday, April 16, 2012 12:57:46

    Failed: File LoadMap.class worker 1 product ecx ECX username.

    Time is: Monday, April 16, 2012 12:57:46
    ATTENTION: All workers have failed or are pending:

    Failed: File LoadMap.class worker 1.
    Failed: File LoadMap.class worker 2.

    ATTENTION: Fix the worker failed above the Manager to continue.

    The time now is: Monday, April 16, 2012 12:57:46

    It would be amazing if someone could help me with this problem!

    Thanks in advance...

    Please see these documents.

    Failed: File LoadMap.class with "No. ECX_VERSION stored in the database" [314170.1 ID]
    Adpatch fails when loading a map: no ECX_VERSION stored in the database [412445.1 ID]
    ADPATCH fails: task error LoadMap.class: "No ECX_VERSION stored in the database" [293861.1 ID]
    Loading Itgtrade.Ldt fail [317031.1 ID]

    Thank you
    Hussein

  • Help required in SQL query

    I have a table and passes as below:

    START DATE TOTAL NUMBER OF DAYS
    11/10/2011 15:00 1
    15/10/2011-05:00 1
    2011-12-22 10:00 1
    22/12/2011 11:00 2
    30/12/2011-10:00 1
    01/01/2012 01:00 1
    01/01/2012 10:00 1
    01/01/2012 16:00 2
    02/01/2012 14:00 1
    03/01/2012-15:00 1
    04/01/2012-15:00 2
    04/01/2012 18:00 1



    I need to ask where the values in the table above
    must return values as below:

    I tried many ways, but not able to find the solution.

    Kindly help me in this regard.


    START DATE TOTAL NUMBER OF DAYS
    11/10/2011 15:00 1
    15/10/2011-05:00 1
    22/12/2011 11:00 2
    30/12/2011-10:00 1
    01/01/2012 16:00 2
    02/01/2012 14:00 1
    03/01/2012-15:00 1
    04/01/2012-15:00 2


    the ultimate goal is to summarize the TOTAL number of DAYS column all the numbers in the second table... All jobs must be treated in the same query. I can't use the coding of java to process what my requirement should be included in the query that already exists.

    Published by: 915175 on February 16, 2012 23:02
    select trunc(start_date), max(start_date), max(total_days) from tablename
    group by trunc(start_date);
    

    Please check below is on my local site with you Test data:

    SQL>
    SQL> with tablename as
      2  (
      3  select to_date('10/11/2011 15:00' , 'mm/dd/yyyy hh24:mi') start_date,  1 total_days from dual union all
      4  select to_date('10/15/2011 5:00' , 'mm/dd/yyyy hh24:mi') start_date,  1 total_days from dual union all
      5  select to_date('12/22/2011 10:00' , 'mm/dd/yyyy hh24:mi') start_date,  1 total_days from dual union all
      6  select to_date('12/22/2011 11:00' , 'mm/dd/yyyy hh24:mi') start_date,  2 total_days from dual union all
      7  select to_date('12/30/2011 10:00' , 'mm/dd/yyyy hh24:mi') start_date,  1 total_days from dual union all
      8  select to_date('1/1/2012 1:00' , 'mm/dd/yyyy hh24:mi') start_date,  1 total_days from dual union all
      9  select to_date('1/1/2012 10:00' , 'mm/dd/yyyy hh24:mi') start_date,  1 total_days from dual union all
     10  select to_date('1/1/2012 16:00' , 'mm/dd/yyyy hh24:mi') start_date,  2 total_days from dual union all
     11  select to_date('1/2/2012 14:00' , 'mm/dd/yyyy hh24:mi') start_date,  1 total_days from dual union all
     12  select to_date('1/3/2012 15:00' , 'mm/dd/yyyy hh24:mi') start_date,  1 total_days from dual union all
     13  select to_date('1/4/2012 15:00' , 'mm/dd/yyyy hh24:mi') start_date,  2 total_days from dual union all
     14  select to_date('1/4/2012 18:00' , 'mm/dd/yyyy hh24:mi') start_date,  1 total_days from dual
     15  )
     16  select  TO_CHAR(max(start_date),'MM/DD/YYYY HH24:MI') start_date , max(total_days) total_days from tablename
     17  group by trunc(start_date);
    
    START_DATE       TOTAL_DAYS
    ---------------- ----------
    10/15/2011 05:00          1
    01/03/2012 15:00          1
    12/30/2011 10:00          1
    01/01/2012 16:00          2
    10/11/2011 15:00          1
    12/22/2011 11:00          2
    01/04/2012 18:00          2
    01/02/2012 14:00          1
    
    8 rows selected.
    
    SQL>
    

    Kind regards
    Lifexisxnotxsoxbeautiful...

    Update: added test done to my database...

    Edited by: lifexisxnotxsoxbeautiful Vithalani, on February 16, 2012 23:18

Maybe you are looking for