Multiple asynchronous responses

I am attempting to use two RemoteObject requests at the same
time. I want to allow the user to continue using the screen after
either one of these requests has returned, and to just notify them
when the second one arrives. I am trying to do this without FDS.
However, though I can send both messages asynchronously the user is
not able to use the interface until both calls have completed. One
of the operations completes immediately, and the other one waits
for 10 seconds before completing. But I do not receive a response
from the first operation until the second operation has completed.
The Java methods on the server are being executed in series, and
therefore the method that returns immediately is waiting for
completion of the method that waits 10 seconds. The AS methods on
the client both return from calling the remote object operation
very quickly, obviously. I am currently using a RemoteObject
instances to invoke the operations on the server.

I am so sorry, but I still do not understand how to set the
endpoint. Here are the lines from my AS class:
public class JSINotifierList extends ArrayCollection {
private var remoteObject: RemoteObject;
public function JSINotifierList(dao: String) {
remoteObject = new RemoteObject();
remoteObject.destination = dao;
remoteObject.concurrency = "last";
remoteObject.addEventListener(ResultEvent.RESULT,
handleResultEvent);
remoteObject.addEventListener(FaultEvent.FAULT,
handleFaultEvent);
} // JSINotifierList()
public function register(... args): void {
var operation: AbstractOperation =
remoteObject.getOperation("register");
operation.send(args);
} // register()
... result and fault handling is here ...
Just in case it is important, here is the code from the mxml
file:
[Bindable] private var dtoList: JSIDTOList;
[Bindable] private var notifierList: JSINotifierList;
private function appCreationComplete(): void {
notifierList = new JSINotifierList("JSIFlexNotifier");
notifierList.register([]);
dtoList = new JSIDTOList("JSIFlexDAO");
dtoList.fill(["<Pars id='all'/>", 3]);
} // appCreationComplete()
I don't know whether any of this makes sense from a Flex
perspective! I am calling the "register" function from this class
so that if the server wants to notify the client of something
(i.e., "push" data to the client) then it will respond to the RPC
call. I have other classes that provide data collections for the
actual core work of the application. But I can't figure out how to
get the other classes to return from RPC calls without returning
from the RPC call to the JSINotifierList object. I could, of
course, cancel the call to the JSINotifierList whenever I want to
make a request to another destination, and then requeue the request
to the JSINotifierList object when that call returns. But I was
hoping to have both methods running concurrently in the web server.
Again, I appreciate your responses, and I am quite content
for you to tell me to "go away and learn more about Flex" before
attempting to do this!

Similar Messages

  • The process could not be created because the maximum number of asynchronous responses (5) has already been reached, and it will be dropped.

    Hi
    he process could not be created because the maximum number of asynchronous responses (5) has already been reached, and it will be dropped.
    Command executed:    "C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe" -command "&G:\SCOM\SCOMModule\Notification\SMS.ps1 -scomalertid:'{c5a013e7-5408-468a-9b04-febab33cc56d}' -alertname:'Common Primary Database TableSpace
    Threshold Alert' -alertdesc:'TableSpace TEMP FreeSizePercent:0.4375\n' -alertstate:'Closed' -alerttime:'7/26/2014 1:55:19 PM' -Priority:'1' -Severity:'2'"
    Working Directory:    g:\SCOM\SCOMModule\Notification
    One or more workflows were affected by this.  
    Workflow name: Subscription852fbf70_40eb_450c_874d_46b631ca1352
    Instance name: Alert Notification Subscription Server
    Instance ID: {E07E3FAB-53BC-BC14-1634-5A6E949F9230}
    Management group:******
    Please help me
    Thanks

    Hi,
    the RMS is "Root Management Server". When you install first management server it becomes RMS. The RMS is relevant in SCOM 2007x management group. You can identify which server is RMS in administration console under management server view. Look for instance
    with "yes" value in "Is RMS" column.
    If you have SCOM 2012x version management group create sugested registry entrys on all management servers (MS) which executes command channel.
    This will surely solve your
    problem.
    Regards,
    Ivan

