IDOC to SOAP Synchronous Communication

Hi Experts,
Scenario is IDOC to SOAP.
And Expecting Response(Sucess/Failure) from Third Party system.
My understading is IDOC wont support Synchronous communication.
If synchronous comm is possible in IDOC to SOAP scenario could you please elobrate the Requirements and detail the procedures with ID and IR configuration.
If not How this can achived in this scenario.
Regards,
Seshu.

[IDoc to SOAP Synchronous with BPM|http://wiki.sdn.sap.com/wiki/display/XI/IDoctoSOAPSynchronouswith+BPM]
Regards
Raj

Similar Messages

  • IDoc to soap synchronous scenario with BPM

    Hi,
    I am working on IDoc to soap synchronous scenario using BPM. Here i am facing lot of soap exceptions in my production system. I handled the exceptions. The data getting excuted for the first time, the same data(just changed the description)is giving exceptions for the second time. Please let me know why the exceptions are getting, and different type of exceptions and solutions for the same.(Blog also is fine)
    Thanks & Regards,
    Pragathi.

    The data getting excuted for the first time, the same data(just changed the description)is giving exceptions for the second
    time.
    Ideally you should not get an exception for the same data....can you tell is the description and where are you getting the exception...is it a part of the SOAP message or some object?
    An exception might have occured because the description would be something unacceptable by the target application.
    and different type of exceptions and solutions for the same
    there would be many blogs....your thread would be spammed...better make a search on SDN with exception text that you are getting.
    Regards,
    Abhishek.

  • IDOC to SOAP synchronous scenario

    Hi All,
    We have an IDOC to SOAP synchronous scenario in which IDOCs are sent to SOAP by calling a service and then SOAP sends a response back to XI . The response is not sent to SAP- R3. Please suggest on this
    Thanks

    Hello Rajesh,
    Thanks for your good justification.
    Here I have also replicated same kind of scenario and having same kind of issue.
    One thing just wanted to confirm - Even though SOAP adapter expects HTTP 200 response back from webservice, still SOAP channel is getting into red with following , and as we have Alert configured ...Alert mail also receiving as part of Error only. So How can we avoid that response ? Is there have any parameter to handle or suppress the response back?
    Thanks!
    Goutam

  • IDOC to SOAP Synchronous

    Hi Team,
                    Is it possible to do IDOC to SOAP in Synchronous, if So could you please help me with necessary steps involved in doing the scenario.
    Regards,
    Amruth

    Hi,
    >Is it possible to do IDOC to SOAP in Synchronous, if So could you please help me with necessary steps involved in doing the scenario
    this configuration would not make sense completely
    as IDOCs cannot be used in a sync way
    (idocs do not wait/nor expect for any response)
    Regards,
    Michal Krawczyk
    Http://mypigenie.com XI/PI FAQ

  • IDOC --- XI ----- SOAP

    Hi All,
    Our Scenario is IDOC XI SOAP synchronous.
    We get data from IDOC to XI and send it to SOAP, I get response back from SOAP which is sent to R3 by STATUS IDOC.We have implemented BPM in our scenario and there is no Exception handling.
    My question is, if the SOAP server is down then I get a System Error.What we want to know is
    1. Whether it is possible to send the failed IDOC again to SOAP from XI and get the response back( I guess this is not possible in our case). Does Exception handling enables this feature ??
    2. Is it possible to know the status of SOAP server in BPM so that we can keep the incoming IDOCs in queue and send them once the SOAP is up?
    3. If Exception handling/Fault messages concept is implemented then can we send response back to STATUS IDOC from XI(Note: We need the incoming IDOC number must for this as R3 should know which IDOC is failed).
    Points will be rewarded for helpful answers.
    Thanks & regards,
    Satish

    Hi Satish,
    1. Whether it is possible to send the failed IDOC again to SOAP from XI and get the response back( I guess this is not possible in our case). Does Exception handling enables this feature ??
    Ans) It is possible to resend the data from the XI system if it is failed and sits in the Adapter engine (Message monitoring) here you can resend it once the SOAP server is up.............
    2. Is it possible to know the status of SOAP server in BPM so that we can keep the incoming IDOCs in queue and send them once the SOAP is up?
    Ans) Yes it is possible to know the status of the SOAP , for this you need to include a step in the BPM to have a lookup at the server(SOAP)...Once it is up the workflow can be restarted again manually.................
    3. If Exception handling/Fault messages concept is implemented then can we send response back to STATUS IDOC from XI(Note: We need the incoming IDOC number must for this as R3 should know which IDOC is failed).
    Ans) Yes if the exception handling is done then it is important to have the incoming idoc number so that the response will be send with this idoc number and also the status of the mentioed idoc ..you can achive this with exception handling
    Regards
    Sai
    Reward with points will helpfull

  • Help SOAP to RFC Scenario using BPM (Synchronous communication)

    Hi,
    I am doing a scenario from SOAP to RFC scenario(Synchronous communication).  Here I am creating a PM Notification in the SAP system through a webservice. 
    I am using three BAPI'S here,
    1. BAPI_ALM_NOTIF_CREATE 
    2. BAPI_ALM_NOTIF_SAVE
    3. BAPI_TRANSACTION_COMMIT
    I am successful in calling the first BAPI from the Web Service.  For this I have not used BPM.  But to commit the transaction(PM notification in this case), I have to execute the other two BAPI's as well.  I have to pass the output of first BAPI to the second BAPI and then execute the 2nd BAPI.  And finally have to execute the 3rd BAPI.     FYI, 3rd BAPI is not dependent on any output.  It has to be executed independently after execution of the first two BAPI's.
    How can I execute this scenario?  Do I have  to use BPM?  If yes please let me know the steps in detail.  I have not done any BPM scenario till now.  So please answer me in detail.
    Thanks in Advance,
    Vijay
    p.s. reward points are must

    Hi Vijay,
    Yes, You will indeed need a BPM in this case...
    Based on my understanding of the Scenario u have explained, here are the steps that would be needed.
    1. Receive With the Sync-Async Bridge open.
    2. Transformation Step (Between the source Request and The BAPI_ALM_NOTIF_CREATE Request)
    3. Send Synchronous
    4. Fork
    5. In one Branch of the fork - Transformation (Between the BAPI_ALM_NOTIF_CREATE Response and API_ALM_NOTIF_SAVE Request)
    6. In the other branch of the fork - Transformation (Between a Dummy Source and the BAPI_TRANSACTION_COMMIT Request)
    7. Send Synchronous (to make the 2nd BAPI Call)
    6. Transformation ( BAPI_ALM_NOTIF_SAVE Response and the source Response)
    7. Send Asynchronous (to make the 3rd BAPI call)
    8. Send the Source Response and close the Sync-Async Bridge.
    There might be alternative ways also of doing it...
    Also a better design would be to take care of the 2nd and the 3rd BAPI call within the code of the 1st RFC Function Module.
    Regards,
    Abhy Thomas

  • Timeout in synchronous SOAP-Proxy communication

    Hi,
    I have a synchronous SOAP-Proxy communication (3rd party - XI - ERP). 3rd party is always the initiator of the communication.
    Is there a general rule about who should set a timeout? Does it should be set by a 3rd party, XI, or ERP? In our scenario it shouldn't be longer than 30 seconds.
    If it needs to be set on SAP side, where it should be defined? On XI or on ERP, or on both systems? 
    Which SAP parameter is used for setting the timeout for synchronous communication that does not affect other already working ways of communication, like asynchronous.
    Thanks for answers.
    Janos

    Hi,
    The timeout property needs to be set at XI level. For SOAP sender timeout check sap note no. 856597 which reads as  The default timeout value for synchronous calls is 5 minutes. You can increase this value by setting parameter XI.Timeout in the module parameter table of the SOAP adapter. The value must be given in milliseconds. For example, value 600000 represents the timeout value of 10 minutes. This parameter is not recognized in systems prior to SP13.
    Thanks!

  • IDOC-- JDBC server with synchronous communication.

    Hi  SAP PI Experts,
    we have requirement as per the below. could you suggest the best possible way to execute this below.
    we need to send the outbound IDOC to JDBC and reponse file from JDBC should be posted to ECC in IDOC format.
    as per my knowledge synchronous communication is not prefered for IDOC scenaioro.
    please advise the best possible solution in PI 7.1
    Regards,
    Krushi.

    IDoc not supports Sync communication but JDBC Receiver channel supports it.
    if you have any limitation like not to use ccBPM then 2 options
    1)Change IDoc to ABAP Client Proxy ,Proxy supports sync communication.
    2)IDoc-->PI(JDBC Lookup)--->IDoc(recv).
    if the response message from JDBC is not huge then try option 2.
    Regards,
    Raj

  • IDOC---XI----SOAP(Webservice) Sync

    Experts,
    Need to Develop IDOC-XI--SOAP(Webservice) Sync Communication Interface
    I have  importing the Standard Idoc & External Def  for WSDL ,which has the Request & Response Structure.
    I need to handle the SYNC message in the XI  and ignore it/ do not pass to the source system.
    Any Weblog will help ,
    Thnaks
    Edward

    Hi Edward,
    Follow the steps given below
    In IR create following objects:
    1: Import Web Service definition file in External Definition.
    2: Import IDoc ZDLVRY. (I have used custom IDoc)
    3: Create Message Interface
         a. Abstract Synchronous for sender
         b. Abstract Synchronous for Receiver
         c. Abstract Asynchronous for request
         d. Abstract Asynchronous for response
    4. Create Message Mapping for Source Request to Target Request
    5. Create Message Mapping for Target Response to Source Response.
    6. Create Interface mapping and specify proper input in request and response tab.
    7. Create Integration Process
    Configuration in ID:
    1. Create Integration Process for BPM created in IR.
    2. Create receiver determination
        a. From SAP R/3 to Integration Process
        b. From Integration Process to Third Party (Web Service)
        c. From Integration Process to SAP R/3
    3. Create Interface Determination
        a. From SAP R/3 to Integration Process
        b. From Integration Process to Third Party (Web Service)
        c. From Integration Process to SAP R/3
    4. Create Receiver Agreement
    5. Create Communication channel for Soap Receiver and IDoc Receiver.
    6. Create Receiver Agreement for Soap Receiver
    7. Create Receiver Agreement for IDoc Receiver
    if u have any doubt in any step please let me know
    Regards,
    Manisha

  • Regaring File to IDOC  Useing SOAP Adapter

    Hi ,
        Can any one please forward me an File to idoc Useing SOAP ADapter Senario.IF i am wrong please send me a simple senario of useing SOAP Adapter.
    Regd's
    Raj

    Hi Raj,
    I think i will give you some more information about SOAP adapters,So Please go through the link below and follow the steps mentioned in it while defining the web service.Then you will get to know the actual use of a SOAP adapter.
    <a href="http://help.sap.com/saphelp_erp2004/helpdata/en/31/daa0404dd52b54e10000000a1550b0/content.htm">Defining Web Services</a>
    Sending a Simple SOAP envelope to XI via HTTP using ASP
    https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1442 [original link is broken]
    More links for SOAP Adapter:
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/fdca3f01f33e1ce10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/69/a6fb3fea9df028e10000000a1550b0/frameset.htm
    You can create SOAP Request from WSDL using the following tool.
    http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=65a1d4ea-0f7a-41bd-8494-e916ebc4159c
    You've to expose your outbound message interface as a WSDL which can be used by say EP.
    Also go thru the following threads
    Re: WebService
    Re: SOAP Client for Synchronous Scenario
    Re: How to test a webservice as a standalone?
    Also check this Pdf for the Receiever SOAP Adapter configuration:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/40728f7b-0401-0010-d9bc-8c73884a3789
    Regards,
    abhy

  • Error in the SOAP   Receiver communication channel

    Hi ,
            My scenario is RFC - to -SOAP (synchronous )   i have  specified the TARGET URL inthe   SOAP receiver  comminication chanel.. but  while testing  the interface   by providing the test  data from R/3 ..  I'm not getting any Respose.. ..
    If I check in the SXMB_MONI in  i'm getting the following message ..  but the URL whicjh i provided that is fine.. but my doubt  is  through XI  may be it's  not able to connect the  Target System... .. so, please suggest me...
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIAdapterFramework</SAP:Category>
      <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: www.webservicex.net</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    regards
    Jain

    By default, the SOAP adapter sends the SOAP message with the content type text/xml.
    When you check "Do not use SOAP envelope", the default contnet type is application/xml.
    You can change the content type like this: Go to the SOAP receiver communication channel module tab. Add the module "localejbs/AF_Modules/MessageTransformBean" before the standard module. Add the parameter name Transform.ContentType and value text/xml.
    Check out this
    /people/varadharajan.krishnasamy/blog/2007/01/09/troubleshooting-soap-message--xi
    One way of testing ur scenario
    /people/michal.krawczyk2/blog/2005/08/25/xi-sending-a-message-without-the-use-of-an-adapter-not-possible
    Also have a look here
    SAP Note 856597
    reward points if solution found helpfull
    regards
    chandrakanth

  • IDOC to SOAP

    Dear All,
         My scenario is  IDOC to SOAP(Asynchronous) .
    In MONI ,I am able to see the succesful message but  in  receiver  communication channel, I am getting the following below error,
    SOAP:call failed:java.net.ConnectException:Connectiontimedout:
    Please suggest me on this.
    Regards,
    Lavanya B.

    Hi Lavanya,
    Its very hard to tell exactly where it is going wrong. Some issues are already mentioned by prateek. Apart from it you can take the receiver payload and see whether it is the same as expected by the webservice or not. If possible try to load this payload manually so that if any issues are there you may come to know.
    Regards,
    ---Satish

  • Problem in IDOC to SOAP Scenario

    Hi All,
    we have an IDOC to SOAP scenario in which we have got WSDL from the client for the targets.. Please let us know the WSDL would be the message type and we need to create interface for it . Also the SOAP header is not appearing in the target  xml.
    Thanks

    Hi ,
    This means when the data is sent to the webservice it will contain the SOAP header just that we cannot see it in Moni . Also
    What about the acknowledgement . Our message is successfull but with message that awaiting acknowledgement.
    What we basically need a synchronous scenario of IDOC to SOAP but the response not going back to SAP-R3 . We recieve the response only in SAP-PI. Saw some blogs but the message is going back to SAP-R3. Please help us on this
    Thanks
    Edited by: vishal  gadkari on Aug 22, 2009 4:15 PM

  • Idoc---XI----Webservice Sync Communication

    Dear Friends,
    I Need to Develop IDOC-XI--SOAP(Webservice) Sync Communication Interface
    I have created the External Def by exporting & importing the Standard Idoc
    Iam using this External Def as Request message from SAP
    And I created a generic Response Message structure to receive the response from Webservice.
    and Imported the WSDL File which has the Request & response Structure
    Can any one let me know how many Message Interfaces needs to create for the same Scenario
    REgards
    Seshagiri
    <unsuitable for Workflow - moved to XI. Please choose your forums more carefully in future>
    Edited by: Mike Pokraka on Aug 3, 2008 6:17 PM

    Hi Sheshgiri,
           You don't need to create any message interfaces as the Idoc as well as the external definitions themselves act as message interfaces. So, you can use them directly.
    If you are planning to use BPM, then you might have create abstract interfaces.
    Regards,
    Akshay

  • IDOC to JDBC Synchronous interface

    Hi Experts,
    I am using PI 7.1.
    Having requirement of IDOC to JDBC synchronous scenario. When data is coming from SAP to DB it is updating data in to u201CXu201D table, when data response from DB is u201CYu201D table.
    How can I configure this interface, Please suggest me.
    Best Regards,
    Pasi...

    Hello,
    For special problematic of IDOC -> JDBC and sending back acknowledgement have a look to One Logical System Name for serveral BPM Acknowledgements
    One Logical System Name for serveral BPM Acknowledgements
    Step by Step JDBC Synchornous
    JDBC Receiver Adapter -- Synchronous Select – Step by Step
    Integration with database made easy
    Integration with Databases made easy – Part 1.
    SOAP <=> JDBC Synchronous
    SYNCHRONOUS SOAP TO JDBC - END TO END WALKTHROUGH
    Serialize IDOC XML
    How to serialize IDoc XML messages fed into XI
    Regards,
    Phani

Maybe you are looking for

  • How can I select to answer a mail with or without the message

    Hello When a mail is received and then opened, I have the options to answer to the sender or to all. In the account preferences, I can specify if the original message is copied or not. This option applies to ALL the answers. How can I choose when edi

  • Can't open app links "mime" automaticly anymore in my browser.

    In the past when I would click on something like http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=286616920&mt=8 it would automaticly open itunes and take me to the app. Something has changed and this doesn't work anymore. I get a do

  • Final cut pro event and project missing

    Everytime when I quit FCPX, I found nothing when I open the software next time to edit my video. I have got nothing after spend 10 hours on my editing, whats going on??????????? The event folder and project folder were still there, but I just can't r

  • Meta JCo connection issue - cannot have 2 systems for ESS????

    I have a finance R/3 system and also an HR R/3 System. I need to be able to use the FI system for the timesheet ESS screens and the HR system for the others.  I have used the iView Application parameter as documented; (sap-wd-arfc-useSys=SAP_R3_Human

  • Application manager fails to install

    Joined the creative cloud and application manager fails to install