CcBPM concepts  : Why no synchronous messages ?

Hi ,
I have a simple scenario where we send data synchronously via webservices. The message is asynchronously written as a file using a different format .
The output file is read asynchronously and sent as a synchronous response to this web service. Sync - async bridge is used.
I want to create a receive step , to receive the ws input . But I cannot add this sync request interface as a container element.
Is there any reason behind this ? If sync interfaces cannot be added as container elements , is sync interfaces not allowed in ccBPM ?
I am sure I lack some understanding here ,Would be glad if someone could help me get some clarity.
Thanks
Bharathwaj

Hi,
Based on your reply I understand that , we cannot use sync interfaces inside ccBPM and would always require a Async interface of the similar req or resp structure for this.
--> Yes.
And again , for synchronous interfaces why cant we treat the req / response individually . Here we are just telling which structure to use for receiving. Why cant be opted from the selected service interface itself.
--> For Sync scenario, the Corelation of request and response will get mapped by default. In sync scenario, it will be in wait position unless the response will not come back. And the response will be passed via same communication channel.
In case of sync/Async bridge you need to externally tell to map the Response with valid corelation ID due to different communication channels.
If you have observed the adapter modules used with JMS for bridge, there you need to use Map with corelation ID becuase JMS are by default in async state and need to be mapped externally.
I hope this will clarify your doubts
Thanks
Swarup
Edited by: Swarup Sawant on Aug 24, 2009 9:58 AM

