How to invoke a WebService with more than 1 value in parameter?

I have a webservice, with a request parameter as an Array of String.
In an invoing xml it should looks like:
<GetPersonsData_Request>
<request>
<PersonIdList>
<string> 111 </string>
<string> 222 </string>
<string> 333 </string>
</PersonIdList>
A problem i have:
How I can to assign a differents values to this list?
i assigned first element directly and then tried to add a new one with append:
<bpelx:append>
<bpelx:from>'12345'</bpelx:from>
<bpelx:to>$GetPersonsData_Request.parameters/ns2:request/ns5:PersonIdList</bpelx:to>
</bpelx:append>
I receive:
<GetPersonsData_Request>
<request>
<PersonIdList>
<string> 111 </string>
'12345'
</PersonIdList>
</request>
Its added as a single string, no as a Structure Element.
What i missed???

ok, i tried.
add a new string type variable:
<variable name="string" element="ns6:string"/>
next assigned to $string my text and tried to append it to list:
<bpelx:append>
<bpelx:from>$string</bpelx:from>
<bpelx:to>$GetPersonsData_Request.parameters/ns2:request/ns5:PersonIdList</bpelx:to>
</bpelx:append>
and as a result i receive a correct structure:
<GetPersonsData_Request>
<request>
<PersonIdList>
<string> 111 </string>
<string> 12345 </string>
</PersonIdList>
</request>
BUT!!! When i next use a countNode:
<assign name="ac">
<copy>
<from>ora:countNodes('GetPersonsData_Request','parameters','ns2:request/ns5:PersonIdList/ns8:string') - it shows me 1 !!!
<to>$counter</to>
</copy>
In EM:
Updated variable "counter"
<payload>
<counter>
<counter xsi:type="def:int">1</counter>
</counter>
Why???
Is it really correct example and it should to work?