  • Acrobat 9: compiling responses from multiple questionnaire responses into spreadsheet

    I want to send out a questionnaire to 150+ individuals, then compile responses from all parties into one spreadsheet. The form uses drop down options and text fields.

    You can compile the data from multiple PDF forms into a single spreadsheet in Acrobat, if that's what you're asking. I can't say for sure where that command is in Acrobat 9, but it should be somewhere under Document or Advanced...

  • Is there a way to process multiple asynchronous calls individually (instead of all at once)?

    Hello,
    I have a function that saves a record using a RPC call (asyncToken with a new responder).  When I save an individual record (pressing "s" key), it works fine.  However, when I attempt to save multiple records simultaneously (bound to "v" key) (I have a for loop running through the selectedItems in the datagrid), it performs strangely.
    For anyone who hasn't experienced this, the successive calls seem to get stacked (literally - i.e. using a stack) and processed at the end of all operations in that block of code (I had trace functions before and after the call that were executed before I saw the result confirming this).
    What I would like to do is to simulate multiple AsyncToken usages with a single click, but still have them all occur individually since right now, the function saves the last item in the stack 8 times instead of saving each of the 8 items separately.
    OR
    Is there another means of RPC using something like "interruptToken" as opposed to asyncToken?  (In most other areas I've seen, asynchronous calls are performed as interrupts and dealt with immediately, thats why this procedure confused me for a bit)
    Thanks in advance,

    The second paragraph you posted is definitely worthwhile - still figuring out some of the inner workings of Flex calls (not just RPC stuff) that I use as I am pretty new to flex.
    I don't have the code with me at the moment, but I think I have to use separate calls to the save function.  My situation is this (and I plan on updating with code on Monday if necessary):
    I have a datagrid that is populated using a single RPC (which is loaded into an arrayCollection first then the datagrid).  Changes are made to the datagrid through a copy/paste function that I made, but these changes are only reflected on the datagrid (i.e. not in the dataprovider).  When the user hits "save", the selected line (selectedItem actually - i.e. not an index but the object itself) is passed to another class which contains a modified version of my "modify data" function (brings up a dialog after choosing a given line allowing editting/validation of certain fields regarding the selectedItem).  This changed version of "modify data" is then called and immediately closed effectively saving this record (without allowing the user to alter fields - so they don't have to hit save twice).
    With the copy/paste function, I make all of these changes en masse and then have a loop that goes something like
    for each (_object:Object in myDatagrid.selectedItems)
         callSaveFunction(this, _object);
    which ideally loops through the data and saves each item that has been changed.  If there is a way to save all of the data in the datagrid simultaneously, I would appreciate a bit of help there (perhaps dealing with the bindings - right now I have the object I save as the destination and the source is myDatagrid.selectedIndex.[field name]).
    Good to know about the other stuff, though - my understanding was a little bit lacking before

  • Multiple Asynchronous on-demand calls

    Hi,
    I do have on the example below 2 on-demand processes. Both of them are a set of select statements taking around 0.2 secs to run.
    What I am trying to achieve is to display a region after each process has been completed.
    The problem I am experiencing is that I only have the second region displayed.
    <script language="JavaScript" type="text/javascript">
    var get = new htmldb_Get(null,html_GetElement('pFlowId').value,'APPLICATION_PROCESS=Dashboard_OOS',0);
    pstep = 1;
    get.GetAsync(f_AsyncReturn);
    var get2 = new htmldb_Get(null,html_GetElement('pFlowId').value,'APPLICATION_PROCESS=Dashboard_Usage',0);
    pstep = 10;
    get2.GetAsync(f_AsyncReturn);
    function f_AsyncReturn(){  
    alert(p.readyState+"-"+pstep);
    if(p.readyState == 1){  
    if (pstep == 1){
    show_loading();
    }else if(p.readyState == 2){  
    }else if(p.readyState == 3){  
    }else if(p.readyState == 4){  
    if (pstep == 1) {
    $x('item').value = p.responseText;
    $x_Show('region1');
    }else if (pstep == 10) {
    $x_Show('region2');
    hide_loading();
    }else{return false;}
    </script>
    Note: after adding the alert at the beginning of f_AsyncReturn I can see only one alert for the first call and then 4 alerts for the second.
    My first try was with synchronous calls, which were fine in firefox but not in IE. Firefox displays the regions as the calls are completed but IE waits for all calls to be completed and then displays all regions at the same time.
    Any ideas/comments are welcome.
    Regards

    Javier,
    You have to duplicated the Asynchronous calls in your script, you are seeing the behavior because by default XMLHttpRequest returns data in a variable called p and generally we use p.responseText, p.readyState to get the information back from request. When we are running multiple calls on the same page, the process which gets executed first will have its values in p variable. Try creating separate call for each of your code block something like this
    <script type="text/javascript">
    // XMLHTTP for Dashboard_OOS
    htmldb_Get.prototype.OOS_GetAsync = function(pVar){
       try{
          OOS= new XMLHttpRequest();
        }catch(e){
          OOS = new ActiveXObject("Msxml2.XMLHTTP");
        try {
             var startTime = new Date();
                   OOS.open("POST", this.base, true);
                   if(OOS) {
                             OOS.onreadystatechange = pVar;
                             OOS.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
                             OOS.send(this.queryString == null ? this.params : this.queryString );
                             return OOS;
              }catch(e){
          return false;
    // XMLHTTP for Dashboard_Usage
    htmldb_Get.prototype.Usage_GetAsync = function(pVar){
       try{
          Usage= new XMLHttpRequest();
        }catch(e){
          Usage = new ActiveXObject("Msxml2.XMLHTTP");
        try {
             var startTime = new Date();
                   Usage.open("POST", this.base, true);
                   if(Usage) {
                             Usage.onreadystatechange = pVar;
                             Usage.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
                             Usage.send(this.queryString == null ? this.params : this.queryString );
                             return Usage;
              }catch(e){
          return false;
    // AsyncReturn for Dashboard_OOS
    function OOS_AsyncReturn(){
         var s = OOS.readyState;
         if(s == 1)
              show_loading();
         else if(s == 2)
         else if(s == 3)
         else if(s == 4)
              $x('item').value = p.responseText;
              $x_Show('region1');
              hide_loading();
         else
              return false;
         return true;
    // AsyncReturn for Dashboard_Usage
    function Usage_AsyncReturn(){
         var s = Usage.readyState;
         if(s == 1)
              show_loading();
         else if(s == 2)
         else if(s == 3)
         else if(s == 4)
              $x_Show('region2');
         else
              return false;
         return true;
    var get = new htmldb_Get(null,html_GetElement('pFlowId').value,'APPLICATION_PROCESS=Dashboard_OOS',0);
    pstep = 1;
    get.OOS_GetAsync(OOS_AsyncReturn);
    var get2 = new htmldb_Get(null,html_GetElement('pFlowId').value,'APPLICATION_PROCESS=Dashboard_Usage',0);
    pstep = 10;
    get2.Usage_GetAsync(Usage_AsyncReturn);
    </script>Thanks,
    Manish

  • Getting multiple line responses to show up in their entirety in the PDF

    I am using a form created in Forms Central that contains numerous multiple line text boxes.  When I create a PDF of the responses received the multi-line responses do not show up in their entirety.  Is there a way to do this?

    You can make those multiline boxes bigger in the Design Tab so that it would fit the whole text then generate the PDF for the responses (this will also change the field size for the form fillers).
    The other workaround is to print the Detail View of the response (View Responses Tab : View > Detail View). The print button is at the bottom of the Detail View.
    Hope this helps
    Gen

  • Adobe Presenter 8 quiz multiple choice responses changing order

    I published a quiz in Adobe Presenter 8. 
    After it was published, one of the multiple choice questions had the order of the responses literally listed as:
         B)
         A)
         C)
         D)
    Instead of:
         A)
         B)
         C)
         D)
    Has anyone ever experienced this before?
    If so, is there a solution?
    Thank you........

    Hi,
    What do you see on the the pptx slide (not in the published output).
    Is it
    B) 
    A)
    C)
    D)
    or
    A) 
    B)
    C)
    D)
    If it is the first one , Please change in the pptx slide and publish.
    If it is the second one, try to republish.
    If the Issue still exists, please inbox me  the pptx as well as the published output at [email protected]
    Thanks
    Alpi Agarwal
    Adobe Presenter Engineering Team

  • How to do multiple requests/responses sequentially to same COM port?

    I can read 5 different values from my instrument. Each have their own command letter for sending over the value.
    How do I read these values sequentially?

    I am attaching an example which demos this using the ASCII Object. The example, for simplicity, uses a loop-back on COM1. I suggest you do the same while studying the example: short pins 2 and 3 on your COM1.
    In the example, values from Column A and Column B of the DataTable are packed and sent out as the "command." So, you would replace this with your intrument commands. The response (which is the same as "command" in this case because of the loop-back) is read, parsed (the number from the text) and then stored in Column C of the DataTable.
    This can be easily made to run automatically using a Timer/Counter.
    Hope this helps.
    Regards,
    Khalid :
    Attachments:
    simpleserdriver.lks ‏10 KB

  • How to get the text of a multiple-choice response

    If  call report-quiz-interactions,
    i got only the response value.
    <row display-seq="1" transcript-id="2007071200" interaction-id="2007027923" sco-id="2007071193" score="0">
    <name>jazz doe</name> <sco-name>Thursday Meeting</sco-name> <date-created>2006-08-03T12:29:09.687-07:00</date-created> <description>What is your favorite color?</description> <response>4</response>
    </row>
    in this example  it is number 4. But how can i find the text behind the answer ? Like blue or red etc.
    Any idea?
    /jörg

    Curious here, too.  Seems that the system integrating with Connect might want be able to discover the answer text values also.  Possibly some action that would return the poll questions and available answer selections for the meeting/seminar to be mapped back to user responses?
    Any help would be appreciated.
    Thanks.

  • Simulate multiple request / response with a HTTP URL

    I need to communicate with a servlet. In the first request, the user gets authenticated and a connection is created. Now I need to use this connection to send further requests since all requests undergo an authentication check.
    However, when I try to implement the same, the second time I write to the output stream of the connection, I get the following exception:
    java.net.ProtocolException: Cannot write output after reading input.
    Please help! I need to create an application which communicates with this Servlet in the specified way

    Now I need to use this connection to send
    further requests since all requests undergo an
    authentication check.That's not how HTTP works. For each request, you have
    to make a new connection. And as for authentication,
    it's perfectly feasible for you to do the
    authentication for every single request, but (at
    least in the case of basic authentication) browsers
    tend to send an Authorization header once they have
    done the original authentication dialogue. You could
    do that too.Also, underneath it all, HTTP 1.1 tries to maintain a socket connection so you don't have that overhead to deal with each time. But as DrClap says, you need to use fresh HTTP instances each time and set the appropriate session/authentication headers.

  • BPM: Multiple synchronous receivers

    Hi Friends,
       I am trying a scenario : File --> XI > RFC(Multiple Receviers)> File(single).
       Can i send the message to multiple synchronous receivers using BPM. My Scenario goes like this...
    1). Send file to XI.
    2).Use BPM to send it to RFC(Multiple Synchronous Receivers).
    3).Send this response to Asynchrounous Receiver ( Write the response to a File using time stamp. So that all the response messages can be written) .
       Is it possible to do this using BPM... Ofcourse i have done a scenario for Multiple Asynchronous receivers using receiver determination and block step in BPM..

    Hi,
    You can use send synchronous call in your scenario.
    The point is, there can be multiple synchrounous calls from the send step.
    You would need a way to distinguish the 1st response from the second response. Therefore,we need to make use of correlation.
    After the send step, we need to use a receive step(with correlation), which will receive only the response corresponding to the correct request.
    Basically we are using the receive step with correlation here, to make sure that, we donot receive and process, the 2nd response(or 3rd or 4th response) for the 1st request.
    You said, your scenario is not working. Where exactly are you getting the error.
    Regards,
    Smitha.
    Message was edited by: Smitha Rao

  • Defining Multiple operations for async calls in OSB

    Hi,
    I have three Asynchronous BPEL processes- BPELProcessA, BPELProcessB and BPELProcessC
    I am trying to invoke BPELProcessB and BPELProcessC from BPELProcessA through an OSB Proxy service. I want to use a single proxy service to make calls to BPELProcessB and BPELProcessC from BPELProcessA . To do this I defined multiple operations in the wsdl of the proxy service. This is not working
    But I am able to implement the following
    1. If BPELProcessB and BPELProcessC are Synchronous, I am able to invoke BPELProcessB and BPELProcessC by defining multiple operations in the proxy service wsdl
    2. I am able to invoke and receive response from 1 Asynchronous BPEL process by defining 1 operation in the proxy service wsdl. I followed the approach described at [http://download.oracle.com/docs/cd/E13159_01/osb/docs10gr3/bpelpmtransport/transport.html#wp1111338]. Does this mean for each asynchronous BPEL, I need a separate pair of OSBs for each async process ( 1 for request and 1 for callback)?
    Has anyone tried invoking multiple asynchronous processes by defining multiple operations in the wsdl?
    Kindly request every to give inputs

    Hi Eric
    Below is the flow and error we are getting:
    ProcessA is calling ProcessB and ProcessC through common OSB. In OSB we have created individual business services for ProcessB and ProcessC.I am using common Proxy service for calling these two Business Services using different operations.I have created one callback business service and Proxy service for ProcessA.
    I am successfully able to call BPEL processes, ProcessB and ProcessC, but during callback client activity these two BPEL processes are failing with below error and ProcessA is going in waiting on receive activity state:
    nested exception is:ORABPEL-00000
    Exception not handled by the Collaxa Cube system.
    An unhandled exception has been thrown in the Collaxa Cube system. The exception reported is: "ORABPEL-08010
    Failed get operation definition.
    Failed to get the WSDL operation definition of "onResult" in portType "{http://xmlns.oracle.com/AsyncBPELProcess}AsyncBPELProcessCallback".
    Please verify that operation "onResult" is defined in portType "{http://xmlns.oracle.com/AsyncBPELProcess}AsyncBPELProcessCallback".
         at com.collaxa.cube.ws.wsdl.WSDLUtils.getOperation(WSDLUtils.java:216)
         at com.collaxa.cube.ws.wsdl.WSDLUtils.getOperation(WSDLUtils.java:208)
         at com.collaxa.cube.ws.wsdl.WSDLManager.isOneWayOperation(WSDLManager.java:517)
         at com.collaxa.cube.engine.core.BaseCubeProcess.getOperationType(BaseCubeProcess.java:735)
         at com.collaxa.cube.engine.delivery.DeliveryHandler.getOperationType(DeliveryHandler.java:778)
         at com.collaxa.cube.engine.delivery.DeliveryHandler.post(DeliveryHandler.java:71)
         at com.collaxa.cube.ws.WSIFInvocationHandler.invokeLocalService(WSIFInvocationHandler.java:1338)
         at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:287)
         at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:528)
         at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:248)
         at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:829)
         at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:412)
         at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:199)
         at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3714)
         at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1657)
         at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:220)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:317)
         at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5787)
         at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1089)
         at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:589)
         at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:421)
         at sun.reflect.GeneratedMethodAccessor75.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAs(Subject.java:396)
         at com.evermind.server.ThreadState.runAs(ThreadState.java:695)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at CubeDeliveryBean_LocalProxy_4bin6i8.handleInvoke(Unknown Source)
         at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:141)
         at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:58)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
         at java.lang.Thread.run(Thread.java:595)
    Exception: ORABPEL-08010
    Failed get operation definition.
    Failed to get the WSDL operation definition of "onResult" in portType "{http://xmlns.oracle.com/AsyncBPELProcess}AsyncBPELProcessCallback".
    Please verify that operation "onResult" is defined in portType "{http://xmlns.oracle.com/AsyncBPELProcess}AsyncBPELProcessCallback".
    Handled As: com.collaxa.cube.CubeException

  • (RFC vs files), where Sender SAP and receiver multiple system

    Publish and Subscribe using  BPM or Without BPM (RFC vs files), where Sender SAP and receivers multiple system,.
    This is my 1st BPM scenario in sandbox system
    For this scenario
    I Created 2 Data types
    2 MT,
    Service interface:
    Request interface Mode:Asynchronous
    Abstract Req interface,Mode:Asynchronous
    Response Interface,Mode:Asynchronous
    Abstract Respomse Interface ,Mode:Aysnchronous
    Synchronous Interface ,Mode:Synchronous
    2 Message mapping for Req and Resp
    1 Operation Mapping
    BPM design: Plz find the attatchement
    Can anyone please help me how many Interface determinations,receiver determinations ,sender agreements,receiver agreements need to create for this.......
    It will be good if anyone send the BPM design flow for this.........
    can we do this scenario without BPM?
    Regards
    A.Muni kumar
    Edited by: Muni 1234 on Jan 31, 2012 10:24 AM

    Hi
    Receiver is FTP only.....
    SAP side is RFC.........
    RFC sender will be initiating the scenario, and there is receiver is File, PI should go to file directory and take the file then send it back to RFC as response.
    Sender: RFC
    Receiver: File
    1. is this scenario with condition based routing.. so that each time outof many receiver systems it will trigger any specific system.
    if above is the case then you can achive this without BPM also..
    Yes...its condition based routing...
    I Used async in this scenario.....sender side configurations also done....
    But when when I am triggering BAPI from SE37 I am getting an error
    Exception SYSTEM_FAILURE
    Message ID: 00 Message number: 341
    Message:
    Runtime error CALL_FUNCTION_NOT_FOUND has occurred
    How to Solve this????
    I checked the RFC destination which i created in TCP/IP..a nd i mentioned the same in se37 RFC target system..
    Connection is Ok
    Or we need to create proxy for MI and report for this?
    Edited by: Muni 1234 on Feb 1, 2012 8:38 AM

  • How do I access the DCJMS* variables in my response SOAP:Header ?

    Hi all,
    I have set up a sync / async Integration Process in XI
    This is initiated by a SAP R/3 transaction that calls a synchronous function to enter XI
    Once in the Bridge, a JMS receiver adapter sends out an asynchronous request message from XI to MQ
    A correlation allows the JMS sender adapter to return an asynchronous response message from MQ to XI back into my the Integration Process
    I have set up the JMS sender adapter configuration to return the DC (dynamic configuration) variables in the <SOAP:Header> of the XI response message along with the payload
    You can see that the DCJMS* variables are returned below
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--
    Response
      -->
    - <SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SAP="http://sap.com/xi/XI/Message/30">
    - <SOAP:Header>
    + <SAP:Main xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" versionMajor="003" versionMinor="000" SOAP:mustUnderstand="1" wsu:Id="wsuid-main-92ABE13F5C59AB7FE10000000A1551F7">
    + <SAP:ReliableMessaging xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
    + <SAP:HopList xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
    + <SAP:RunTime xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
    + <SAP:PerformanceHeader xmlns:SAP="http://sap.com/xi/XI/Message/30">
    - <SAP:DynamicConfiguration xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Record namespace="http://sap.com/xi/XI/System/JMS" name="DCJMSCorreleationID">40D982A0-B19D-11DB-9508-0002A5D5916B</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/JMS" name="DCJMSTimestamp">1170297456940</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/JMS" name="DCJMSMessageID">ID:414d5120514d4430312020202020202045c12b962001dd02</SAP:Record>
      </SAP:DynamicConfiguration>
    - <SAP:Diagnostic xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:TraceLevel>Information
    <b>Question</b>
    I want to access the DCJMS* variables but am not sure how to go about it as the
    variables exist in the <SOAP:Header>?
    I followed the SAP documentation to access adapter-specific attributes (refer to link http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm )
    I have used the following code to create a user-defined function for the accessing adapter specific attributes (similar to the link)
    public String Get_Msgid(Container container){
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get
    (StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create
    ("http://sap.com/xi/XI/System/JMS","DCJMSMessageID");
    String jmsMsgID = conf.get(key);
    return jmsMsgID;
    <b>Question</b>
    Do I use message mapping to extract the DCJMS* variables?
    <b>Question</b>
    If so then which message is used for the source message so that I can access the <SOAP:Header>?  Eg do I use the response message type or is there a trick to accessing the SOAP:Header?
    <b>Question</b>
    Do I use the user-defined function (like above)?
    I performed the following steps
    •     Opened the message mapping in edit mode
    •     Created the user-defined function using the graphical editor
    •     Saved the message mapping
    •     I have not connected the user-defined function to any of the xml tags in either the source or target messages
    When I go to test the message mapping I am getting the following error
    Compilation process error : CreateProcess: null\bin\javac -J-Xmx256m @E:/usr/sap/XID/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapd79a7bf0b65611dbaf390002a5d5916b/O1170817003886.txt @E:/usr/sap/XID/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapd79a7bf0b65611dbaf390002a5d5916b/S1170817003886.txt error=2
    STACKTRACE:
    com.sap.aii.ib.core.mapping.exec.ExecuteException: Compilation process error : CreateProcess: null\bin\javac -J-Xmx256m @E:/usr/sap/XID/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapd79a7bf0b65611dbaf390002a5d5916b/O1170817003886.txt @E:/usr/sap/XID/DVEBMGS00/j2ee/cluster/server0/./temp/classpath_resolver/Mapd79a7bf0b65611dbaf390002a5d5916b/S1170817003886.txt error=2
    at  com.sap.aii.ib.server.mapping.exec.ServiceUtil.compileSourceCode(ServiceUtil.java:207)
    at com.sap.aii.ib.server.mapping.exec.ServiceUtil.compile(ServiceUtil.java:156)
    at com.sap.aii.ibrep.server.mapping.ServerMapService.compileSourceCode(ServerMapService.java:361)
    at com.sap.aii.ibrep.server.mapping.ServerMapService.compileSourceCodeWithoutAndWithArchives(ServerMapService.java:301)
    at com.sap.aii.ibrep.server.mapping.ServerMapService.execute(ServerMapService.java:153)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.execute(MapServiceBean.java:52)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0.execute(MapServiceRemoteObjectImpl0.java:259)
    at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0p4_Skel.dispatch(MapServiceRemoteObjectImpl0p4_Skel.java:146)
    at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:304)
    at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:193)
    at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:122)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    A thread in the SDN (Error while Activating Message Mapping, Posted: Jan 9, 2007 3:32 PM) suggests checking the java path on the XI machine
    This is JAVA_HOME=C:\j2sdk1.4.2_08 and seems ok
    <b>Question</b>
    Do you know why I would get the compilation error?
    Any assistance would be appreciated
    Regards,
    Mike

    Jin,
    My compilation issue has gone via a SAP recommendation to specify the JDK home directory in the instance profile
    Back to the mapping - I can now run my scenario
    <b>Source message</b>
    The response message has the following <SOAP:Header> from which I want to extract the DCJMSCorreleationID (note that it's misspelt)
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Response
      -->
    - <SAP:DynamicConfiguration xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Record namespace="http://sap.com/xi/XI/System/JMS" name="DCJMSCorreleationID">40D982A0-B19D-11DB-9508-0002A5D5916B</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/JMS" name="DCJMSTimestamp">1170297456940</SAP:Record>
      <SAP:Record namespace="http://sap.com/xi/XI/System/JMS" name="DCJMSMessageID">ID:414d5120514d4430312020202020202045c12b962001dd02</SAP:Record>
      </SAP:DynamicConfiguration>
    <b>Grahpical mapping</b>
    LHS - Response message with occurrance 0..1 so it is not connected to my UDF
    UDF Get_Corrid with no inputs
    RHS - The UDF output is connected to the Acknowledgement msg tag <ACK>
    <b>UDF</b>
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get
    (StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create
    ("http://sap.com/xi/XI/System/JMS","DCJMSCorreleationID");
    String Corrid = conf.get(key);
    return Corrid;
    <b>Target message</b>
    The idea is to copy the correlation id of the response message into the acknowledgement message.  But as you can see the result is NULL
      <?xml version="1.0" encoding="utf-8" ?>
    - <ns2:AWB0020_MARKET_DATA_RESPONSE_ACK xmlns:ns2="http://awb.com.au/mq/tx/MarketData">
      <ACK>null</ACK>
      </ns2:AWB0020_MARKET_DATA_RESPONSE_ACK>
    Please advise
    Thanks Mike

  • JDBC Sender MSSQL Stored Procedure - Multiple Select Statements

    Hello all,
    I will proceed to tell you my problem, for which solution I request your kind advice:
    Im working in a project for a retailer, which consists in sending the information from erp and sql server to pos thru XI interfaces.
    One of the interfaces is about sending items from sql server to a file so the pos can load it into the system. For doing so I have devloped an stored procedure which function is to return several select statements as many stores the retailer might have, so they can have a different file per store along with its corresponding items in it. 
    The thing is that XI just gets the first select statement and creates the corresponding file, but it seems to ignore the remaining responses as I'm neither getting any file nor an error afterwards.
    So, my question is: is XI capable of handling multiple select responses from an Stored Procedure in graphical mapping??? Or am I just wasting my time trying?
    Thanks in advice for your help.
    Regards.

    Hello Ramkumar,
    After 5 days trying, I finally made it work out applying your advice. Below the short explanation of what I did:
    My Source structure is: Main Node->Row->Records (Material Number, StoreNum, Price, Status)
    My Target structure is: Main Node->File Node->Record Node->Records ( Material Number, Price, Status)
    The key was to make all the occurrences happen against StoreNum node. So, based on what you adviced these two where the key mappings:
    1) The Mapping that will create a new file for each different store that comes in the query (In my case, query was already sort by store using an sql "order by" function, if not you can also use xi node function "sort" as Ramkumar suggested)
    StoreNum->RemoveContext->SplitbyValue (Value Changed)->Collapse Contexts->File Node
    2) The Mapping that will create each record in its corresponding store file:
    StoreNum->RemoveContext->SplitbyValue (Value Changed)->Record Node
    And Voilá !!! It worked.
    Thanks very much Ramkumar.
    Regards.

