Asynchronous Interfaces treated as Synchronous one?

Hi eXperts,
I'm now having a weird problem on an Asynchronous inbound interface in a SOAP-XI-R/3 scenario.
When data coming through XI into R/3, the proxy is called, and works fine. But after the proxy call, a short dump happens in CL_PROXY_FRAMEWORK->XI_PROCESS_PAYLOAD saying the payload is 'null'. Since this is an Asynchronous interface, the payload would certainly be 'null' after the proxy call. So the problem is why this method even be called after the proxy?
I checked the stack and found that CALL_PIPELINE_SYNC is used instead of CALL_PIPELINE_ASYNC, and I believe this might be the problem: SAP is treating this as an syschronous interface. However after checking settings in IR, both inbound and outbound interfaces are asynchronous.
Has someone met this before? Does anybody know why SAP is treating an asynchronous interface as a synchronous one?
Thanks in advance for your help.
Regards
Luis

Hi,
Did you check sender SOAP Adapter configuration ? What is the quality of service you mentioned ? it should be EO in your case.. check out this..
also check is this proxy method is giving back the response.. check SXMB_MONI->Trace..
Hope this helps,
Regards,
Moorthy

Similar Messages

  • Synchronous - asynchronous interface (RFC - XI - jdbc)

    hello to everybody!
    i want configure a synchronous - asynchronous interface (RFC - PI - jdbc) whit my PI 7.1
    This RFC send 2 output tables to PI/XI and i want write it into 2 different tables in a SQL Server Database.
    How can i do it?
    i tried whit one mapping to a unique outbound datatype...but only header table was insert and not rows.
    i tried whit 2 Receiver Interfaces but i have on mapping the follow error:
    Multiple inbound interfaces not supported for synchronous calls
    so??
    other possibility?
    BPM?
    please help me
    Thanks
    Alessandro

    Hi,
    I have a similar problem; I have JMS - PI - RFC synchronous scenario. I will receive message from JMS, and depending on the data received, I should call either of two RFCs (NOT BOTH). The BAPI return message should then be sent back to JMS.
    Hence, I have one "Sender/Outbound" Message Interface, one receiver determination for that Message Interface - in which there is "one" receiver (backend SAP system).
    In "Interface Determination", I specifed the two BAPIs as two Interfaces, and defined conditions based on "context objects" - since I need to know the Interface Mapping "dynamically"
    However, I get the error - "Multiple inbound interfaces not supported for synchronous calls ". any suggestions on how to proceed?
    I am posting this question here as it is a related issue. Hope it is fine.
    Thanks,
    Archana

  • Synchronous / Asynchronous Interface

    I am kinda confused about Synchronous interface/asynchronous.. When we talk about synchronous are we talking synchronous for the entire interface (From Sender system to XI to Receiver system) or we are just referring to Connection with XI system?
    If somebody can explain a classic synchronous and asynchronous scenario with a good example, I would really appreciate it..

    > I am kinda confused about Synchronous
    > interface/asynchronous.. When we talk about
    > synchronous are we talking synchronous for the entire
    > interface (From Sender system to XI to Receiver
    > system) or we are just referring to Connection with
    > XI system?
    XI decouples the sender and receiver of messages through interfaces. So, if the interface for the sender (called outbound interface) is synchronous, the sender is blocking on the request and the sender expects a response from XI synchronously.
    Consider
    System A -> XI -> System B
    If A's interface in XI is synchronous, then XI has to send a response to A synchronously. However XI may have an asynchronous interface with B. i.e. XI may post a message to B and may not expect a response from B. But A will not care what kind of processing happened between and B as long as A got a response back.

  • Async Interface being called synchronously via Web service/SOAP

    Hi,
    I have an asynchronous interface to receive data into XI which is being sent to a file system, I can successfully use this interface to send data to XI using the file sender communication channel, and the monitoring shows the same as asynchronous.
    The problem is when i want to use the same setup to send data from a .Net client using SOAP/Web service. This time if I go to monitoring I get to see that the call is synchronous..????... which is quite baffeling...
    I am not calling the XI webservice in synchronous mode I am calling the BeginInvoke method thus making an async call.
    what is it that I have to do to get the interface to behave as async on being called from a webservice?
    Thanks
    Aniruddha

    Thanks guys. I do understand that this is a old post. However I cannot find the following information. I too have C# Web App call SAP PI BAPI web service getting [NullReferenceException: Object reference not set to an instance of an object.]
    Extract of WSDL: In the Request section: How do I initialize these fields:
    COMPTEGENERAL
                   ITEMS occurs 0 to unbounded.
                             NUMERO_OU_NO_DE_COMPTE String
                             COMPTE_GENERAL String
                             CENTRE_DE_COUTS String
                             MONTANT_DEVISE Decimal
    webservicename.COMPTEGENERAL[] = new Mywebservice.Request FromWS[0].ToString();// Does not Work.
       <xsd:element name="COMPTEGENERAL">
                <xsd:annotation>
                  <xsd:appinfo source="http://sap.com/xi/TextID">9ce79547e32411e2a321f4ce4610676a</xsd:appinfo>
                </xsd:annotation>
                <xsd:complexType>
                  <xsd:sequence>
                    <xsd:element minOccurs="0" maxOccurs="unbounded" name="ITEM">
                      <xsd:annotation>
                        <xsd:appinfo source="http://sap.com/xi/TextID">85ebea01eedf11e2bbe7f4ce4610676a</xsd:appinfo>
                      </xsd:annotation>
                      <xsd:complexType>
                        <xsd:sequence>
                          <xsd:element name="NUMERO_OU_NO_DE_COMPTE" type="xsd:string">
                            <xsd:annotation>
                              <xsd:appinfo source="http://sap.com/xi/TextID">85ebe9faeedf11e29c4bf4ce4610676a</xsd:appinfo>
                            </xsd:annotation>
                          </xsd:element>
                          <xsd:element name="COMPTE_GENERAL" type="xsd:string">
                            <xsd:annotation>
                              <xsd:appinfo source="http://sap.com/xi/TextID">85ebe9fceedf11e28cd7f4ce4610676a</xsd:appinfo>
                            </xsd:annotation>
                          </xsd:element>
                          <xsd:element minOccurs="0" name="CENTRE_DE_COUTS" type="xsd:string">
                            <xsd:annotation>
                              <xsd:appinfo source="http://sap.com/xi/TextID">85ebe9fdeedf11e2b57df4ce4610676a</xsd:appinfo>
                            </xsd:annotation>
                          </xsd:element>
                          <xsd:element name="MONTANT_DEVISE">
                            <xsd:annotation>
                              <xsd:appinfo source="http://sap.com/xi/TextID">85ebea00eedf11e2bdcbf4ce4610676a</xsd:appinfo>
                            </xsd:annotation>
                            <xsd:simpleType>
                              <xsd:restriction base="xsd:decimal">
                                <xsd:totalDigits value="18" />
                                <xsd:fractionDigits value="4" />
                              </xsd:restriction>
                            </xsd:simpleType>
                          </xsd:element>
                        </xsd:sequence>
                      </xsd:complexType>
                    </xsd:element>
                  </xsd:sequence>
                </xsd:complexType>
              </xsd:element>
            </xsd:sequence>
          </xsd:complexType>
        </xsd:schema>
      </wsdl:types>

  • Make asynchronous event handler as synchronous using Powershell

    Hi All,
    Using custom coding i am able to change the asynchronous event handle to synchronous.
    Can anybody let me know Is there any other way to change the same. Like Powershell script or any.
    Without deploying the solution i want to change the event handler type.
    Please advice.
    Thanks & Regards
    MD.Liakath ali

      
    Hi 
    you can use power shell to do so
    Add-PSSnapin Microsoft.SharePoint.PowerShell –erroraction SilentlyContinue 
    $web = Get-SPWeb -Identity http://...
    $list = $web.GetList($web.Url + "/Lists/" + “list name”) 
    $type = "ItemAdded" #or any other type, like ItemDeleting, ItemAdding, ItemUpdating, ... 
    $numberOfEventReceivers = $list.EventReceivers.Count 
    if ($numberOfEventReceivers -gt 0)
     for( $index = $numberOfEventReceivers -1; $index -gt -1; $index–-) {
        $receiver = $list.EventReceivers[$index] ;
        $name = $receiver.Name
        $typ = $receiver.Type ;
     if ($typ -eq $type)  #or you can check ($name -eq "event receiver's name") if you have more then one event receivers of the same type
        $receiver.Synchronization = "Synchronous"
        $receiver.Update()
        Write-Host "Event receiver " $name " is changed to Synchronous"
    else
        Write-Host " There is no EventReceiver of type " $type " registered for this list "
    $web.Dispose()
    or
    $list = (get-spweb http://sharepoint/sites/test).lists['somelist']
    $def = $list.EventReceivers.Add()
    $def.Assembly = "MyReceiverAssembly, Version=1.0.0.0, Culture=Neutral,PublicKeyToken=a00000000a000ce0"
    $def.Class = "MyReceiverAssembly.MyReceiverClass"
    $def.Type = [Microsoft.SharePoint.SPEventReceiverType]::ItemAdded
    $def.Name = "My ItemAdded Event Receiver";
    $def.Synchronization = [Microsoft.SharePoint.SPEventReceiverSynchronization]::Synchronous
    $def.Update()
    this should be done at each level where list is present.
    or you can Edit the Elements.xml file of the event receiver in(14 hive layouts/feature folder) and set the synchronization element as below..
    <Synchronization>Synchronous</Synchronization>
    Synchronous</Synchronization> https://naimmurati.wordpress.com/2012/03/22/add-modify-or-delete-list-event-receivers-with-powershell/">https://naimmurati.wordpress.com/2012/03/22/add-modify-or-delete-list-event-receivers-with-powershell/
    Regards,
    Rajendra Singh
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful
    http://sharepointundefind.wordpress.com/

  • Service interface with more than one operation

    Hi all,
    is it possible to have a service interface with more than one operation?
    I have found this blog:
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3414900)ID0209118050DB10459657028039341762End?blog=/pub/wlg/15123
    But this sentence:
    ABAP proxy (inbound/ outbound) cannot be developed out of a Service Interface having Operations with different type of messages included. If an ABAP proxy is to be developed then all the messages included should be of one type i.e. either the included messages should be Message Type, External Message, IDOC or RFC Message. This behavior can be observed when a Service Interface is created and then subjected for a check
    regards

    Hi,
    now the interface is running but I get another error in .NET.
    "The header 'Diagnostic' from the namespace 'http://sap.com/xi/XI/Message/30' was not understood by the recipient of this message, causing the message to not be processed.  This error typically indicates that the sender of this message has enabled a communication protocol that the receiver cannot process.  Please ensure that the configuration of the client's binding is consistent with the service's binding. "
    Any ideas?
    regards

  • Interfaces declare methods that one or more classes may or may not implemen

    Interfaces declare methods that one or more classes may or may not implement.
    true or false?

    Encephalopathic wrote:
    If you want to appear to be more than just someone scrounging for someone else to do their homeworkHe/she is what they is
    [http://forum.java.sun.com/thread.jspa?threadID=5292343]
    [http://forum.java.sun.com/thread.jspa?threadID=5283461]
    [http://forum.java.sun.com/thread.jspa?threadID=5283412]
    [http://forum.java.sun.com/thread.jspa?threadID=5279385]

  • Validate replenishment interface fails even if one item is invalid or locator is invalid

    Gurus,
    INCRVL (Validate replenishment interface) program completes fine and all the records in the mtl_replenish_lines_int table for that replenishment count fails. We found that a locator was end-dated for one of the items in the replenishment count. upon un-enddating the locators the records processed and passed the Validate replenishment interface and got loaded to the mtl_replenish_headers table.
    The question is how to ensure even if some items have issues that the rest of the items go through the validate repl. interface program and not stop the whole repl. count to fail.
    We dont want all the fail. We want the good items in the repl. count to go through the interface and the bad ones to fail in the interface.
    Is there any profile options or setup that needs to be done?
    Please help.
    Thanks,

    Hi Yeshwant.....
    This is Not at all possible even through query. You can have some work around for that but you can not get direct solution for this....
    Approval for Row level data is always not possible.....
    Please check this thread....
    Re: Query base approval for PO Unit Price
    Regards,
    Rahul

  • I am doing one Labview project. so my project is about design a interface in labview which one collect the data from keithley 2400 via GPIB connection.

    i am doing one Labview project. so my project is about design a interface in labview which one collect the data from keithley 2400 via GPIB connection. any suggestion please

    Your first task should be to just be able to send commands to the instrument.  Do as Dennis suggested and download the drivers for the instrument and get familiar with them.  Build up small VIs that do little tasks with those drivers so you can get used to them.  Then worry about your main interface.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Synchronous-Asynchronous Interface with Java Proxy

    Hi Gurus!!
    I have an Interface which begins on SAP with a call to an asynchronous ABAP Proxy . Xi sends the message to Java Proxy Server. This Java Proxy Server calls to a Java Proxy Client that sends the response to SAP through XI. This response is taken on SAP on ABAP Proxy Inbound.
    These arquitechture is a requirement, because the time between the request and the response could be 30 minutes and the user shouldn't be waiting the response synchronously.
    Is there any way to the user could manage the response in the same "thread" that he opened in the request?
    I hope have been clear enough.
    Thanks and regards,
    Manuel Míguez.

    The only possibility I could think of is using correlation. There also you have the limitation of java proxy as it does not support adapter modules. Could you use SOAP for your scenario?
    JMS receiver could use inherent properties to define correlations. But as your case is non-JMS, you have to define it manually. Say, if your receiver system is X, then the request from XI to system X should carry its message ID information. While X created the response message, it should use this message ID as the correlation ID for the response message. This could be achieved using an adapter module.
    I guess you were not looking for such a complex solution.
    Regards,
    Prateek

  • JMS Ack for Asynchronous interface

    Hi Experts
    Here My Interface is Proxy to PI to JMS (MQ) asynchronous.
    Once message is processed asynchronously MQ will send the Acknowledgement to PI with different Queue. Then PI need to pick this with sender JMS adapter.. is this approach will work?
    IF it I it worku2019s Please let me know the steps. Here I donu2019t want to use the BPM.
    Thank you
    Srini

    Dear Srinivasreddy
    As you mentiuoned this is an Asyncronous communication, then what are you going to do with response.
    Is your proxy expecting a response?
    In that case you should create a Synchronous interface and not an Asynchronous one.
    Please clarify
    Sourabh

  • My laptop is not a phone. Don't treat it like one.

    My laptop is not a mobile phone the last time I checked.  Unless mobile phones started weighing 15 pounds and play Crysis 2 Maxed, Star Citizen Maxed, and any other game you can think of, maxed, with 18" screens.
    So, don't treat it like a mobile phone with your crappy chat bubbles that liturally everyone who isn't on a mobile phone hates, even some people on phones hate it.
    Why is it so hard for Microsoft to add options to the app?  Seriously?  Liturally every other chat program in the world has the ability to be skinned to the user's liking.  What does MS do?  They force you to use their choice only.  Then people came up with MSN Plus when MSN used to exist and they kept trying to take that out cause like, god forbid users have some choices when using a messenger.  God forbid we actually like the look of our messenger!
    I've posted this elsewhere, but this used to be my messenger before you canceled skypekit.exe for no reason whatsoever other than to force people to use mobile ugly skype.
    Now here is what I'm stuck with,
    Isn't it wonderful?  Look at all that space I totally saved in my tiny small sentences of messages.  By having 4 inches of white on either side of my messages.  Cause that's how real messengers look now days.
    However I did notice you can expand the thing a bit, but the chat bubbles are still confusing and useless.  you have tons of angry people posting that they want them gone and your responce, is to ignore them?  I thought Microsoft was all about listening to the customer.  Is that not really true?  No one wants bland Windows 8 paint.exe type graphics.  That's why I'm still on Windows 7, cause liturally there is zero advantage to downgrading to Windows 8 or 10.  All you get is a loss in graphics and the world's ugliest apps.  :/  Skype being an examle of this, being forced on people who still have a real operating system like me.
    The world isn't full of tiny pitiful tablets that have a processor as powerful as a SNES.  Stop treating us like all our computers suck and couldn't process a simple gradient or rounded corner or Windows Aero.  If people don't want Aero, they will disable it.  Don't automatically disable it for them and give them something you drew up in paint.exe.  Seriously.  Skype is the ugliest thing on my laptop now.  :/
    Thank you, this has been another angry rant by me, Vas.

    You are not alone in wanting options! There's a very long thread on the 7.0 UI currently running at 850 messages, of which about 2 have been positive. You may want to take a look there too.
    (And you may also want to read my blog post ...)
    Sean Ellis - uses Skype chat for serious work
    Click here to read my blog post on Skype 7 and basic principles of GUI design

  • Routing of messages to different interfaces via HTTP using one single URL.

    Hi all,
    I'm working on an inbound scenario. Messages are coming to SAP via HTTP adapter and i'm using a unique URL of every interface. But what is required is one single URL for all interfaces without any dropbox in PI, i.e. all messages will be pushed to one URL and i have to route them to their respective interfaces, there is no storage involved in PI box.

    Shamit2903 wrote:
    Hi all,
    >
    > I'm working on an inbound scenario. Messages are coming to SAP via HTTP adapter and i'm using a unique URL of every interface. But what is required is one single URL for all interfaces without any dropbox in PI, i.e. all messages will be pushed to one URL and i have to route them to their respective interfaces, there is no storage involved in PI box.
    logically this is not a possibility.
    But in case you are looking at a generic interface then you will have to handle this using;
    1.  a generic Data type to accommodate all required structures
    2. use conditional routing in configuration to execute further transformations.
    I wouldnt recommend this though.

  • Remote Interface problem using Sun ONE App & web server

    HI,
    1) I am using an S'less SB. I have local & remote interfaces. I am using the sun one appserver7 & the sun ones's htttp server. By default it doesnt pick up the remote interfaces is it ? How do i make my remote interfaces work ? what are the changes required in config/xml ?
    2) However i changed my client code (i.e my action class which is called by the struts action servlet ) to access the localhome rather than the remote home, but then i get java.lang.classcastexception.
    pls help !
    sanjay

    Hi parsuram,
    Thanks for the tip. After looking at the sample source code, I did finally figure out the solution - so I'll post it in case anyone else happens to be working with websphere studio has the same issue deploying on sun one.
    To access local interface ejb, you must have the following
    1. ejb-local-ref tag in the ejb-jar.xml like so underneath the <session> or <entity> tag of the bean which you plan to access the local ejb with.
    <ejb-local-ref>
    <ejb-ref-name>TestL</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <local-home>memory.simple.TestLLocalHome</local-home>
    <local>memory.tool.simple.TestLLocal</local>
    <ejb-link>TestL</ejb-link>
    </ejb-local-ref>
    2. similar ejb-ref tag in sun-ejb-jar.xml
    <ejb-ref>
    <ejb-ref-name>TestL</ejb-ref-name>
    <jndi-name>localejbs/module_memory.betaEJB/TestL68640023372300293</jndi-name>
    </ejb-ref>
    note: sun generates the <jndi-name> and overwrites whatever you put in that tag no matter what you put in there.
    3. here is the code to access
    Context initial = new InitialContext();
    TestLLocalHome tlHome=(TestLLocalHome) Initial.lookup
    ("TestL");
    //the string must match <ejb-ref-name> underneath <ejb-local-ref>
    4. note that the jndi name for the local interface bean becomes irrelevant. only the <ejb-ref-name> in the ejb-jar and sun-ejb-jar matter. furthermore, both <ejb-ref-name> must be the same or you won't be able to deploy.
    5. This is completely my fault for not checking the "proper" way to access local interfaces. in websphere, they let you get away without the ejb-ref tags and just use the string "local:/TestL"!
    -matt

  • Asynchronous Coupling with Pools in one Process

    Hi everybody,
    i try to  call a BPM Pool (POOL_B) by another BPM Pool (POOL_A) within the same process but unfortunately without success.
    This are my steps:
    a) for my START Event (Pool_B) i created a new Message Trigger with a Asynchron Service Interface (Wsdl File with two import parameters)
    b) in my Service Activity (Pool_A) i use the created Asynchron Service Interface in order to process Pool_B
    c) in Pool_B i have also created a Notification to get an info Mail after the process was started
    d) i add SAP_BPM_SuperAdmin to SAP_BPM_Service
    e) Consumer and Provider are also be configured
    After starting the process i didn't get an info Mail, but everything in Pool_A seems to work fine.
    If i activate Pool_B (Pool_A becomes inactive) only the WS for Pool_B works.
    Please Help.
    regards,
    Sid
    Edited by: Sid on Sep 26, 2011 6:13 PM

    You need two Physical databases each with its own Connection Pool, within that database will be a single Physical Schema.
    Or you could have a single Database/Connection Pool if it has read access to both schemas.

Maybe you are looking for

  • Apple remote for ipad

    Does anybody know if apple will be updating the remote app so that there is an iPad version?

  • How do I listen to audio that requires Flashplayer on my iPad???

    How do I listen to audio that requires Flashplayer on my iPad??? Target website states the following: What must I do to be able to hear archived program audio? In addition to your computer and Internet connection, you'll need a sound card, speakers o

  • 11gR2 on Linux

    Hi there, I am installing 11gR2 core DB on Linux, according to general oracle docs, there are packages we have to install before we proceed with actual DB installation. Newer package exist but it forces for exact the same version. CAN SOMEONE TELL ME

  • Registration invalid

    I have downloaded my Photoshop Lightroom 5 using a software download card I purchased when I bought my new laptop, but when I try to use the program, I am instructed to register it and it then says my registration number is invalid.  I see many peopl

  • Project server 2013 - access denied

    We've been using Project Server for 6 months now with no issues. Today all of a sudden no one (not even farm account) can acess the PWA instance. I try to request access but the farm account doesn't get a notification email. individual Project sites