Proxy to Soap using BPM

Hi,
I have a scenario in which we have to pass details from Proxy and post it on a webservice. The web service will have repsonse which is just a single field and this along with an input field which we might have to store in the BPM so that we can provide the appropriate response i.e (input field + response field).Could let me know how to go about it? Thanks in advance.

Hi,
Can you tell us on why do you need BPM?
If you want to use BPM:
Steps could be:
Receive step(Proxy message) -> Transformation(mapping) -> Synchronous send(to send ot web service and receive response) -> Send
Describe more on the requirement.
--Divyesh

Similar Messages

  • ABAP Proxy to SOAP using PI

    Dear Friends,
    I have the requirement ABAP Proxy to SOAP using PI.
    In R/3 I had generated the proxy , after that what I need to do.
    Please suggest me.
    Regards,
    Shalini Shah

    Hi Shalini,
    There are loads of blogs and discussion threads available to help you with this scenario. Just check the following links:
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79?quicklink=index&overridelayout=true
    http://www.sdn.sap.com/irj/scn/advancedsearch?query=proxytosoap+scenario
    Please go ahead and check the documents and let us know if you have any doubt.
    Rgds,
    Puneet

  • Idoc to soap using BPM

    Hi,
    Plz give inputs/blogs link to do this scenario.
    i want to send idoc from R3 to web service(SOAP) using BPM bec i want to get the response.
    how many Message Interface i need to develop for this?
    Edited by: ruban R on Apr 1, 2008 12:29 AM
    Edited by: ruban R on Apr 1, 2008 12:39 AM

    Hi,
    These Steps may help you
    Design objects:
    Data type & Message Type
    1) Import the IDOC and Later you import the Idoc, doble click on it a export it to your driver, next import it as External Definition for reason becouse if not, you wont be able to create a MI type synch with IDOC and genericResponse structure
    2) Create data type for your Response Type of IDOC
    3) Import the WSDL File For Request and the Response Type
    4) Create the Message types according to the Data types which we created
    Messgae Interface:
    1) Outbound synchronous:
        output message will be ur idoc external definition file
        input message will be ur message type that u have created.
    2) Abstract Outbound Synchronous:
        use the same as in Outbound Synchronous
    3) Inbound Synchronous:
        input message will be ur request message of RFC/WebService
        output message will be ur response message of RFC/Webservice
    4)Abstract Inbound Sunchronous:
        input message will be ur request message of RFC/WebService
        output message will be ur response message of RFC/Webservice
    Mapping
    Request Message Mapping:
    b/w ur idoc external definiton and request message of RFC/WS
    response Message Mapping:
    b/w ur Response message of RFC/WS and ur message type
    Interface Mapping
    Import MI(abstract) of IDOC
    Import MI of WS
    select the mapping for request and response Tab
    BPM
    1) In container window define a variable named IDoc_ABS with category abstract interface and   
        type (select the MI of IDOC alone)
       define a variable named GenericRespnse_abs with category abstract interface and type (select         
       MI of genericResponse alone)
    2) Create a Recieve Step --> in property message select the container you define before of idoc.
    3) Define a Send Step--> mode synchronous
        select MI type abstract and sync (idoc and genericResponse)
        for property request message selects container Idoc_ABS
        for property response message selects container GenericRespnse_abs.
    Save your Changes and thats all for BPM
    Configuration
    1) Create scenario
        Assign BS and create comunication channels with QoS (quality of service) type BE
    2) Import your BPM
       Create a Receiver Determination
    -->in the target service select the BPM. Save
    -->In overview windown at foot windowns select MI IDoc_abs only. nothing else
    Create a Receiver Determination
    -->here the system who send data is BPM
    -->in the target service select the BS of receiver system.Save
    -->In overview windown at foot windowns select interface mapping and assing communication channel
    what we do here. the flow is next
    1) Receive data from sender system and send it to BPM
    2) BPM call bs of target system (WS). how? because in interface determination you selected    
       before the interface mapping
    Regards
    Seshagiri

  • Proxy to SOAP Sync with BPM (1:N)

    Hi
    Proxy to SOAP Sync and return message will be posted back to R/3 via proxy. This is Async to Sync using BPM. And the split happens in BPM as well. We are suppose to go with BPM here, that's the mandatory step for learning purpose
    I am trying to follow the steps below
    1. OB Async MI Proxy outbound message into XI
    2. ABS Async MI to receive the proxy message into BPM
    3. ABS Sync MI SOAP Sync message
    4.ABS Async MI for Proxy Inbound to R/3
    5. BPM for Split
    I am at the stage of writing spec, can't execute any of the steps and have no prior experience with this kind ofscenario. If anybody have experience, please do share exact steps. Thanks in advance

    Hi,
    Your steps are correct ... in the IP, the following steps will be there -
    Rcv -> Transform -> Send (sync) -> Transform -> Send (async).
    I am not too sure what you mean by step 5 - BPM for split ?
    Regards,
    Neetesh

  • File to SOAP Scenario Using BPM

    Hi,
    I am doing File to SOAP scenario using BPM.
    while doing Integration Process in IR, i got the following error message
    "Expression of simple type xsd:string expected"
    But i have given xsd:string in the correlation element as well as in Data types.
    I dont know why it is getting the error.
    could you anyone please help me to sort out?
    Regards,
    Sai Ch.

    Hey,
    Check in the correlation editor, where you define the condition.
    Whether the data type of the XPath is string and whether it matches with the data type of the messages that you have selected.also make sure the type of the correlation variable is string.
    regards,
       Milan

  • 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

  • SOAP to FILE using BPM to catch exception and save error into the table

    Hi All
    My scenario SOAP to FILE using BPB is working fine but now I have a requirement to catch an exception if something wrong happened on a runtime and save it into the tracking table, is that possible, if it is please point me to the similar step by step scenario.
    Thanks in advince,
    Yonela

    Yonela:
    As your original requirement is to save the eorr data into your database table, however, you was mis-leaded to alerting field.
    You are using BPM now, then that is the reason that I suggested to use excpetion branch.
    It does not matter SOAP to File seneario, it does not have to be SAP - RFC scenario, your BPM willl interact with database system.
    First you have block which include all the steps that possible generate exception: like Transformation step, and your final Aync send step (which will send data to file).
    Secondly, define a exception handler for that block.
    3. Modify each steps that posssible generate exception: e.g. transformation step, send step, add exception handler to them.
    4. Create exception branch in side the block
    5. Add another send step inside your exception branch, which will call RFC, RFC will write data to your table.
    6. If you want, you can add a control step in exception branch to trigger a alert, or terminate current process.
    At run time, any steps that trigger exeption,will cause your exception branch executed, and RFC will be called to insert data into your database table.
    Regards
    Liang

  • Message Split using BPM for Multiple SOAP Receivers

    hi,
    I have a scenario where in i have to split the message coming from IDOC(SOURCE) to multiple SOAP(TARGET) receivers through BPM
    I took a single file as a scenario and tested it. It worked fine.
    I am using only a single output interface.
    I have followed this weblog
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    but this blog has 2 output interfaces whereas in my case i just only one output interface that i want to route to multiple receivers based on the value in the PARVW in the IDOC.
    Thanks,
    Tirumal

    hi ,
    this is done using CONDITIONAL RECEIVER DETERMIANTION.
    While doing your reciver determiantion, you can specify multiple receivers and also specify the condition on which the receiver is to be choosen.
    Also, just check the last path of this blog for the same,
    /people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
    Regards,
    Bhavesh

  • Synch proxy with synch JDBC using BPM

    Hi All,
    I have a synch proxy to synch jdbc interface. Actually I need to make two JDBC calls by one synch proxy and collect their data in PI and send all data back once to proxy.
    Since I need to make two calls and collect data in one table and send it back to proxy I will have to use bpm in it.
    Can anyone please suggest the architure and suitable blog for the same.
    Thanks and Regards,
    Atul

    Check for sync - async bridge scenarios in the forum. You would need a BPM stadard sync-async bridge pattern.
    VJ

  • Proxy to SOAP

    HI Experts ,
    Have a query.
    We have a proxy to SOAP scenario in which there is a requirement that once the request parameters are going on to the webservice there can be a chance that the webservice is down or authentication parameters are wrong. In that case we require a reply back to the request after certain time that the request couldnt be processed due to either failure of authentication parameters or some other reason.
    Basically what we want is that we want that request to wait wait for certain amount of time , if not successful gives back message to the wizard after certain attempts say 2.
    How can we achieve this . Where can we do these settings in PROXY or IN SAP PI.
    Need your inputs.
    Regards,
    Saras

    there can be a chance that the webservice is down or authentication parameters are wrong
    in such a case PI/XI itself will throw an alert in SXMB_MONI...your task will be to capture that particular and send it back to the SAP system......
    I dont know how BPM will capture such types of alert.....
    There is a blog by Bhavesh...explaining how to throw an alert if the end system is down...implemented using an UDF in message mapping...just search you will get it easily
    this is the blog:
    /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
    Edited by: abhishek salvi on May 15, 2009 11:01 AM

  • Regarding acknowledgement without using BPM

    Hi,
    regarding acknowledgement without using BPM,
    i've read all realated document sap lib, but i am not clear on it.
    what step do i have to follow?
    1. IDOC to Java server proxy?
    2. RFC to Java Server Proxy?
    3. ABAP proxy to SOAP?
    thanks & regards
    dennis.

    > what step do i have to follow?
    > 1. IDOC to Java server proxy?
    For the IDOC you need not do anything, as IDOCs request ack's per default. For Java Proxies look here:
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3531 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    > 2. RFC to Java Server Proxy?
    This is not possible.
    > 3. ABAP proxy to SOAP?
    Look in the online help for requesting ack's in ABAP proxy (it is similat leik in Java Proxies). You can only work with system ack's.
    Regards
    Stefan

  • Doubt regarding Multiple recervers without using BPM

    Hi Experts,
    Our  RFC<->XI<->SOAP asynchronous scenario is working fine,  in this case RFC is sender, SOAP is Receiver,  i want to send some fields form the response of SOAP to be send it as mail using Mail adapter.
    My existing asynchronous scenario is like this:
    R3 (rfc-sender) <-> XI <-> WebService ( soap-receiver)
    i) R3-> sends the request to-> WebService via xi
    WebService -> sends the response to the R3 via XI
    ii) WebService (Rfc-sender) sends response to WebService (SOAP-Receiver) via XI.
    now i need to modify above scenario like this:
    I want to send WebService response to Mail and R3 as well at the same time. in this case i need to use Receiver Mail adapter fields need to be send it as e-mail using mail.
    in this case : RFC adapter configured as sender
    SOAP adapter configured as Receiver
    Mail adapter configured as Receiver
    Please advice me how should go aobut this scenario with out using BPM.
    Thanks,
    Dhanush.

    Hi,
    If you are using ZRFC as sender,
    then create a outbound proxy for triggering message
    ti XI and mail receiver.
    Call this proxy in your ZRFC to avaod BPM.
    Your SOPA system is configured as Receiver so it won't work as sender for mail to trigger it. So proxy would be better case.

  • Webservice to JDBC to SAP System to webservice using BPM

    Hi Frnz
    My requirement is i need to get data from webservice....... and i need to push that data to some Database... and the response from the Database to SAP system......and from that SAP system  the respone should come to the Webservie which is the sender one. and the whole procedure should be done under PI7.1. using BPM.
    can any one suggest me how to achieve this whole process... related links and your views.
    MunnaV

    Hi,
    I will tell you how to search for that :
    1. find  BPM blogs in the forum - to get the idea of a BPM
    2. then find the blogs about SOAP adapter for WS call and JDBC call and ABAP proxy (for SAP)
    3. then combine it and you have the scenario
    you don't need links from us, you can get them on your own
    we can help you with detailed questions once you start the development
    Regards,
    Michal KRawczyk

  • Error while invoking the ABAP Proxy via SOAP Adapter

    Hi,
    My scenario involves SOAP Client invoking a webservice hosted in PI which in turn invokes the ABAP Proxy asyncronously.
    SOAP Client -> PI -> ECC (ABAP Proxy) . This works fine.
    Next , I have exposed the ECC Service Interface as webservice using SOA Manager transaction. Now, once the service is created using SOAManager, i replaced the XI Adapter with SOAP Adapter and provided the target URL as the URL provided by the SOAManager.
    SOAP Client -> PI -> ECC (ABAP Proxy via SOAP Adapter)
    With this approach, i am encountering the below error message
    2009-05-29 12:17:55 Error Adapter Framework caught exception: null
    2009-05-29 12:17:55 Error Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException.
    Any ideas on the above errror message? Any pointers or inputs will be appreciated.
    Thanks,
    Vinayak Kamath

    > 2009-05-29 12:17:55 Error Adapter Framework caught exception: null
    > 2009-05-29 12:17:55 Error Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException.
    This is a generic error message which does not have any information about the error which has occurred.
    Do you see any error messages in the SOAP client?
    Regards
    Stefan

  • Error in SOAP receiver channel in Synchronous Proxy to SOAP scenario

    Hi all,
    We are experiencing an issue with a synchronous Proxy to SOAP scenario. Getting below error message in the SOAP receiver communication channel for the response message.
    SOAP: Response message contains an errorXIAdapter/HTTP/ADAPTER.HTTP_EXCEPTION - HTTP 500 Internal Server Error
    Returning to application. Exception: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error encountered while executing mapping: com.sap.aii.af.service.mapping.MappingException: com.sap.aii.utilxi.misc.api.ResourceException: Could not determine mapping steps for message 1364b76e-ecbf-11e4-85f4-000023acfde6.
    We are running PI 7.4.
    Any help is appreciated.
    Thanks,
    Pushpa

    Hi,
    Seems the Receiver Webservice is not reachable. Did you try to test it using SOAP UI tool.
    1. Test a fresh message from local SOAP UI tool.
    2. Pick 3rd party WSDL file and Import in SOAP UI tool.
    3. Put some dummy data for mandatory fields
    4. Trigger it msg and ckh if you get successful / response msg.
    5. Check if firewall is open and that URL is not blocked.
    Hope it helps
    Regards,
    Azhar

Maybe you are looking for