Similar Messages

  • Problems with synchronous message in XI

    Hi
       I have the following scenario involving XI 3.0 ( SP 12 )
    XI has exposed a webservice ( WS provider ) and this webservice is being called from a web application. On receiving the webservice call, XI synchronously calls a RFC on the SAP backend and the response is mapped back as a webservice soap response to the calling web application.
    Now, I see sometimes ( not always ) - the incoming message from the web application has a status in SXMB_MONI -
    <b>Message scheduled (commit follows)</b>
    with a green flag and this message is never processed - i.e The message comes into XI from the webservice call - but beyond this - there is no call to the RFC receiver adapter ( the receiver adapter- comm channel  is ok as seen in the adapter monitoring )
    Since synchronous messaging does not involve any queues ( I hope my understanding is right ), I am not sure why this occurs and what to do to push the message forward in this synchronous messaging scenario ??
    Thank you in advance for your time .

    Hm we have a slightly different version of that problem.
    The message is wirtten into a queue, gets the green flag and the message is processed.
    But the flag as well as the status stay...
    Has anyone soem background information about how the queuing and scheduling and execution planning is done?
    I have quite an idea about queue filters and how to set-up queues. But I have no idea how the synchronous stuff fits in and what this "Message scheduled (commit follows)" exactly means.
    Cheers,
    helge

  • Synchronous message stops at inbound channel response

    Hi,
    We have an outstanding issue in PI where our synchronous messages stops after receiving the response from the Receiver system. This is an ABAP proxy - JDBC scenario. We already increased the ICM Keep Alive timeout from 600 to 900 seconds but still the issue persist. Also, the processing timeout is already 900 seconds. Do you know the issue why this issue is occuring? On the R/3 side, when the abap proxy is executed it is throwing an error "Error while receiving.. HTTP 402".
    Regards,
    Geoff
    Edited by: Geoffrey Mendoza on Jun 15, 2011 7:26 PM

    Hi Geoff,
    The error 402 means "Payment Required".
    This code is reserved for future use and does not give us a good hint.
    Is it possible for you to enter more details so we may be able to point out a specific cause?
    Regards,
    Caio Cagnani

  • Synchronous message mapping - access to originating request message?

    Say you have a synchronous message - like a SOAP web service request - and you map it to an RFC call, is there any way for the message mapping from the RFC response message to the SOAP response message to access fields from the original SOAP request message?  Or even just a temporary storage area that I could store values from the originating request message?

    Hi Jonathon!
    First of all, why not access the original soap request message inside the RFC..you will be receiving this data in your RFC...is the RFC is standard, maybe you can make a wrapper with a Z RFC of your own to store the original data and use it later to build the RFC response.
    Another idea: you could call a RFC via JCO inside a UDF in mapping.. this RFC could write  some data in XI business system during the request mapping and another call to a "reading" RFC could read that data in the response mapping.
    Other idea: use BPM, you can use containers to store the request SOAP message, call synchronously the RFC and then use a transform step (mapping) to use the original request SOAP message and the RFC response message to "merge"/build the response for the SOAP.
    Regards,
    Matias.
    PD: please give points if useful.

  • I have 2 phones on my iTunes account, why are text messages showing on the second phone when sent from the first

    I have 2 phones on my iTunes account, why are text messages showing on the second phone when sent from the first phone?

    it's meant to work like that
    so if you receive a message on your iphone you also get it on your ipad or ipod touch
    to avoid it use separate appleID for each device
    or turn off imessage on 1 or both devices in their settings
    but that will not fix the issue that 2 devices using the same appleID will never be able to facetime eachother
    the appleID is a unique handle for 1 user only

  • Why do text messages from my iPad appear to some people as if they came from my email address instead of my phone number? This does not happen when I send text messages from my iPhone.

    Why do text messages from my iPad appear to some people as if they came from my email address instead of my phone number? This does not happen when I send text messages from my iPhone.

    You need to link your iPhone number to Messages - and Facetime if you use it. For Messages go to Settings>Messages>Send and Receive at>You can be reached by iMessage at. If your phone number is showing there, select it as your Contact address. If it doesn't appear in there, take a look at the end of this article for help.
    iOS and OS X: Link your phone number and Apple ID for use with FaceTime and iMessage - Apple Support

  • Continuous CCMS alerts on failed synchronous messages

    Hello,
    We have failed synchronous messages in our PI system and get a CCMS u201CMessage age alertsu201D every hour. I canu2019t make it stop without disabling monitoring which I donu2019t want to do. The messages can not be deleted or canceled so I get this alert every hour. When I try to cancel the message in SXMB_MONI I get this message:
    You cannot cancel XML message 001E0BC80F681EE09FB5DB3E37C38A21 with this status/type
    Message no. XMS_ADM108
    Diagnosis
    You tried to exit an XML message.
    System Response
    However, you can only exit XML messages that were closed incorrectly.
    What can I do to get rid of these old messages? Note: I am a Basis guy so donu2019t have deep XI knowledge and our XI guy is busy with production issues right now. Any help is greatly appreciated.
    David

    I think I found it. I needed to schedule the delete job SAP_BC_XMB_DELETE_100 in SXMB_ADMIN. This deleted the old failed messages which should clear things up.

  • Why does this message keep appearing when i try to instal windows 7 through bootcamp? - "something went wrong and the USB cannot be configured for the installation"

    Why does this message keep appearing when Itry to instal windows 7 through bootcamp? - "Your bootable USB drive could not be created. An error occurred while copying the Windows installation files."

    Found a solution!
    Follow the extended version of these directions here:
    https://discussions.apple.com/docs/DOC-3581
    Worked like a charm!

  • Synchronous message QOS in PI 7.1 and pipeline services QOS

    Hi All,
             As I understand,PI uses pipelines services (other than integrated Configuration based on AAE) for routing and mapping.Synchronous messages have QOS as BE.If they are also implemented as pipelines services,how does the QOS of pipeline queues (ie EO/EOIO) relate to QOS of BE.
    Some how thinking of queues always relates to asyn messages(other than temp or request/response queues),so I am bit confused how a synchronous message flow uses pipelines queues which are asyn in nature.
    Regards,
    Premjit

    Hi Premjit,
    please refer to chapter 7 in the link below for more info on this.
    http://www.sap-press.de/download/dateien/2221/sappress_netweaver_process_integration.pdf
    Hope this helps.
    Regards,
    Deepak.

  • Avoid processing of Duplicate Synchronous Messages

    Hi,
    I have two synchronous messages coming with almost zero delay in it. Both the messages contains the same data which is causing a major problem in the backend.
    I want to avoid the processing of duplicate message. My scenario is HTTP to SOAP (sync)...
    The option that I thought of are:
    - Using BPM so that messages can be sent sequentially to backend and there it can be checked for duplicate entries (client is not ready to use BPM)
    - Providing Delay in Message Mapping...(I will end up with same issue as same amount of delay will be provided to both the messages may or may not but dont want to take risk)
    - I cant make a look up to see if entry already exists as the difference between incoming duplicate messages are so small that it will not give the desired result.
    Also thought of creating message ID in URL only but it is not possible with QOS BE.
    Is there any way through which I can process the sync messages in sequential way... or something that will avoid processing
    of duplicate messages?
    Any thought?
    Thanks,
    Sunil Singh

    Hi Sunil,
    Checking the data weather is duplicate or not (ie, its already resides in Rev application) would sure require to use of lookup or BPM.
    >
    SUNIL SINGH wrote:
    > I want to avoid the processing of duplicate message. My scenario is HTTP to SOAP (sync)...
    even if the data is comming with some delay between them. how will you check that is duplicate message or not unless you use lookup or BPM in it to compare two independent messages at runtime.
    My idea would be! instead of trying to put a validation at PI.
    check in the source system whats causing their application to generate duplicate messages in first place and send it to PI.
    check whats the issue over there and ask them to rectify it or rather not to trigger duplicate data. (it would be easier to control this from source application).
    PS: even if we find a way to stop duplicate messages to be processed inside PI. its unnecessary load for PI.
    -->Senthilprakash.

  • Message monitoring of synchronous messages

    Guys,
    whenever I check a synchronous message in message monitoring, its audit log is correctly shown but the message (header and payload) are not shown, returning the message "The message was deleted to save memory" or something like that.
    Does anyone knows how to enable message monitoring to show the messages from sync messages?
    Thanks in advance,
    Henrique.

    Hi Henrique,
    From SP12, the payload of sync messages is cached in memory rather than persisted. These payloads are deleted to prevent them from accumulating in memory.
    You just have to set:
    messaging.syncMessageRemover.removeBody = false
    in the AF messaging service in the visual admin
    and you'll be able to trace sync calls
    you only need this for sync
    if you set this you'll see sync messages in,
    http://hostname:portnumber/MessagingSystem/monitor/monitor.jsp
    (so in the monitor for adapters)
    async are logged there by default so no need to change anything for async calls...
    Regards,
    Abhy
    Message was edited by: Abhy Thomas

  • Why use “synchronized” to decorate an object which its type is Vector

    Hello,guys.
    Recently,I readed the source code of java.util.Observable.Unfortunately,I encounted some problems&#12290;In the source code ,there is an object named “obs”.Its type is Vector. As we all know,Vector is thread-safe.why use “synchronized” in below code?
        public synchronized void deleteObservers() {
         obs.removeAllElements();
        }thanks.
    Edited by: qiao123 on Dec 21, 2009 7:07 PM

    My " NewBie" Definition of Thread Safe :Is of no interest. It already has a definition and that isn't it.I wanted to make clear what my definition is.
    The [JLS DEF FOR COLLECTION|http://java.sun.com/j2se/1.4.2/docs/api/java/util/Collections.html] says:
    That is the Javadoc for Collections actually, nothing to do with the JLS or Collection.They are authoritative links for Java Language and the discussion in hand, not Fantasies of Lucy Aunty.
    So,how do we draw any inference(s) here?Yes, that you have selectively quoted the Javadoc, which goes on to talk about how you have to use it when iterating.Still not answering my question,Sir.
    ejp,you seem to have knowledge but you don't have the attitude to forward the same to others or bear what others say,even when initiative has been taken by others to put forward a problem.
    P.S : Not all hackers are arrogant and not all arrogant are hackers.
    Another P.S : Waste of my time really !!!
    Edited by: punter on Dec 22, 2009 1:09 AM

  • SUP 2.0 Why the sybase Messageing Service doesn't start?

    Hellow experts,
    SUP 2.0 Why the sybase Messageing Service doesn't start?
    When I start the service, it starts and ends indicating "if they are not in use by other services or programs; it will end automatically"
    What should I do for this?
    Thanks
    Prabakar

    sometimes you only have to restart your pc. STOP SUP SERVICE ( AS ADMINISTRATOR ) and START SERVICE ( AS ADMINISTRATOR AGAIN ) ...
    That happens to me very often!

  • Alerts for Receiver Adapter and Synchronous Messaging

    Hi experts,
    I am working on XI 3.0 SP 17. I am doing alert configuration in XI . In below 2 cases we didn't receive alerts for errors.
    1) In case of errors in   receiver adapters.
    2) If an error  occurs in synchronous message processing.
    What would be the Problem?
    Please help me out its very urgent.
    Regards,
    Hari

    Hi Hari
    For raising the alert related to Adapter specific you need to create alert rule in RWB and select the adapter option and then select the adapter for which u want to raise an alert.
    To configure your alerts, proceed as follows:
    &#9679; Create the alert categories that you want to use in your alert rules.
    &#9679; Create the alert rules in which you want to use your alert categories.
    http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
    check this links.
    https://www.sdn.sap.com/irj/sdn/forums
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
    Trouble shooting Alert configuration:
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide
    /people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions
    Alert Inbox
    http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm
    Alert Notification Step-by-Step
    http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
    Defining Alert Classifications
    http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
    Triggering Alerts
    http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
    Setting up alerts
    Setting up alerts in RZ20
    Alert Management
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e04141e8-0f11-2a10-adaa-9d97b062c2df
    Alert Notification
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/90f449a8-a6db-2910-a386-d2b5999f5751
    Custom Alerts in CIC Win Client for CRM 5.0
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/601db2b2-2839-2a10-0381-8807979f6ff8
    Understanding u'r SAP EarlyWatch Alert Report
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4b88cb90-0201-0010-5bb1-a65272a329bf
    regards
    Sandeep Sharma
    If helpful kindly reward points

  • SXMB_MONI not displaying Synchronous messages

    Our production instance of XI only displays Asynchronous messages and those Synchronous messages that fail. For testing purposes I need to see all my Synchronous messages, regardless of success or failure. Is there some configuration I need to do to modify this behaviour. I've searched SDN without any luck.

    Steps are mentioned in this Blog by Michal
    /people/michal.krawczyk2/blog/2005/05/10/xi-i-cannot-see-some-of-my-messages-in-the-sxmbmoni
    Thanks
    Farooq.

Maybe you are looking for