Maybe you are looking for

  • Error While invoking BPEL Service from ADF Page

    Hi All, JDev Version: 11.1.1.3.0 Currently in my application through ADF apps i am invoking BPEL service upon cliking of 'Submit' Button, so that BPEL service will be invoked and it procees But now its throwing below error, Any suggestion please????

  • Firefox 7.0.1 for Mac will NOT download successfully

    I am about to quit using FF for good, I am so frustrated. When I click on the Update to FF 7.0.1 for Mac, the URL shows in a new window, and a "data transferring from xxx" shows at the left bottom of the window, which is blank. Once or twice the blue

  • Open Attachment option in Mail opens incorrect invite in Calendar

    My issue: if I double click or use the Open Attachment option in Mail for calendar invites, an invite from 2 years ago opens in Calendar for me to accept. If I use the Add to Calendar function, no problem & reads like it should do. I upgraded to ML a

  • Why is the Discussion on the Moto X Update Locked?????

    Here is the thread I am referring to: https://community.verizonwireless.com/thread/806362 Below is the message I was trying to send to the community leaders and VZW customer support reps who commented on this thread, but I'm not being followed by the

  • Connect Crystal report with FI Data through MAXDB ERP Tables or Datasources

    Hi, I want to create crystal report queries for SAP ERP FI Data. The source system database is MAXDB. How can i connect the maxDB database or ERP to crystal report? Do i need tables or datasources to create queries, and how do i connect them to cryst