Response from IDOC adapter

Hi,
I have a
Webservice(EO) -> XI ->IDOC  scenario.
The webservice wants a acknowledgement back when the IDOC reaches the R/3 system.
I thought i will configure ALEAUD. but they want the IDOC number  to come as a response ie immediately when the request is sent.Is this possible by any means , considering the fact that the IDOC adapter doesnt support BE QOS?
I was also thinking of how to configure transport ack for my scenario. I know how to do it in BPM but here i dont have BPM.
Is there a way to do it?

Hi Siva,
I know how to do it in BPM but here i dont have BPM.
Is there a way to do it?
If you dont mind having another simple interface  from ECC to Webservice.Once the IDOC gets posted , you can have a report with the change pointer which fetches the IDOC number and status code   from status IDOC and create a  two field Z IDOC structure and import in  PI. once IDOC gets posted , the Ack interface (OB) will get triggerd and response with status text will be sent to WS.
I think it will be simpler then having a BPM and making it wait for response.And if you test the same , there will not be much delay involved in the process.
Regards,
Srinivas

Similar Messages

  • Oracle ESB 10g : Blank namespace in the SOAP Response from DB adapter

    Hi All,
    I am currently working on a ESB project to route input XML file as a parameter to a DB Function.
    This Function has a input parameter of type XMLTYPE and returns VARCHAR2 values.
    I have configured the DB Adapter to invoke this function and return the result as a SOAP response.
    The WSDL of DB adapter contains XML_DATA as input and XMLMAIN as the output result.
    The ESB project works fine as expected. But in the result from DB adapter contains a blank namespace [xmlns=""] for the XMLMAIN element .
    I hereby attach the output XML.
    Please help how to remove this blank namespace from the output.
    We are using SOA Suite 10g 10.1.3.5
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header/>
    <env:Body xmlns="http://xmlns.oracle.com/pcbpel/adapter/db/XXWEB/XMLMISCRCPTINSERTPKG/XMLMAIN/">
    <OutputParameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <XMLMAIN xmlns="">100</XMLMAIN>
    </OutputParameters>
    </env:Body>
    </env:Envelope>
    Thanks and Regards,
    Justin Michael Raj

    well..the problem is..the db adapter has it's own transaction..so the transactions fails or not.
    you're just not capable of checking if the transaction went ok...and return 'process completed ok' or when the transaction failed for some reason return 'the process aborted'.
    So you just need some extra steps for it to be able to return some response-message

  • Condition check through BPM...............response from IDOC

    Hi All,
               I have a scenario like this:
    The data is coming from a system through a webservice and the SOAP data to be mapped to idoc.But the trick is the idoc is aasynchronous one and the webservice expects a response in return as its designed synchronous.  please suggest.
    Again the webservice data contains some specific data field and on checking the relevence of the data we need to post that to idoc otherwise we can rollback.can this be checked with BPM?
    if possible please suggest elaborately and if possible through another way suggest that also.
    Abhishek

    Use BPM. The Idoc Ack in the form of ALEAUD has to be configured at receiver. This Idoc can be caught in BPM in the form of acknowledgement idoc. Once received, u may use tranform step of BPM to map certain values to ur webservice response. Use Sync-Async bridge concept (many weblogs available on sdn)
    checking the relevence of the data
    What is the logic here. U may check certain conditions in mapping directly and raise an alert accordingly.
    Regards,
    Prateek

  • ESB - No Response from FTP Adapter Service

    Hello I'm developing a service on the Oracle ESB 10.1.3.4.0.
    My goal is to receive an incoming SOAP/XML message and then put the XML file on an FTP Server and return a response(Success/Error) to the invoker.
    I have created a RoutingService and a FTP Adapter Service. The Routing service receives the incoming message and then performs a synchronous executions on the FTP adapter service. The FTP adapter service successfully uploads the file to the FTP server.
    The problem I'm having is that the FTP Adapter Service does not return a response and the Routing Service does not allow me to create an XSL mapping for the response.
    Does anyone have any recommendations on how to return a response to the invoker of the Routing Service?
    Thanks!

    The WSDL that the wizard of the FTP Adapter created only had an "input" tag under the "operation". I manually modified the WSDL and added an "output" tag that references a new XSD that I imported.
    The problem that I was originally having was that the FTP adapter returned an empty message with no tags. With my change to the WSDL, the FTP adapter is still NOT returning any data, however it is now returning the the tags (empty) that I referenced in the WSDL.
    I originally had 1 routing service and 1 FTP adapter service. In order to make use of the empty tags being returned by the FTP adapter, I created a 2nd routing service and placed in between the first 2 services. Next I used an XSL mapping to hard code the value "success" in the response XML. If the FTP adapter fails, then a fault will be returned to the user.
    I hope this answers your question.

  • Sending multi records as response from DB adapter

    Hi all,
    Thanks in advance.
    Using DB adapter how to send multiple records as a response. for ex. i am querying by the deptno 10, i will get
    4 records i want to send these 4 records as response.
    thanx
    pudur

    Hi Pudur,
    I am assuming that you are using 11g stack. Please go through below link to know more about DB adapter and it's implementaion in BPEL -
    http://download.oracle.com/docs/cd/E14571_01/integration.1111/e10231/adptr_db.htm#BDCGADFJ
    http://download.oracle.com/docs/cd/E14571_01/integration.1111/e10224/bp_gsbpel.htm#BEIHEBGD (section 4.5 Introduction to Technology Adapters)
    For further queries you may raise thread in BPEL forum -
    BPEL
    Regards,
    Anuj

  • Separate Response from an Adaptive Web Service Model

    Hi,
    A WebService returns me a list of Outbound and Inbound flights (all in one list). Now i want to separate the Inbound and the Outbound flights into two tables. One parameter is different, so its easy to define the separation.
    But how can i do that?
    Ideas
    a) Copy the whole response and delete the inbounds on one table and the outbounds on the other?
    b) splitting the Response (what ever that means)
    c) define filter on both table?
    Regards,
    Chris M

    Thank you
    Here the code to the description from Anagha,
    public void split( )  {
       int n = wdContext.nodeResponseIn().size();
       for (int i = n - 1; i >= 0; i--) {
            // Sorting the entries with the parameter "O" for Outbound
            if(wdContext.nodeAvt_In().getResponseInElementAt(i).getDirection().equals("O")) {
                         //Creating a new Element in the "Out" Node
             wdContext.createAndAddResponseOutElement();
                        //Move the "current" Node to the new created Node
             wdContext.nodeResponseOut().moveNext();
                        //Copy Elements from the "In" Node to the "Out" Node
             wdContext.currentResponseOutElement().setArr(
                                     wdContext.nodeRsponseIn().getResponseInElementAt(i).getArr());
            //Remove the "Out" Element from the "In" Node
            wdContext.nodeAvt_In().removeElementAt(i);

  • SAP Idocs -How to handle response from target system

    Hi,
    I am working on a scenario in which I will send Idocs asynchronously from SAP thro a SOAP adapter to a  webservice deployed on the target system.
    After the Idoc data is posted in the target system,the target system will send the acknowledgement for the receipt(basically response message).How to handle this scenario?
    SAP Idoc( outbound asynchronous)---> SAP XI3.0(soap adapter) ---> Target system(inbound synchronous)
    Do I need to go for BPM to handle this situation?
    Is there any alterantive to BPM.
    If any of the forum members who have worked on the similar scenario could help me in finding a better solution,I will be thankful to them.
    Thanks,
    Leo

    Hi Udo,
    Thanks for the info.My scenario is like this.
    SAP R/3 Idoc -> SAP XI 3.0 <-> Webservice in the target system.
    The webservice in the target system will receive the Idoc as a request messsage and send a response message synchronously.
    Since Idoc is sent asynchronously( I believe Idocs sent from SAP are always asynchronous),there is no Proxy waiting in SAP R/3 to receive the response message from the target system.
    If I go for BPM for the above scenario,will the BPM steps look like the following.
    1)Receive Idoc from SAP.
    2)Send Idoc sysnchronously to webservice
    3)Receive the response from the webservice synchronously.
    4.Post the response message to a proxy which can handle it further in SAP R/3.
    Please note that my knowledge in BPM is limited and correct me if I am wrong.
    Thanks in advance
    S.Banukumar

  • How to save the Response message from SOAP adapter

    Dear Friends,
       I am sending the FIle details webserver.here sender is FILE adapter and receiver is SOAP adapter.
    FIle to SOAP working successfully, but I need response from SOAP.
    Sender QoS is BE, so the response is coming to XI, but in SXMB_MONI it is showing DO YOU WANT TO SAVE IT or DISPLAY IT.
    my requirement is response message is directly updated in XI system.
    For response Can I use BPM or which method I need to use.
    Please suggest me  how to do the resonse message(SOAP to FILE).
    Regards,
    Shalini Shah.

    Sender QoS is BE,
    File adapter does not support sync communication. Therefore the scenario won't work as it is.
    What are you planning to do with the response? If you want to process is further, then:
    1. One way without BPM would be use of adapter module.
    File - RFC - File without a BPM - Possible from SP 19.
    2. Or you may use BPM with Async Sync bridge
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    Regards,
    Prateek

  • How to Debug Idoc Adapter from XI to R/3

    Hi,
    Can any one please help in debugging the Idoc adapter from XI to R/3.
    Here is the my problem - XI to R/3 idocs have been created correctly but the service relation ship is created incorrectly.
    i.e. When XI creates inbound idoc into R/3, it is also linking some other non relevant idoc which is created 2 years back as a outbound idoc reference to that original idoc.
    And this outbound idoc is coming to XI and the same can be seen in IDX5(Table - IDXRCVPOR) for that message.
    I tried to see various parameters on idoc_inbound_asynchronus FM and when I execute this FM in R/3, idocs are being created correctly and service relation ship is also correct.
    I tried to debug the RFC by using dialog user in the idoc adapter - IDX_OUTBOUND_XMB. For this we forced to fail the message at the adapter level and then manually restarted in SXI_MONI so that it will stop in debug mode in IDX_OUTBOUND_XMB.. But it didn't.
    Can any one help on this ?
    Thanks in Advance..
    Nagarjuna

    If my understanding is correct, your inbound function module processing the IDoc is triggering another IDoc to be sent back to PI? If so, then have you checked the distribution model? If you want to supress it you can try removing it as the outbound Idoc for the logical system in we20 (Partner Profiles)?

  • Receive XML file from CIDX adapter and Post to SAP as IDoc using XI

    I have scenario where we will receive the xml file from CIDX adapter. I need to take the xml from CIDX, do the Database Lookup and post it to SAP as IDoc.
    Any technical documentaion or step-by-step process documents can be very helpfull to me, since I am new to XI
    Thanks
    SP

    Lookup in XI is used to call the target data storage system and get data from there to your mapping programme.
    In XI you can do Lookup in Message Mapping, Java Mapping and in XSLT Mapping. Previously Lookup in XI was system dependent. But now what ever the system are i.e. SAP system or non-sap system(Oracle,MS SQL etc) lookup API are same.
    Overview of Lookup
    - Lookups are used to identify/request the data from mapping program.
    - It interrupt the process and looking for data which was stored in target system.
    - It get that data and comeback to process and continue with that data.
    Types of Lookups in XI
    - JDBC Lookup: JDBC lookup is used for accessing data from database (non SAP).
    - RFC Lookup: RFC lookup is used for accessing the SAP Data.
    - SOAP Lookup: SOAP lookup is used for accessing data from Webservice
    Steps to perform Lookup in Mapping
    Import package com.sap.aii.mapping.lookup.*;
    Create connection to the target Database system.
    // Determine communication channel created in ID
    Channel channel = null;
    channel = LookupService.getChannel("DB-SYSTEM-NAME","DB-CHANNEL-NAME");
    // Get system accessor for the channel.
    DataBaseAccessor accessor = null;
    accessor = LookupService.getDataBaseAccessor(channel);
    Build the Query String.
    Getting Result
    // Execute Query and get the values.
    DataBaseResult resultSet = null;
    resultSet = accessor.execute(Query);

  • How to decide which adapter to use from IDOC and RFC?

    Hi All,
    When interating XI with an SAP system,
    How to decide which adapter to use from IDOC and RFC?
    Thanks.

    Hi,
    you can also consider to use ABAP Proxy if you are working with Systems based on SAP Web AS 6.40.
    Here some useful links:
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/02/265c3cf311070ae10000000a114084/content.htm">ABAP Proxy Runtime</a>
    ABAP Proxies in XI(Client Proxy)
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    ABAP Server Proxies
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    How do you activate ABAP Proxies?
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    XI: Reliable Messaging EOIO in ABAP Proxies
    /people/arulraja.ma/blog/2006/08/18/xi-reliable-messaging-150-eoio-in-abap-proxies
    More links for proxy:
    proxies and performance...
    Hope this help
    Francesco

  • ** Port is missing from the IDoc control record  (Receiver IDoc adapter)

    We are using a File to IDoc scenario and in the idoc sap sender port is not coming due to this IDoc posting is failing. Could any one tell us why idoc adapter is not able to get SAP port.
    The following is the error message in SAP side.
    Status : 56
    IDoc: 0000000006188579 Status: IDoc with errors added
    EDI: Partner profile inbound not available
    Kindly help me friends.
    Thanks,
    Jagathees P.

    hi,
    >EDI: Partner profile inbound not available
    this error message means that there is not partner profile
    configuration for this IDOC (you configure it in WE20 of ERP/R/3 )
    or your XI system is configured to post to a wrong partner profile
    (if you fill your partner data in a mapping for example)
    so it's one of the other for sure - check it/change it and it will work
    for more info about IDOCs and XI you can check my book:
    www.sap-press.com/product.cfm?account=&product=H1935
    Regards,
    Michal Krawczyk
    http://mypigenie.com XI/PI FAQ

  • Root element is missing - Response from a WCF service - WCF-Custom adapter

    hi BizTalk experts,
    In the production environment, as soon as the response is getting subscribed by the orchestration, the orchestration instance is getting suspended and the error that shows up in console is 
    "Root element is missing".
    I have checked the actual response message in the console it is a well formed xml. This is happening only for a few responses from the WCF services. A majority of them are getting processed successfully. I have tried getting the parsing the response in a
    pipeline (using custom pipeline component, the production one uses xml receive) and pass it to the orchestration, but it fails giving the same error.
    Thanks in advance.

    Do you have any mapping done on the response message from the WCF service . ?
    If so Better to copy the suspended message coming from the WCF service and validate against the custom response Schema you have created.
    Note : You can try running fiddler tool to check the response from from the web service incase of failure.
    Also try logging the message in the event viewer or any debug tool.
    Thanks
    Abhishek

  • Doubt about IDOC Adapter

    Hi all,
    i'm using idoc adapter for generating IDOCS from R/3, and my scenario is: IDOC->XI->File. this is working fine, in R/3 i've got partner profiles for diferent vendors(suppliers) and they are configured for create idoc message in R/3 and all this message are caught by XI from my scenario and generate the corresponding text file.
    but now suppose that I need another scenario because i need to send purchase orders by mail instead file to some of my vendors in R/3. the scenario would be IDOC->XI->Mail.
    for both cases i would use ORDERS05.
    i can't undertand how XI knows wich scenario have to use, if there's nothing from R/3 that tells XI which scenario should be used.
    thanks, Fabian.

    Thanks for responses, I know what should i use to do what i wanted. but i've tried to make a condition in the receiver determination and it's giving me an error saying that 'No receiver could be determined'.
    i've searched in other threads and i have seen that utilizes xpath to make conditions
    what i have done is add a condition in Configured Receivers as  '/p1:ZORDERS2/IDOC/EDI_DC40/RCVPRN = 0000010598'
    because depending on the partner, i want to use either one or other adapter (file or mail)
    do i have misedd something?

  • Response from webservice needs to send as Mail content

    Hello,
    i have to configure a scenario as given below
               IDOC --> JDBC --> WebService and response from WebService to SMTPmail receiver.
    now i got strucked at Webservice response. after i got the response from WebService(SOAP), i need to send the both Request and response to Mail Receiver. So Please let me know how to capture request and response both to my SMTPmail adapter(as content or attachment).let me know the steps to proceed for SMTPmail Receiver
    Regards,SARAN

    Hi Raj,
    Thanks for teh reply.
    i have already configured teh above mentioned scenario.but i am not able to get Request and response.
    Could you pelase provide teh steps how to configure BPM in this scenario..(as ia m not handson with BPM)
    Reagrds,Saran

Maybe you are looking for