Similar Messages

  • I have iPod shuffle 2nd gen. 1GB, how can I autofill it with more than 70 songs?

    I have iPod shuffle 2nd gen. 1GB, how can I autofill it with more than 70 songs, when I used to be able to get more than l20+ songs?

    Is your shuffle full after the Autofill?  Does the playlist you selected as the source have more than 70 songs?
    My 2nd gen 1GB shuffle currently has 140 songs on it, almost 100% full using Autofill.  The number of songs depends on two factors.  One is the average length of the songs.  Longer songs take more space.  A 20-minute symphony takes more space than a 4-minute pop song.  The other key factor is the bit rate used for compression.
    All of my songs are compressed using the AAC encoder at 256 kbps, which is Apple's current standard and the setting used for downloads from the iTunes Store.  The same songs compressed at 128 kbps AAC takes up half the space.  320 kbps MP3 would use more space per song.  If a lossless format, such as Apple Lossless or AIFF is used to encode, the sound quality is the best possibe, but the file size per song is MUCH higher.
    If you think there is problem on the shuffle, you can try doing a Restore in iTunes.  The Restore button is on the shuffle's Settings tab.  This will erase the shuffle, re-install its software, and set it to default settings. If there is data corruption on the shuffle's storage that is causing this problem, a Restore should fix it.

  • How to create a theme with more than one master-slide size defined?

    I would like to create a Keynote theme that has more than one size of page defined - for example one for on-screen show, and one for printing.
    I noticed that the stock themes, and those from theme vendors, come with multiple page dimensions, and that the master slide layouts for the 'same' master slide appear to be designed differently for the different sizes.
    How do I create themes like this in Keynote? I cannot find any information about this in the Keynote manual. I have worked out how to change the master slide dimensions, but not how to tell Keynote that the layout I've created for a slide is for a particular set of dimensions. So when I look at my theme in the theme browser, I only see the dimensions I had selected last time I saved my theme showing.
    Any help most appreciated.

    The same reason that Apple and 3rd Party vendors put multi-size templates in one file I expect. I am trying to construct an in-house standard template for use in our company, and it is easier to manage if there is only one file to send to people rather than many - both initially and for subsequent edits / updates to the template.
    Of course it would be possible to create several templates (one for each size). But since it is clear that templates can be combined, it appears sensible to do this - unless the doing of it is horridly complicated

  • How to generate a report with more than one elements in the same graph??

    I need to generate a custom report in OEM GC 10g featuring volume total capacity information and volume free capacity information both in the same graph on (Y-axis) and time on the (X-axis). I could generate only the total volume capacity graph individually, but how can the combined graph and the graph for free capacity be generated...

    Is it your values in parameter NO separated by coma? And is it
    parameter in where clause?
    Do you want something like :
    from table
    where s_no in (NO) ?
    If is answer "yes" you can create lexical parameter in report.
    You can write in report sowething like:
    select a.field1, a.field2,.....
    from table a
    &COND /* this is if is condition only one line after "from".
    if you have more lien after where then you will put this &COND
    in line where you want to have your multivalue.
    Then in your trigger in form you should write:
    sc_no := 'where a.sc_no in ('||:searchlist.c_no||')';
    ADD_PARAMETER(PL_ID, 'pamametername', TEXT_PARAMETER, sc_no);
    /* again this is if you have only one line with WHERE ili
    conditions */
    or you will write:
    sc_no := 'and a.sc_no in ('||:searchlist.c_no||')';
    ADD_PARAMETER(PL_ID, 'pamametername', TEXT_PARAMETER, sc_no);
    It will substitute line in which is your conditions with
    multivalue.

  • How to retrieve unique records with more than one column

    I have a table sps_prod as described below -
    POGNAME VARCHAR2(1500)
    INDEX#VERSION VARCHAR2(200)
    POG_MODEL_STATUS VARCHAR2(100)
    POG_LAYOUT_TYPE VARCHAR2(500)
    POG_MARKET_SPECIFIC VARCHAR2(500)
    POG_CONTACT_NUMBER VARCHAR2(100)
    AREA_SUPPORTED VARCHAR2(500)
    POG_COMMENTS VARCHAR2(1500)
    POG_FOOTER_COMMENTS VARCHAR2(1500)
    POG_ELECTRICAL_LIST_1 VARCHAR2(1500)
    POG_ELECTRICAL_LIST_2 VARCHAR2(1500)
    POG_CARPENTRY_1 VARCHAR2(1500)
    POG_CARPENTRY_2 VARCHAR2(1500)
    INSTALLATION_INSTRUCTION_1 VARCHAR2(1500)
    INSTALLATION_INSTRUCTION_2 VARCHAR2(1500)
    FIXTURE_REORDER_NUMBER VARCHAR2(200)
    FIXTURE_ID VARCHAR2(200)
    FIXTURE_NAME VARCHAR2(500)
    FIXTURE_IMAGE VARCHAR2(500)
    PART_REORDER_NUMBER_9 VARCHAR2(500)
    PART_FIXTURE_ID_9 VARCHAR2(500)
    PART_FIXTURE_NAME_9 VARCHAR2(500)
    PART_FIXTURE_IMAGE_9 VARCHAR2(500)
    UPC VARCHAR2(50)
    ITEM_NUMBER VARCHAR2(50)
    DESCRIPTION VARCHAR2(700)
    MERCH_TYPE VARCHAR2(20)
    HEIGHT VARCHAR2(100)
    WIDTH VARCHAR2(100)
    DEPTH VARCHAR2(100)
    CREATE_TS DATE
    There are 4 millions records in it and many with the same combination of POGName,Index#Version,POG_Model_Status,POG_Layout_Type,POG_Market_Specific, POG_Contact_Number and Fixture_Name. How do I retrive records with all the columns above but with unique fixture_name and reorder_number combination. There are no keys defined on the table.
    I guess this is a simple problem but the fact that I am trying to retrieve all the columns is stumbling me.
    Thanks in advance.

    Hi,
    Sanders_2503 wrote:
    ... There are 4 millions records in it and many with the same combination of POGName,Index#Version,POG_Model_Status,POG_Layout_Type,POG_Market_Specific, POG_Contact_Number and Fixture_Name. How do I retrive records with all the columns above but with unique fixture_name and reorder_number combination. I don't see a column called reorder_number. Do you mean fixture_reorder_number or part_reorder_number_9?
    So you want only one row for each distinct combination of fixture_name and some other column (I'll assume that's fixture_reorder_number). Does it matter which row? They won't necessarily have the same values for the other columns.
    The query below returns the one with the first pogname (in sort order):
    WITH     got_r_num     AS
         SELECT  pogname, index#version, pog_model_status, pog_layout_type
         ,     pog_market_specific, pog_contact_number, fixture_name
         ,     ROW_NUMBER () OVER ( PARTITION BY  fixture_name
                                   ,                    fixture_reorder_number
                             ORDER BY        pogname
                           )         AS r_num
         FROM    sps_prod
    SELECT  pogname, index#version, pog_model_status, pog_layout_type
    ,     pog_market_specific, pog_contact_number, fixture_name
    FROM     got_r_num
    WHERE     r_num     = 1
    ;If there happens to be a tie (that is, two or more rows with the same fixture_name, fixture_number, and first pogname) then one of the will be chosen arbitrarily.
    Instead of "ORDER BY pogname", you can ORDER BY any other columns or expressions, but you must have an analytic ORDER BY clause. You can make it "ORDER BY NULL" if you really want to pcik an arbitrary row.
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only), and also post the results you want from that data (or a couple of examples of acceptable results).
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using.

  • How to create new user with more than one default folder

    hi
    A new user created in OCS has only one default folder(Inbox).
    I want to create new user with customized default folder.
    for example:
    a new user has more than one default folder(Inbox,Outbox,Draft,Dustbin...)
    And also I want to automaticly enable the functions:
    When sending messages, place a copy in Outbox
    Keep message drafts in Draft
    Move deleted messages to Dustbin
    who know that?
    thanks

    The same reason that Apple and 3rd Party vendors put multi-size templates in one file I expect. I am trying to construct an in-house standard template for use in our company, and it is easier to manage if there is only one file to send to people rather than many - both initially and for subsequent edits / updates to the template.
    Of course it would be possible to create several templates (one for each size). But since it is clear that templates can be combined, it appears sensible to do this - unless the doing of it is horridly complicated

  • How to create one master with more than one detail

    Hi
    I am using jdev 11.1.2.1.0
    I want to add more than one detail view object under one master view object in application module
    Please solve this asap
    Thanks

    Hi Frank
    I have 5 view objects (Suppose A,B,C,D,E) and I have created view links between them like
    A->B
    A->C
    A->D
    A->E
    Then I am shuttling views in Application module (In Data model Tab) to create A as master and rest as details.
    But it is not creating as i want.
    I add new instance of view object independently.
    Please solve this
    Thanks
    Edited by: 7668489779 on ३० अप्रैल, २०१२ ४:०७ अपराह्न

  • How to set a process with more than 10 item values to be changed?

    I am trying to make a "default" button where it resets the Column checkboxes to its original state but I have more than 10 iems and I cant fill them all in the 10 slots that they have. Anyone have any ideas? thanks.
    For example I have columns 1-20 and I want something like col 1-5 to be checked and col 6-20 to be unchecked as default.

    I tried to use process where i declare the new values i.e. ID=1/true, Name=0/false etc. and still nothing happens, anyone have any suggestions?

  • How to create Dynamic Table with more than one column?

    Hi,
    I'm trying to learn Dreamweaver. I'm trying to display 2 units from my database in the same row then I would like go to next row.
    By default DW shows single record in each row. Is it possible to display more than one?
    Thank you

    Of course. You will not name the divs differently, they will all be <div class="RowContainer">  (in the example below) and the reason they will look like
    1 2
    3 4
    5 6
    is because they will "stack themselves up". That is, the first will float to the top left, the next will float up next to it. The third will not fit on the top line floating next to two, so it will start a new row. Four will float up next to it, and five will start the new row.
    Think of the string of divs (don't put wordspaces between them...) as a continuous ribbon or chain of divs. That is a slightly poor analogy, since the second and third won't be next to each other, as a chain or a ribbon might be. But you should be able to have as many divs as you have records... you define the div in the CSS and in your page markup really only show one div.
    Here's a modified example from one of my files:
    <div spry:region="ds1" class="...">
      <div spry:repeat="ds1" class="RowContainer"> <!--this is the div that you would style to float -->
        {category} {title} {medium}<br>
         {price} {sold} {date}<br>
         {sold_to_purchase_price}
      </div>
    </div>
    Beth

  • Handling WebService with more than one operation

    Hi Everybody,
    I have a hassle!
    First of All, I'm Newbie, using Oracle Service Bus
    I have to Implement a WS with aproximately 6 operations, in Service Bus.
    I create my WSD and my XSD Artifacts, with no problem, the issue comes when I try to create My Proxy Service in OSB
    Step 1 .- Create Proxy Service
    Step 2 .- I make a Link from my Proxy Service to my Business Service wich contains the WSDL with the 6 operations
    Step 3 .- I clic on edit the message flow in the actions panel to add route
    Step 4 .- I edit the route looking for a Webservice and selecting the method (In this Case I select one method, because I don't know how to route many operations in one Proxy Service)
    When I did that, my WS in OSB wasn't able to invoke one method. I got a timeout .. I don't know, if maybe I'm doing something wrong!!.
    What I want is a way to route many methods in a same Web Service
    I've done operational bifurcation in the Web Proxy.. With that component, I can choose methods like conditionals, and I can add a route destination for each method.. when I test it .. My OSB WS never reply me an asnwer, I got Timeout. Takes a lot of time
    I also tried to do it with IF ELSE conditionals trying to know the name of the method from the WLS Headers and routing them to a specific webservice method. But I couldn't do it!
    I check the WS out by itself and works in 2 seconds, so it's Working!
    Any clues?, Well I hope you can help me!!
    Thanks in Advance!
    Edited by: user11334562 on 05-ago-2011 17:38

    Pierluigi,
    Thanks for your answer,
    I had to rebuild my OSB project, and refact all my OSB artifacts,
    My Proxy Service, I was trying to do it with my WSDL again, when I already had done in a Business Service,
    So in my proxy I chose the BS instead WSDL and all Works Perfectly using SOAP Content.
    Pretty Thanks!!
    ABC

  • How to remove calendar syncing with more than one calendar?

    I have no idea how I did it, but my Blackberry Curve 8310 somehow synced with TWO calendars.  I always had it syncing with my Outlook one and that still works fine, but somehow it also synced to my Hotmail calendar somewhere along the way - but I haven't used that calendar in a very long time and don't even use my Hotmail account anymore, so it's just confusing everything.  I never meant to tell it to sync to that one and for the life of me I can't figure out how to get it to remove all that calendar info that it added!  Can someone help with instructions?  I'm fairly technically savvy, I just can't figure out how to do it on my own.

    Do you want to remove the hotmail account all together? If so you can delete it from either your carrier's BIS page, or from the personal email setup icon on your device.
    If you just want to remove the calendar try going to Options | Advanced Options | Service Book. Find your Hotmail account's CICAL service book and delete it
    If someone has been helpful please consider giving them kudos by clicking the star to the left of their post.
    Remember to resolve your thread by clicking Accepted Solution.

  • How to display ALV list with more than 1 structure?

    Hello everyone,
    I am using REUSE_ALV_LIST_DISPLAY to generate a report that displays vendor/customer items with purchases/sales total. I have 2 internal table for this. For every vendor/customer i need a total table right after, this have a different structure. I cannot use REUSE_ALV_BLOCK_LIST_ as this is not capable of calculating the subtotal per currency and from the documentation it says do not use.
    Any idea on how to proceed?
    Thanks!

    Call ALV list function module per table structure.
    Closing this thread.

  • BizTalk:How to share customized pipeline with more than one BizTalk Application

    I have a new BizTalk application which will use a customize generic pipeline . This pipeline has been used in an existing BizTalk application.
    When I use BizTalk Server Administration to add this pipeline assembly as a resource for a new BizTalk application, it shows error message: "this biztalk assembley has already in store and is either associated with another application or another type".
    My questions is how to share the generic pipeline component with many BizTalk application?
    Many Thanks.

    Hi,
    If you plan on using the deployed pipeline across multiple applications in BizTalk you have two options:
    1) The Current Application (in BizTalk Server Administration Console) should have the other application [where the pipeline
    is deployed] as reference.
    right click the "Current Application" and select "Properties"
    on the "Properties" page, left hand side, select "References"
    On the right-hand side, use "Add" to add the "Other Application" as a reference.
    Refer: How
    to Add a BizTalk Assembly to an Application
    Doing so will ensure that ALL resources (maps, schemas, orchestrations, send ports, receive locations, rules, etc.) deployed
    for "Other Application" are available/reprehensible in "Current Application".
    2)  Create a common BizTalk application on BizTalk Admin Console and add your custom pipeline assembly in that new application
    as a resource. With this, you don't need any other application to be started apart from this common application. Any other application who wants to use this pipeline will refer this common application.
    Rachit
    Please mark as answer or vote as helpful if my reply does

  • Anyone knows how to send a attach with more than 255 characters in 4.6c ?

    Hi everyone,
    i´m tring to send a email with attach , my problem is that i have a itab with 2500 characters per line,
    and the FM 'SO_NEW_DOCUMENT_ATT_SEND_API1'  have the structure SOLISTI1 thats supports only 255 char. i tried to converto to PDF and XLS ,but when i open the attach only appers the first 255 char in each line only. any ideia for that issue?
    Thanks,
    Shimada
    Edited by: Fernando Shimada on May 5, 2009 8:28 PM

    here is part of my code that i tried:
    first: i write the lines of my itab and after did that
      CALL FUNCTION 'SAVE_LIST'
           EXPORTING
                list_index = '0'
           TABLES
                listobject = list_object.
      CALL FUNCTION 'LIST_TO_ASCI'
           TABLES
                listasci           = list_asci
                listobject         = list_object
           EXCEPTIONS
                empty_list         = 1
                list_index_invalid = 2
                OTHERS             = 3.
      APPEND LINES OF t_saida TO t_objbin.
      DESCRIBE TABLE t_objbin LINES v_lines_ane.
    second: do a alv report and tried to convert to pdf ,but the pdf have the same problem
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
           EXPORTING
                i_callback_program = sy-cprog
                it_fieldcat        = t_fieldcat[]
                is_layout          = w_layout
                is_print           = wa_pr
           TABLES
                t_outtab           = t_alv
           EXCEPTIONS
                program_error      = 1
                OTHERS             = 2.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      w_sp =  sy-msgv1.
      CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
           EXPORTING
                src_spoolid              = w_sp
                no_dialog                = ' '
                dst_device               = 'LOCL'
          IMPORTING
               pdf_bytecount            =
                TABLES
                pdf                      = t_pdf
           EXCEPTIONS
                err_no_abap_spooljob     = 1
                err_no_spooljob          = 2
                err_no_permission        = 3
                err_conv_not_possible    = 4
                err_bad_destdevice       = 5
                user_cancelled           = 6
                err_spoolerror           = 7
                err_temseerror           = 8
                err_btcjob_open_failed   = 9
                err_btcjob_submit_failed = 10
                err_btcjob_close_failed  = 11
                OTHERS                   = 12.
      CHECK sy-subrc = 0.
    Transfer the 132-long strings to 255-long strings
      LOOP AT t_pdf.
        TRANSLATE t_pdf USING '~'.
        CONCATENATE gd_buffer t_pdf INTO gd_buffer.
      ENDLOOP.
      TRANSLATE gd_buffer USING '~'.
      DO.
        t_objbin = gd_buffer.
        APPEND  t_objbin.
        SHIFT gd_buffer LEFT BY 255 PLACES.
        IF gd_buffer IS INITIAL.
          EXIT.
        ENDIF.
      ENDDO.
    Create Message Body Title and Description
      t_objtxt-line = 'teste'.
      APPEND t_objtxt.
      DESCRIBE TABLE t_objtxt LINES v_lines_txt.
      READ TABLE t_objtxt INDEX v_lines_txt.
      wa_doc_chng-obj_name = 'smartform'.
      wa_doc_chng-expiry_dat = sy-datum + 2.
      wa_doc_chng-obj_descr = 'smartform'.
      wa_doc_chng-sensitivty = 'F'.
      wa_doc_chng-doc_size = v_lines_txt * 255.
    Main Text
      CLEAR t_objpack-transf_bin.
      t_objpack-head_start = 1.
      t_objpack-head_num   = 0.
      t_objpack-body_start = 1.
      t_objpack-body_num   = v_lines_txt.
      t_objpack-doc_type = 'RAW'.
      APPEND t_objpack.
    Anexos
      t_objpack-transf_bin = 'X'.
      t_objpack-head_start = 1.
      t_objpack-head_num = 0.
      t_objpack-body_start = 1.
      DESCRIBE TABLE t_objbin LINES v_lines_bin.
      READ TABLE t_objbin INDEX v_lines_bin.
      t_objpack-doc_size  = v_lines_bin * 255 .
      t_objpack-body_num  = v_lines_bin.
      t_objpack-doc_type  = 'PDF'.
      t_objpack-obj_name  = 'smart'.
      t_objpack-obj_descr = 'test'.
      APPEND t_objpack.
      CLEAR t_reclist.
      t_reclist-receiver = Email.
      t_reclist-rec_type = 'U'.
      APPEND t_reclist.
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           EXPORTING
                document_data              = wa_doc_chng
                put_in_outbox              = 'X'
                commit_work                = 'X'
           TABLES
                packing_list               = t_objpack
                object_header              = t_objhead
                contents_bin               = t_objbin
                contents_txt               = t_objtxt
                receivers                  = t_reclist
           EXCEPTIONS
                too_many_receivers         = 1
                document_not_sent          = 2
                document_type_not_exist    = 3
                operation_no_authorization = 4
                parameter_error            = 5
                x_error                    = 6
                enqueue_error              = 7
                OTHERS                     = 8.
      IF sy-subrc <> 0.
        WRITE:/ 'Error When Sending the File', sy-subrc.
      ELSE.
        WRITE:/ 'Mail sent'.
      ENDIF.

  • How to create a workbook in BI 7.0 with more than 15 Sheets?

    Hi Experts,
    i would like to know how to create a workbook with more than 15 Sheets.
    One Workbook should be based on one query  and the other on differents queries.
    How should be the authorization? If you have any documents please just send it to me.
    Cheers
    G

    HI
    Execute one report save it in the workbook, then you can goto the tools and click insert query, like that you can add how many queries you want. then right click on the reports goto properties there in the interface tab click the check button for refrsh all the queries. finally save it with the option save existing wrokbook(beacause you already save the first query in the workbook)
    Regards,
    chandra.

