Send multiple argument to backend method

Dear All,
I am trying to send the multiple arguments to backend server method using Remote Object. At the backend I am using Weborb for .net
private function initWebOrb(event:AppEvent):void
    weborbCallback = event.callback;
var method:String = event.data.method as String;
var data:Array  = event.parameterdata;
var op:AbstractOperation = remoteDataObject.getOperation(method);
op.addEventListener("result", getListResultHandler);
op.addEventListener("fault", onerrorweborb);
op.arguments =data;
op.send();
but It shows the error unable to find method with name "Testmethod"  and the given argument types  at Weborb.Util.MethodLookup..........
I have also tried.
private function initWebOrb(event:AppEvent):void
   weborbCallback = event.callback;
var method:String = event.data.method as String;
var data:Array  = event.parameterdata;
var op:AbstractOperation = remoteDataObject.getOperation(method);
op.addEventListener("result", getListResultHandler);
op.addEventListener("fault", onerrorweborb);
op.send(data);
I also tried to send the data as object
var data:Object  = event.parameterdata;
Note: I change the argument type accordingly while dispatching this event.

try this
<%
int parameter=0;
%>
<f:invoke var="${bpmobject}" methodName="oper" retAttName="op" retAttScope = "Page">           
               <f:arg value=<%= parameter> type="int"/>
</f:invoke>
the name of bpmobject passed in the arguments form ...
edit : http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/taglib/f/arg.html
Edited by: cealex on Jan 24, 2010 5:34 AM - :pass "parameter" Parameter :)

