Async.asyncNativeResponder in place of Async.Responder?

I'm using 4.1 and the asyc class doesn't seem to have Async.Responder, so I tried this:
token.addResponder(Async.asyncNativeResponder(this, onResult, faultHandler, 600));
but get an issue:
Implicit coercion of a value of type flash.net:Responder to an unrelated type mx.rpc:IResponder.

There are two types of responders:
flash.net.Responder which is in Flash Player 
mx.rpc.IResponder which is a Flex class
So, if you want to be able to use mx.rpc.IResponder (a Flex class) you need to have a Flex build of FlexUnit. This functionality is not included in the ActionScript only build as it is not part of the ActionScript API.
If you have a Flex build the Async class will have:
Async.asyncResponder() which returns an IResponder
Async.asyncNativeResponder() will return a flash.net.Responder, hence your error.
Mike

Similar Messages

  • XI to webservice(async) and Webservice to XI (Async)

    Here is my requirement.
    I want to send some details from XI async and i do not want any reponse from webservice.
    I need to have some basic information about webservice like how it stores the data,how it receives the data from XI(don mention by SOAP adater),how it sends data to XI incase of async..etc..
    Please make me clear about the basics of webservice.

    The SOAP adapter FAQ on service market place explain Asynch SOAP calls the best, and I quote,
    2. Sender Asynchronous Calls
        * Q: What are the correct sender options for asynchronous calls?
               A: The setting in the channel configuration determines how the message is passed to the XI infrastructure. Setting the channel's quality of service to ExactlyOnce guarantees the delivery of the message exactly once between the adapter and the back end. This will not automatically guarantee the delivery with exactly once between the client and the back end. The behavior of the client determines the level of quality of service achieved.
               When the client sends a SOAP message and ignores the response completely as in "fire-and-forget", the quality of service with AtMostOnce may be realized.
               When the client sends a SOAP message and checks if the response is an HTTP 200 response message, the quality of service with AtLeastOnce can be realized. In this case, the client must resend the message until such a successful response is returned. When the message successfully accepted by the adapter, an HTTP 200 response with an empty SOAP envelope is returned.
               When the client resends the message, there is a possibility that the message may arrive more than once. However, this possible duplicate only happens, when the client previously received no response message at all or an HTTP 500 with duplicate message ID error. For all other cases, the client can resend the message without resulting any duplicate. In order to eliminate duplicates for all cases, the client may send the message with a unique message ID. This message ID will be used to create an XI message so that the identity of the created XI message and that of the original SOAP message are coupled. The client must resend the message with the same message ID until an HTTP 200 reponse is returned or an HTTP 500 response with SOAP fault DuplicateMessageException. In either case, the client can assume that the message is delivered exactly once (theoretically the message ID could be identical to another message ID used previously but the probability of this is extremely low).
    Receiver Asynchronous Calls
        * Q: What are the correct receiver options for asynchronous calls?
               A: The processing mode of the receiver is determined by the message that reaches the receiver. If you are sending a message with some quality of service, to provide this service of quality to the server, your must make sure two things. First, your receiver channel must be configured to pass the XI message ID to the server. Second, your web service must check duplicates using this message ID.

  • Async/ Sync without BPM where Async channels are different.

    Hi Guys,
    I've created a couple of async/ sync bridges without BPM for File to Web Service to File and for JMS to Web Service to JMS.
    Is it possible to use two different types of asynchronous communication channels when creating an async/ sync bridge? I've tried to create a File to Web Service to JMS queue, but it fails with the following error appearing on the File communication channel.
    Error: com.sap.aii.af.service.cpa.impl.exception.CPAObjectKeyException: Value of key must not be null: ObjectId
    All the best,
    John

    Hi John,
    Actually the fact that you get this error in the sender file CC makes me think is it purely related to the communication channel configuration. Try to make sure if your scenario works without the additional RequestResponseBean in the receiver (so as a simple Async scenario). When you have that one working, try to add the RequestResponseBean.
    Hope this helps,
    Greg

  • RFC to HTTP (Async) and HTTP to RFC (Async)

    Guys,
    I have one scenario.
    RFC need to be Executed (Async) to Fetch a XML file at one location.
    Say. www.onecompany.com/details.xml
    How should I Proceed.?
    Which adapter should I use HTTP or SOAP.
    Should I have combination of RFC to HTTP and the HTTP to RFC.
    Kind of confuse.
    Please help.
    BD.

    Ok,
    i am doing it in the way you suggested. (syncronous)
    i have following problems.
    1. How to configure the Reciver HTTP Adapter.
    2. What should I use in Address Type.
        HTTP Destination or URL Address.
    3. If I use HTTP Destination , The length of the field is very short to accomodate complete address.
    4. If I use URL address, what should I put in all the fields , like Target host, Service Number, path.
    I have URL , something like this, www.yahoo.com/exchangerates.xml
    I dont know what to put in Target Host, service name and host.
    Please help.

  • Async tests and Assert throws exceptions

    Hi,
    In a regular non-async test, something like Assert.assertEquals( "apples", "oranges" ); gives a nice report that the strings didn't match.  The test fails and the suite continues and all is good.  If the test is asynchronous, though, you get an uncaught exception, and a timeout on the test rather than a nice report.  Worse, it will cause a command-line based test to freeze with a stack trace showing (if you have a debug version of Flash, of course), until you hit the dismiss button.
    Here's an example.  Without the Assert.assertEquals line, the test passes after two seconds as expected.  With the Assert.assertEquals in place, you get the behaviour I described.  So the question is, how do I use asserts in an asynchronous test?  I want the behaviour that you get with synchronous tests, i.e. a nice report and no pop-up dialog showing the stack.
            const TEST_COMPLETE:String = "testComplete";
            [Test(async)]
            public function myAsyncTest():void   
                Async.proceedOnEvent( this, this, TEST_COMPLETE, 5000 );
                var t:Timer = new Timer(2000, 1);
                t.addEventListener(TimerEvent.TIMER, timeout);
                t.start();
            private function timeout(e:Event):void
                Assert.assertEquals( "apples", "oranges" );
                dispatchEvent( new Event(TEST_COMPLETE) );
    Any help?
    Thanks!
    DB

    The code you have below doesn't do what you think it does.
    When you setup an async test in FlexUnit, it needs to know what code is related to a given test. When you use items like the asyncHandler() methods, it basically calls that code in a way that watches for assertions and can manage to track them when they occur.
    In your code, you are setting up a timer and that timer is calling another method which does an assertion. The timer calls that code directly from the top of the call stack... in other words, completely outside of FlexUnit. FlexUnit doesn't know your method is being called and cannot wrap the call in order to catch any information thrown from your assertion.
    Can you describe what you want to do and I can advise you on the right syntax? It isn't that assertions work differently in async tests, it is that FlexUnit has no idea that the timeout() method is being called, Flash Player is calling it directly, and hence there is no way for it to watch the assertion.
    I am guessing you want something more alogn the lines of this, but I am not sure:
    Test(async)] 
    public function myAsyncTest():void{
    var t:Timer = new Timer(2000, 1); 
    var handler:Function = Async.asyncHandler( this, timeout );t.addEventListener(TimerEvent.TIMER, handler );
    t.start();
    private function timeout(e:Event, passThroughData:Object ):void
    Assert.assertEquals(
    "apples", "oranges" );}

  • CRM 2013 - Convert Async workflow to Synchronous

    Hi,
    I already have a async workflow in place in CRM but I would like to convert the workflow to synchronous workflow and set ‘Execute’ as “The user who made changes to the record”
    in the synchronous workflow programmatically. I am able to find the required workflow and deactivate it. How do I set the workflow's mode property to WorkflowMode.Realtime?
    //Deactivate the workflow
    var deactivateRequest = new SetStateRequest
    EntityMoniker = new EntityReference (Workflow.EntityLogicalName, ent.Id),
    State = new OptionSetValue((int)WorkflowState.Draft),
    Status = new OptionSetValue(1)
    orgService.Execute(deactivateRequest);
    //Convert workflow to Synchronous workflow
    UpdateRequest updateWorkflowType = new UpdateRequest()
    //How to set Mode property to WorkflowMode.Realtime?
    orgService.Execute(updateWorkflowType);
    Thanks,
    Anna'

    Hello,
    Try to use following code:
    Entity workflow = new Entity("workflow")
    Id = ent.Id
    workflow["mode"] = new OptionSet(1);
    orgService.Update(workflow);
    Dynamics CRM MVP/ Technical Evangelist at SlickData LLC
    My blog

  • Async testing question

    Hello,
    I would like to now how to proceed to test a delegate class that is taking an IResponder as method parameter.
    For exemple :
    LoginDelegate.as (simplified version) :
    public function login( responder : IResponder, username : String, password : String ) : void
    var s : SomeService = new SomeService();
    s.addEventListener( ResultEvent.RESULT, responder.result );
    s.addEventListener( FaultEvent.FAULT, responder.fault );
    s.login( username, password );
    As you can see, the delegate communicate with some backend service and then calls the provided responder methods.
    I tried to use Async.asyncResponder without luck:
    [Before(async)]
    public function runBeforeAsyncTest():void
    var d : LoginDelegate = new LoginDelegate();
    var responder : Responder = new Responder(result,fault);
    Async.asyncResponder(this, responder, 5000);
    d.login(responder, "someuser", "somepass");
    public function result(data:Object):void
    trace("result");
    public function fault(info:Object):void
    trace("fault");
    [Test]
    public function testLoginFail():void
    trace("testLoginFail")
    Assert.assertEquals("5", 5);
    It goes in result method, then It fails with :
    testLoginFail Error: Timeout Occurred before expected event
    Can someone please tell me how to test my delegate properly
    Thank you in advance

    Ok this seems to work, but I don't know if it is considered best practice :
    (I would still like to hear from someone used to test delegate)
    [Before(async)]
    public function runBeforeAsyncTest():void
    delegate = new LoginDelegate();
    user = null;
    [After(async)]
    public function runAfterAsyncTest():void
    delegate = null;
    [Test(async)]
    public function testLoginPass():void
    var responder : IResponder = Async.asyncResponder(this, new Responder(result,fault), 5000);
    delegate.login(responder, VALID_USER_ID, VALID_USER_PASS);
    public function result(data:Object):void
    user = data as UserDTO;
    Assert.assertTrue( user is UserDTO && user.id.toString() == VALID_USER_ID );
    public function fault(info:Object):void
    Assert.assertNull(user);

  • Interface Problem Sync/Async (Open Bridge)

    Hello everyone,
    we made the migration from PI 7 to PI 7.01 EHP1 SP7.
    After this migration, the Sync interface with BPM (Opens Bridge), began to give trouble.
    It turns out that the interface in SMQ2 stand still for a long time, and after some time, timeout error occurs.
    In transaction SXMS_SAMON, I noticed that some processes are in timeout.
    It seems the problem is that the interfaces are entering the SMQ2, in PI can not sue for any reason.
    Has also altered the value of the parameter CHECK_FOR_MAX_SYNC_CALLS most did not.
    Does anyone have any idea how we can solve this problem ?
    Thank you all.
    Marlon

    Interface Mapping is between SOAP Request <--> Your XML message Request Response.
    Only one interface mapping is required.
    Message Interface Required
    1. SOAP Synchronous
    2. XML Request Async
    3. XML Resp Async
    4. XML Message Request Response Sync
    Gaurav Jain
    Reward Points if answer is helpful

  • Call sync BPM from Async BPM - issue

    Hi,
    Outline: I'm trying to call a synchronous BPM from an asynchronous BPM in a PI 7.0 SP 14 system.
    When doing so i get the following error: Object CL_SWF_XI_MSG_BROKER method SEND_SYNCHRON cannot be executed.
    Now this is an oldie when searching the forums for this error message. I do however fail to see a solution to the problem.
    Note that the following notes (referred to in similar posts)
    - 710445
    - 718734
    - 830803
    are implemented since theese refer to older versions of PI.
    My scenario is very simple at present since i've startet from scratch again after getting the error. So what i do is:
    1) send async message to async BPM
    2) async BPM receives request
    3) async bpm transform request til sync_request.
    4) async BPM calls synchronous BPM
    5) sync BPM receives request and opens a async/sync bridge
    6) sync BPM maps request to response
    7) sync BPM sends response and closes async/sync bridge
    8) async BPM reveices sync_response
    9) async BPM sends sync_response to some application
    Now step 8 i never succesfully executed. Instead the error earlier described is triggered.
    For simplicity i use 1 and only 1 message type in all message interfaces. I have mapping between my synchronous interfaces outside of BPM.
    The synchronus BPM is executed just fine. The only issue is getting the reponse back to the asynchronous BPM.
    I am familiar with the following similar posts:
    - Object CL_SWF_XI_MSG_BROKER method SEND_SYNCHRON cannot be executed
    - Problem in posting the data in the syncronous mode
    but find them to be of no use.
    Hope someone can help.
    Best Regards,
    Daniel

    Daniel Hans Engsig-Karup wrote:First you do not need any bridges if it is asyn/sync kind of a scenario in the second BPM. You need a bridge when the bpm has to wait with a sync call coming in and response in an async call. Essentially your BPMs (I donno why you need 2.. but let us go with 2)
    >
    >
    > 1) send async message to async BPM
    > 2) async BPM receives request
    > 3) async bpm transform request til sync_request.
    > 4) async BPM calls synchronous BPM
    > 5) sync BPM receives request                        
    (Remove this if you are calling a sync system here) and opens a async/sync bridge
    > 6) sync BPM maps request to response
    > 7) sync BPM sends response
    Remove this and closes async/sync bridge
    > 8) async BPM reveices sync_response
    > 9) async BPM sends sync_response to some application
    >
    VJ

  • Sync-Async Gotchaa

    Hi Friends,<br>
    I am in a problem, I have one jpd published as a webservice to a poral [synchronous] client. This jpd is asynchronous,meaning it have separate client request and client response node, but the same jpd is calling one more process control[async again] to do the dirty work of tranforming incoming request and then sending to legacy system using JMS control[async activity]. The question is, can we call the outer jpd [that is published as a web-service] synchronously from a portal page. I seen the weblogic docs they say to make sync-async wsdl file and define client callback method,I tried it but it doesn't work.<br>I think my design fall in some limitation that the doc is talking about as in between pair of client request and client response node I have another client request to the process control [for transforming and sendng receiving message].<br>
         <b>Is there anyother way to make it work?<br>
         Did anyone got the same problem before?<br>
         Guys, you need to help me in this pls<br>I already tried lots of permutation and combination to arrive at this design so pls don't ask me to change this now. :(<br>
    Cheers,<br>
    Shailesh

    Hi Rohini,
    Sync/async communication enables a synchronous sender system to communicate with a receiver system that cannot process synchronous messages.
    The central component of sync/async communication is the sync/async bridge, which enables the Integration Server to receive synchronous messages from a sender and send them to a receiver as asynchronous messages. Conversely, it can send the asynchronous response from the receiver back to the sender as a synchronous response.
    To do this, you define an integration process, which is started as soon as a synchronous message is received from the sender system. The process uses a special receive step to open the sync/async bridge, sends the received message to the receiver system asynchronously, and waits for the asynchronous response to arrive from the receiver.
    The Business Process Engine receives the asynchronous response from the receiver, correlates it with the corresponding query, and activates the waiting process, which then sends the response back to the sender synchronously.
    There is an example of the Sync/Async Bridge in th SWCV: SAP BASIS.
    Namespace: http://sap.com/xi/XI/System/Patterns
    Go through this link to get a good idea as to how to <a href="http://help.sap.com/saphelp_nw04/helpdata/en/43/65d4dab39b0398e10000000a1553f6/frameset.htm">Define Sync/Async Communication</a>
    This blog also should give you some idea...
    https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1403 [original link is broken]
    Also go through these links:
    http://help.sap.com/saphelp_nw04/helpdata/en/83/d2a84028c9e469e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c4/dc06418752ef6fe10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/f9/66bf40ad090366e10000000a1550b0/RN_XI_DE_neu.pdf
    I hope it helps.
    Regards,
    Abhy
    Message was edited by: Abhy Thomas

  • Sync/Async - JMS receiver comm. channel not processing

    I have a Sync/Async scenario (without bpm) in PI 7.11:
    RFC -> PI -> JMS
    whereby the JMS receiver comm. channel does not fully process the message. 
    More specifically, the RFC sender comm. channel gets a message in and passes the message to the JMS channel, but that JMS channel within the RWB comm. channel log only shows the entry:
    - Message processing started
    The odd twist to this is that when we bring the PI server down, then back up again, (or wait a period of time, still trying to determine this period) the FIRST message attempt does successfully get processed, i.e. the first message on that JMS receiver comm. channel RWB log shows as:
    - Channel successfully processed the message: 08499236-387c-11e0-b002-000025bab2c2
    - Stored the correlation ID 08499236-387c-11e0-b002-000025bab2c2 of the request JMS message: ID:c3e2d840d4d8d4f24040404040404040c754dc12d8b54ec6  correponding to the XI message: 08499236-387c-11e0-b002-000025bab2c2
    - Message processing started
    (but then because of an issue on the target system, no response comes back, so then we'll additionally get the log entry:
    - Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: no message received
    Any suggestions appreciated on what I can check here to try and figure this out. Possibly because the first message eventually errors out, it is stopping the other subsequent msgs from getting processed...
    When I check the audit logs of a 'success' msg vs. a not-successful msg, the success msg has an entry (and subsequent entries) of:
    14.02.2011 12:50:19 Information Transform: transforming the payload ...
    14.02.2011 12:50:19 Information Transform: successfully transformed
    14.02.2011 12:50:19 Information ROB: entering RequestOnewayBean
    14.02.2011 12:50:19 Information ROB: forwarding the request message
    14.02.2011 12:50:19 Information ROB: leaving RequestOnewayBean
    14.02.2011 12:50:19 Information JMS Message was forwarded to the JMS provider succesfully."
    14.02.2011 12:50:19 Information XMB Message as Binary was forwarded to the SAP XI JMS service succesfully.
    14.02.2011 12:50:19 Information WRB: entering WaitResponseBean
    14.02.2011 12:50:19 Information WRB: retrieving the message for 08499236-387c-11e0-b002-000025bab2c2 ...
    wheras the non-success msg shows only:
    14.02.2011 12:55:30 Information Transform: transforming the payload ...
    14.02.2011 12:55:30 Information Transform: successfully transformed
    14.02.2011 12:55:30 Information ROB: entering RequestOnewayBean
    14.02.2011 12:55:30 Information ROB: forwarding the request message
    14.02.2011 12:55:30 Information ROB: leaving RequestOnewayBean
    So, we can see that the message is not "forwarded to the JMS provider..." in the non-success case.
    And also the  sxi_monitor shows these messages with a status of "Log version".
    Keith

    Hi Siddhesh - yes that was a while back and am trying to remember the resolution.  I have implemented sync/async bridges (as well as async/sync bridges) successfully, so I don't mind checking your settings, particularly I am interested in the settings within the Module tab of the JMS receiver.  I can then compare to mine if you'd like.  Also if you can let me know what underlying queuing system in that target system (e.g. MQSeries?) that would be great.
    Regards,
    Keith

  • MSIE vs. Firefox and asynchronous AJAX...is MSIE really NOT doing async?

    Apex v4.1
    MSIE v8.0 and Windows XP
    Firefox v6.0.2
    Background
    Sorry it's a lot but I figure giving all this context would help avoid tangental questions that could derail from my real question(s).
    I have a master-detail page where I have such business and functional requirements to do a lot of various validations, checking, disabling/enabling, etc. in the detail region. Given that detail regions in master-detail pages are nothing more than tabular forms that are filtered by the master record's PK and that tabular forms have limited validation and nonexistent calculation ability via declarative calculation processes, my detail region is immensely javascript heavy. In addition, I have the functional requirement that the user see all detail lines on the same page, so I cannot limit the page to 10-15 lines per page anyway.
    When the page loads, I need to do a number of functional things to the detail region before the page control is turned over to the user, such as:
    1. Disable certain columns that are saved as database columns but never touched by the user.
    2. Disable certain columns that the user does not have authorization to modify (but tabular forms have no "readonly" attribute for columns like page items do)
    3. Disable certain fields on a row (but not on all rows) based on business rules (e.g.: if PART_NO on a row is null, PART_SERIAL_NO on that row only needs to be disabled (as the user shouldn't be able to enter it).
    4. Etc., etc...you get the idea. There are just a lot of things that cannot be declaratively done to a tabular form column and also things that cannot be done on a row-by-row basis, hence the javascript.
    When the page loads, I also have to do two cosmetic things to the rows and these can be done after the control is turned over to the user since they are cosmetic only and do not affect their ability to be disabled out of a row-field combo, etc.:
    1. For one column that is a popup key LOV, override the displayed value with a different value than Apex generates from the LOV definition. In other words, the LOV definition is "a || b" for the display value and "c" for the return value, but on the main page the users want "a" for the display value that they see.
    2. For all records, evaluate several fields on a record and as a result, highlight certain other fields in red, yellow, or black via the background color.
    Everything is actually working in both MSIE and Firefox and I'm happy about that. However, the stuff I'm doing in the second group (the popup key LOV display field and the coloring of the background of fields) is only working nicely and quickly in Firefox but is super slow in MSIE. My worst-case scenario in testing is my master-detail has 281 detail rows and in Firefox it takes about 20-25 seconds to paint the page, give control to the user, and then finish doing the asynchronous AJAX stuff after that (which sems to also go quickly). In MSIE, my page rendering time ranges from 1 minute 30 seconds with the AJAX async stuff commented out and not even running to over five minutes (!) with the AJAX stuff left in and running. The difference of 4+ minutes also implies to me that the AJAX stuff is not running asynchronously (or if it is, something else is getting in the way of the effective purpose of it being asynchronous).
    Right or wrong, how I built my page is that since a lot of the Javascript code is to act on the detail region onlly, I defined the javascript in the region and not in the page just so that when the detail region isn't displayed (usually when a new master is being created), we don't even display or render any of the javascript.
    When the detail region does show, the Javascript that goes along with it to do all the work to the detail region rows/columns also runs.
    Example...this is in the region footer of the detail region:
    <script type="text/javascript">
    //Always when region loads
    //Initialize special processing on the fields on the lines that can't be done
    //elsewhere.
    if (window.addEventListener) // W3C standard
      addLoadEvent(InitDetailItems());
    else if (window.attachEvent) // Internet Explorer
      addLoadEvent(InitDetailItems);
    if (window.addEventListener)
      window.addEventListener('load', postLoad, false);
    else
      window.attachEvent('onload', postLoad);
    </script>When the detail region loads, I append a call to the onload event of the page so that the function InitDetailItems is called (addLoadEvent is just another wrapper that detects if the page even has an InitDetailItems function and if it does, it then adds a call to InitDetailItems to fire in addition to any other on-load processing). I did it this way as a matter of style such that if a developer added any onload at the page header that this would just be appended to it. This call to addLoadEvent and InitDetailItems all runs javascript to prepare the detail region non-async (the user must wait for it to finish processing before they should get control of the browser).
    Then, the call to also add on a call to postLoad is where the cosmetic async stuff is supposed to happen. I am not a javascript expert by no means but from what I can gather:
    1. "window.addEventListener('load', postLoad, false);" works for most non-IE browsers, adds a call to postLoad on the event 'load', and "false" means that it is done non-binding (async).
    2. There is no "addEventListener" in MSIE, so it uses "window.attachEvent" to add the call to postLoad to the onload event. This is non-async with no async option, but....keep reading...
    PostLoad itself looks like this:
    function postLoad()
    { //Stuff do to after this region loads but can be done in an async fashion
      //because they're only cosmetic things.
      setAllMaintDescr(gMaintItemIdCol,gMaintItemIdCol + "_DISPLAY");
      checkAndColorFields();
    }setAllMaintDescr is the function that sets my popup key LOV values by querying the database and returning and setting the values in this field accordingly.
    checkAndColorFields is the function that passes some fields' values to a PL/SQL packaged function, it computes a color of black, red, yellow, or none and the javascript sets some field background colors accordingly. This logic resides in a PL/SQL package because we have a BI report that is a near copy of this page and needs to call the same logic.
    Both setAllMaintDescr and checkAndColorFields call htmldb_Get and get.GetAsync when the database work is done, so even though in MSIE the call to postLoad is not async, the functions themselves call async code that should theoretically be executing in an async manner.
    The Real Question(s)
    So...bottom line is that in Firefox, the page always takes about 20-25 seconds to load with or without setAllMaintDescr and checkAndColorFields commented/uncommented. This leads me to believe that my code in InitDetailItems (all non-async) is consistently taking 20-25 seconds to execute and postLoad processing is truly async since the page is returned to user control in the same amount of time.
    But in MSIE, without setAllMaintDescr and without checkAndColorFields, page load already is a slower 1 minute 35 seconds. With setAllMaintDescr and checkAndColorFields, it swells to well over 5 minutes whereas these async calls to htmldb_Get I would think should not increase much if at all over the initial 1:30 load time.
    Any tricks with MSIE? Any settings in the browser I need to know about? Is it truly ignoring my get.Get_Async calls and treating them as get.get()?
    Or is MSIE just truly that much of a turd as a browser? Ugh.
    Sorry for the long narrative but wanted to answer as many questions about my page first.

    ^^^ Long post.
    Cliff's notes for those I may have lost:
    Page dynamically adds two Javascript functions to the onload event.
    Each Javascript function calls some PL/SQL but it's all done using get.GetAsync.
    Firefox returns control of the page to the end user relatively quickly and consistently regardless of what functions are commented out/uncommented.
    MSIE is much slower and takes more time as I uncomment the async Javascript functions.
    Why does MSIE seem as if it's behaving non-asynchronously?

  • Async-Sync Bridge without BPM for SOAP WS and JDBC

    I heard you can now have async-sync communication outside of BPM by utilizing adapter modules?
    My scenarios are:
    proxy (async) -> SOAP WS (sync)
    proxy (async) -> JDBC (sync)
    I will like to capture the synchronous responses in XI and perform some basic error handling.
    I read h[File - RFC - File without a BPM - Possible from SP 19.|File - RFC - File without a BPM - Possible from SP 19.] and the release notes for 2004s SP19 and there is no reference to JDBC or SOAP.
    tia

    Hi Megha,
    Plz do refer the below links u will get an idea:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a05b2347-01e7-2910-ceac-c45577e574e0
    Sync/Async communication in Adapter without BPM (SP19)
    Sync/Async communication in JMS adapter without BPM (SP19)
    Async/Sync Communication using JMS adapter without BPM (SP 19)
    Async/Sync Communication using JMS adapter without BPM (SP 19)
    also try this
    Sync/Async communication in JMS adapter without BPM (SP19)
    File - RFC - File without a BPM - Possible from SP 19.
    Collecting IDocs without using BPM
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5059f110-0d01-0010-7c8b-fdc983be70c0
    Have a look
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5059f110-0d01-0010-7c8b-fdc983be70c0
    HTTP to RFC - A Starter Kit
    Sync/Async communication in JMS adapter without BPM (SP19)
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken]
    Do refer this thread:
    JDBC Async-Sync bridge does not work
    Reward if found useful
    Regards,
    Vinod.

  • Sync - Async Bridge problem

    hi all,
    is the first time i use this BPM
    my scenario is simple. i have a ws ho send a interface ID, a java mapping that read flat file, convert into xml and send the response. this XML is save in drive. this file is picked by a file adapter and send the xml to ws as response.
    i undertand how to create de BPM bu no how to configure the Interface Mapping.
    Thanks
    Rodrigo

    Interface Mapping is between SOAP Request <--> Your XML message Request Response.
    Only one interface mapping is required.
    Message Interface Required
    1. SOAP Synchronous
    2. XML Request Async
    3. XML Resp Async
    4. XML Message Request Response Sync
    Gaurav Jain
    Reward Points if answer is helpful

  • Sync - Async Bridge: a Doubt

    HI ,
    Can you confirm if my understanding below is correct:
    Sync System calls Asynch : Sync-async bridge to be used I understand
    But for Async to sync , no Sync-async bridge is required and we can discard the response or do anything with it.
    Thanks,
    Himadri

    just adding up to the discussion
    <b>But for Async to sync , no Sync-async bridge is required and we can discard the response or do anything with it.</b>
    we build async-sync relationship for getting/tracking the response. Say ur sender JDBC does an action in R3 and the reponse from R3 need to be updated in a file or a table in a DB then u build this kind of relation ship.
    Ps: Award points to all helpfull replies.

Maybe you are looking for