Maybe you are looking for

  • How can I tell if my iPod touch needs its battery replaced or if there is something wrong with the power connector?

    About 3 weeks ago, I got pushed into a pool, fully clothed, with my iPod touch in my back pocket.  Miraculously, I was able to salvage it (or so I thought) by putting it for a couple of days in a dessicator jar and then recharging it.  It seemed all

  • Run a Program Through my java program

    Good day to you :) I am wondering if there is anyway for me to run an executable (or batch) file though a program I made. Thank you :)

  • Bridge/photoshop CC or CS6 won't batch

    Hi there,   I have j=had this problem on my mac book pro since CS6,  I have now installed CC hoping it would sort it but its the same,  If I use bridge to batch a set of photos I get the following error. FatalError: General Photoshop error occurred.

  • Help with Rock, Paper, Scissors Program

    I need some help with my program, I got understand writing each of the methods I have to do but then i don't understand how to piece it together to make the program work. in the main method...I didn't complete the scrolling message method I just want

  • Problems in Win-10 Apps, Services Wi-Fi etc.

    1) Glitches in Wi-Fi connectivity. Wi-Fi loses connectivity any time. We have to switch off & on Wi-Fi again to connect to internet 2) Start Menu view of 8.1 seems better. 3) Older application compatibility is better, few of the old application are r