Similar Messages

  • Inputting multiple arguments into a method

    Hi,
    I have somewhat of a problem. I'm trying to create a method, stringQuery, and I do not know how many arguments the method will take.
    Allow me to explain my goal, so you can have some idea of what I'm talking about.
    I want to create a method that will basically generate a SQL query (no, this is NOT a JDBC question) from text. This method should be able to take a large number of String arguments, because the user might want to select one thing from the database, or he or she might want to select five things, or he or she might want to select twenty things.
    Because of this, there is not a set number of arguments for my stringQuery method.
    Furthermore, the method should also be able to take a large number of float arguments, in case the user wants to specify where he or she is selecting data from.
    It's just a mess, I'm not sure where to start, and I'm pretty damn sure there must be a better way. I can specify that I want an infinite number of Strings by saying something like this:
    public static String stringQuery(String... select)But I cannot do the same for floats, or for another String array. Or can I? If I try to do something like:
    public static String stringQuery(String... select, float... foo)I get a syntax error, that says "select must be the last parameter". If I change the order, it will say "foo must be the last parameter", obviously. Therefore, I can't do that.
    I realize this is a lot of information. However, if someone could please point me in the right direction here (either how to do what I am trying to do, or a better method for what I am trying to do), I would be very appreciative.
    Also, please let me know if this didn't make much sense, and what part of it didn't make sense.
    Thanks,
    Dan

    I'm not too sure what you mean by this. Do you know
    of any links or resources that can explain this
    further?Search for "Object-Oriented Programming".public class SQLBuilder {
      private // some list of selection criteria
      public SQLBuilder() {
        // initialize the list to empty
      public void addCriterion(String name, String value) {
        // add this criterion to the list
      public void addCriterion(String name, int value) {
        // add this criterion to the list
      // many more overloaded addCriterion methods could go here
      public String toString() {
        // compute the SQL string based on the list
    }And to use that:SQLBuilder builder = new SQLBuilder();
    builder.addCriterion("name", "Arthur Eddington");
    builder.addCriterion("answer", 137);
    String query = builder.toString();

  • Using a single NetConnection instance to dispatch multiple calls to backend

    I have a scenario where calls to backend have to be dispatched in parallel because the calls are independent and dispatching them serially would cost performance.
    If I use a single instance of NetConnection to send multiple requests to backend -  one after the other without waiting for responses to previous requests to arrive - and there is a NetStatus event once the calls have been dispatched because, for example, the network connection went down, is it possible to find out which of the calls succeeded and which ones failed? Is it safe to assume that if the onResult function of a particular call's responder was not invoked, then that request did not reach the backend? If not, what is the recommended way to implement this? Should a separate instance of NetConnection be used for each call?  How expensive would it be? How are multiple NetConnection instances connected to the same endpoint handled under the hood?
    Thanks.

    Joe,
    I don´t know a specific reference for it, I remembered it because when I was looking the documentation on the site, I saw the reference "Support for multiple database connections" in the URL: APEX Listener New Features 2.0&lt;/title&gt;&lt;meta name=&quot;Title&quot; content=&quot;APEX Listener New Features 2.0…
    I´ve tried to use APEX listener some time ago, but in a earlier version together with glassfish. So, since for me was only one database, I created the necessary amount of DAD´s on my database, each one for a specific port.
    Check the link and you´ll see the same information I saw.
    Thanks.
    José Valdézio
    "Neo, everything that Oracle told me, became true, except extinguish bugs in a first release."

  • Sending Multiple Page Faxes

    I am VERY annoyed with my IMAC G5. This was supposed to be the more User Friendly machine and I am finding it INFINITELY more difficult to use than the PC....
    FAXING happens to be one of the MOST IMPORTANT functions for business use of Computers. With a PC there is a SEPARATE FAX program and all you have to do is put your Hard Copy on a Scanner or Printer/Scanner, Send it to the Fax Modem, insert your Cover Page and Phone Numer it's being Sent to...
    And that's IT. Takes NO TIME at all to do.
    The Mac on the other hand does NOT have a separate Fax Program and this requires you to Fax from your Printer/Scanner to another Application such as Preview. While I can send a Single Hard Copy Fax in that way, I do not seem to be able to Fax Multiple Pages. My Printer does indeed allow me to Scan the Multiple Pages which it specifically refers to as Pages (of the same Doc) BUT while Preview does receive the Scans (as JPEGS) and inserts them all in the Drawer next to whichever Page is Highlighted, so far I have not found a way to get Preview to recognize them as Pages of the SAME Fax, thus requiring that I Send numerous Faxes (that's numerous Phone Calls)
    This is ABSURD. The Third Worlder on Apple Support just informed me that he can't find any Info on Sending Multiple Page Faxes via the MAC...
    I CAN'T BELIEVE that could be so because if it is, MAC is being run by a bunch of IDIOTS if they don't know how important this function is.
    PLEASE, if there's anyone out there who has the answer, Let Me Know, I'm about to throw this here so called 'state of the Art' IMAC G5 into the TRASH and bring back my trusty high powered Dell Desktop.
    Westbroadway, NYC

    Thanks for the efforts to be of help.
    I'm using a simply Lexmark 1100 All In One Printer/Scanner and that machine
    DOES indeed allow one to Scan 'additional' Pages to FAX. The problem as I
    understand it is that Mac does NOT provide a FAX 'Program' as such but simply FAX capability via the built in Modem.
    What this means is that you cannot Send the Scan to FAX specifically but must instead Send to another Mac Application, namely Preview, that appllication not having the capability of dealing with Multiple Page Faxes obviously.
    You can also Fax from the Mac Apple Works Word Processor but that works for Documents created (or I presume 'copied' or 'pasted') in such Document form.
    There may be a 'method' there whereby after scanning the pages you could then get them into Apple Works docs BUT this is a lot of fuss and bother just to do what should be and IS the EASIEST thing to do in Windows PCs that do
    have actual FAX programs.
    My guess is that there must be a Program that can be added to one's IMac to enable such Multi Page FAXING, either an Apple or Third Party Fax program. If anyone has more info on that it's appreciated. This is complicated by the fact that the use of FAX seems to have become somewhat outmoded by EMail BUT there are a lot of Businesses still using FAX and so you there's a need to continue to have that communication process available.
    I now have ANOTHER question to add to this which I'll also post as a separate topic altogether even though it is tangential:
    I have converted to a One Line does All set up from Manhattan Cable that provides in addition to the TV service, High Speed Road Runner Net, AND a
    Digital Phone which rate is supposedly much better than the competitors.
    The Road Runner is INCREDIBLE, BLAZING Speed, how bout a 56MB File in less than 2 minutes. In addition, this set up has allowed me to eliminate a Second Phone Line dedicated to the Computer and FAX, which saves me bucks.
    The PROBLEM is that my Answering Machine is defeated when I have the Mac set to Receive Faxes. For sure I can deal with this by informing Clients that they can only Fax the Specs for jobs and the like when I'm at my Desk and can activate the Receive BUT I would prefer to have it the old way where they could FAX me AT ANY TIME whether I was at my desk or not and it would go through and otherwise if it was Voice, the Answering Machine would pick up.
    I'm told by the company that they do not have a cure for this problem as yet because both the Answering Machine and Fax are on the same Line and the
    Mac accords priority to the Fax when in Receive Fax mode. SO what I have to do is leave the Receive Fax OFF when I leave my office so the Answering Machine can take the messages.
    Two 'possible' solutions have been suggeste, One is that I might be able to get an Answering Machine that has some sophisticated 'switching' system that could determine where the call should go. A Second idea is that I might be able to get a 'Switching Device' that can be introduced in the Line.
    But again, it seems to me that at this late date for the Technology, there must be some 'intelligence' available to install in the Mac itself that could instantly determine if the incoming call is Fax or Voice and send it appropriately on its way...
    GOT to be some relatively simple Program or Technology to deal with this I would assume...
    SR
    (The latter is not an insurmountable problem needless to say, I CAN simply ask my clients to call ahead and make sure I'm here before they Fax me. But it would be much nicer if it could be hooked up the other way... )

  • Sender Proxy to send multiple messages

    Hello All XI experts,
    I need your help to work for my scenario which is a Proxy-File .
    I need to send data picked up from certain group of tables via sender proxy to XI.
    The problem is that , we will be having thousands of records at the same time , so what we plan we can send the records via multiple messages in bunch of n no of messages rather sending the entire data in a single message.
    Can you please help me in order to find a way by which we can achieve this in sender proxy ( to send multiple messages with each bunch having n no of messages  ) .
    Waiting for your expert thoughts and invaluable help.
    Thanks,
    Sunil

    Hi
    This scenario can be handled at abap end.
    Decide the number of records you want to send in one file. In abap when the number of records reached then call the abap proxy method. For the remaining records again call the abap proxy method so while going to XI it will pass only the number of records desired by you.

  • How to send multiple attachemnt with a Email

    Hello experts,
    I have problem with sending multiple attachement with a Email .
    I have used program BCS_EXAMPLE_5. it is not for multiple attachment.
    Please help me.
    Thank you.

    Hello,
    u can make use of these Function Modules.
    SO_DOCUMENT_SEND_API1
    SO_NEW_DOCUMENT_SEND_API1
    'CONVERT_OTFSPOOLJOB_2_PDF'
    the program which u gave using the method classes
    Thank u,
    santhosh
    Edited by: santhosh kumar on Dec 2, 2008 2:15 PM

  • Call tp EP and sending multiple rows of records

    Hello friends,
    I am creating a screen and am sending back to EP an user ID.
    However I would like to send Multiple User-Ids.
    Below is the code of what AM I doing.
             str = userid.    " NOTE - I would like to send Multiple IDS.
             lv_value_label->set_string_struct_element( element = str
                                                        label_name = 'MAINTID' ).
           it_result_state-result_state = 'APPROVED'.
           APPEND it_result_state TO it_result_states.
           CALL METHOD eup_structure_factory=>pack_value_label_to_xml
             EXPORTING
               iv_value_label = lv_value_label
             IMPORTING
               ev_xml         = str.
           CALL FUNCTION 'EUP_STORE_BSP_OUTPUT_DATA'
             EXPORTING
               iv_process_id    = process_id
               iv_task_id       = task_id
               iv_output_value  = str
             TABLES
               it_result_states = it_result_states.

    Dear Ster,
    I think you are having all the user id's in an internal table.
    Why dont you loop your internal table and pass those values in the standard FM you represented ('EUP_STORE_BSP_OUTPUT_DATA').
    I'm not aware that, whether there is any Standard FM's to be used for sending multiple user ID's. Will check and let you know.
    Hope this will be helpful.
    Regards,
    Gokul.N

  • OSB: send dateTime do Java Callout method

    Hi,
    I have a method in Java that receives a parameter of type java.util.Date and I want to invoke that method in an OSB Java Callout Activity.
    I receive in the OSB 11g service input an element of type xs:dateTime and I want to send it to the Java method this element. But it always result in exception: argument type mismatch java.lang.IllegalArgumentException: argument type mismatch.
    Is there a way to pass this element to Java Callout without having to pass first a string and then convert to java.util.Date?

    bad news
    http://docs.oracle.com/cd/E13159_01/osb/docs10gr3/eclipsehelp/ui_ref.html#wp1290279
    java.util.Date is not supported

  • Web service sends multiple requests after flash upgrade

    I have a Xcelsius engage 2008 SP3 FP2 and i just found out that my dashboard send multiple reqests to web service and this will render my dashboard useless. This is a major bug, is there any solution? Service methods will get around 2-20 request and the dashboard will not be usable any more. Triggers are correct and will not trigger web service unless button is clicked.

    Dear Expert,
    Tcode RZ10
    set the parameter rdisp/gui_auto_logout = 30M    in all Instance profiles  / orwhat ever time limit u want to specify.
    See that this parameter is set on each server.
    And you can make it a default.
    Regards,
    Shankar K B
    Edited by: Shankar.kb on Feb 19, 2012 2:25 AM

  • Sending multiple records to WebSerivce datacontrol

    hi,
    i need to send an array of complex type of objects to webservice in ADF mobile.
    i read the following,
    http://docs.oracle.com/cd/E38668_01/apirefs.111230/e27204/oracle/adfmf/framework/api/AdfmfJavaUtilities.html#invokeDataControlMethod_java_lang_String__java_lang_String__java_lang_String__java_util_List__java_util_List__java_util_List_
    here is what i am doing-
    i have multiple employee records in a dept.
    when i click a button, i want to send all the employee records in the sqllite db in the mobile device for a dept at once.
    for that i have a webservice data control and in there i have a method which takes a parameter of List type.
    how to use GenericTypeBeanSerializationHelper.toGenericType for sending the List type of parameters?
    regards,
    ad

    below URL explains about sending a single record,
    https://blogs.oracle.com/blueberry/entry/adf_mobile_and_sdo_making
    how to send multiple records with a single call to webservice method?
    regards,
    ad

  • Easiest way to send multiple iWork attachments as Office documents

    My grandmother just switched from a PC to a Mac, and I suggested that she use iWork instead of Office for Mac. Now she is getting used to iWork, but all of the people that she works with use Office.
    When she wants to send multiple documents, I told her that she has to open each one and got to Share => Export -> Word and save them to her desktop. After that she needs to attach each one to the email.
    As I'm telling her this, I think to myself "There has to be a better way..."
    So, I come here to ask: Is there a better way? Is there some way to make Mail convert these .pages documents into .docx, .keynote into .pptx, etc.? I always thought that's what "Send Windows Friendly Attachments" did, but I have found out that
    it does something totally different.

    There is no easy way to convert iWork documents to Office and then send them via email. In short, your options are as follows:
    In Pages, don't save as .pages files, but rather as .docx files. To do this, your grandmother will have to use "save as" every time she saves the file, because "save" will simply save a .pages file. You cannot set the default file format
    in Pages to be a .docx file.
    Continue as she is doing now, and convert each file individually from .pages to .docx when she needs to send it to someone.
    Buy a legal copy of Office:Mac.
    If your grandmother works with people who use Office, the best solution is for her to use Office:Mac. Pages can open Word documents, and it can save as a Word document as well, but this conversion is limited. If the documents have a lot of formatting, they
    are likely to lose the formatting in the conversion. If she receives Word documents with macros, she will not be able to use or modify the macros. Keynote to PowerPoint and Numbers to Excel have similar issues. We'll leave aside that it sounds like you have
    violated the
    EULA for iWork in associating someone else's Apple ID with your grandmother's new Mac.
    "Send Windows-Friendly Attachments" does not convert files from one type to another, and you probably don't want Apple Mail (or any other application) performing such a conversion without telling you about it. It simply changes the encoding that
    it uses for sending the files via email.
    There is no method to batch-convert files from Pages to Word. Pages' AppleScript and Automator dictionaries don't have commands for such a conversion.

  • What's the best way to send multiple photo's to another iMac

    My friend has an iMac and they are trying to send multiple photo's to my iMac.  Can anyone let me know the best method to send them please.

    AdamTurner333 wrote:
    My friend has an iMac and they are trying to send multiple photo's to my iMac.  Can anyone let me know the best method to send them please.
    Unless these are very small photos or few in number they should use a sharing service, DropBox is good but there are many others.

  • Sending multiple transaction to Supplier

    Hi B2B gurus,
    We send only 10 transactions from backend applications to supplier via B2B, I mean
    From backend application to B2B and From B2B to supplier, but these 10 transaction sending multiple times by supplier.
    Our Supplier complianing that they are receiving multiple transactions and it screwing their system.
    Could anyone help me how to resolve this.
    Regards
    cnu

    Hi CNU,
    Please check your report console, to make sure that how many times B2B has sent the transactions (OR how many transactions your B2B sent).
    It may be perhaps because your B2B is expecting a FA back and if it is not getting one in an estimated time, then it is retrying the same message again. What are the retry count settings at your side?
    Regards,
    Anuj

  • Default argument for main method

    Dear All,
    What default value will be supplied to main method incase we are not sending any argument from command Line..
    Rgrds
    Ravi. N

    > this indicates that we can invoke a main method
    without passing any actual argumnets
    [EDIT] Only in the case of varargs, which you can declare your methods with, if you wish.
    Example:class Foo {      
        public static void main(String[] args) {
            // Bar.main();  <--- won't compile
            Baz.main();
    class Bar {
        public static void main(String[] args) { }
    class Baz {
        public static void main(String... args) { }
    }~

  • Sending multiple email for free goods item category??

    Hi,
    we have requirement to send email (Z report in smartforms) automatically when sale order save in tcode VA01/VA02.
    we made reqd config in tcode NACE and we set access sequence on ORDER TYPE and it's working fine. but the problem is that when order booked for item category free goods it sends multiple emails. (i.e. no. of line items = no. of email) for one order no. All other item category is working fine. only problem with the free goods.
    I am an abaper. all config are made with the consent of SD consultant.
    pls help.
    thanks
    Radhashyam Sahoo.

    If you are an ABAPer, then it sounds like you simply need to debug the processing to identify where/why the fault occurs.  As for the NACE settings, you should understand the config as well as your functional counterpart.  It will make you a better developer and help you understand the processing code.

Maybe you are looking for

  • Is there any way I can update my play count from my iPod to the same iTunes library on my computer that does not have any play counts?

    I recently transferred my data (music, apps, etc.) to a new computer via transferring purchases and Home Sharing and only a few songs had play counts. On my older computer, all the songs had at least some documentation of a playcount. Thinking that I

  • Issue in WM enabled with HU (Transfer of stock frm Quality to Unrestricted)

    Hi, We've a scenario in such a way of both WM with HU engagged together. Transfer of a Material from Quality to unrestricted stock type using transfer posting. 1. in MB1B using mvt  321, stock of Matl A with qty 20 has been transferd from Quality to

  • Park Incoming Invoice

    Hello, When creating a Park Incoming Invoice reference to a PO, I need to prevent entering more than 1 Park incoming invoice/PO. (except the cases of partial delivery) How could I do that? Thanks in advance, Irem

  • Sapscript's print preview problem

    Hi everybody! My problem is in sapscript's print preview. When I call the transaction directly the print preview is ok. But when I call that same transaction through a CALL TRANSACTION command from others reports, the print preview is showed as a sim

  • Job Search is not working in E-Recruitment

    Hi All, When I used to search the Job with the link "Job Search"  as an internal candidate that has been published already with the released status, am getting an error message as "An Internal error occurred". As with the forum, i checked with the jo