IDOC to Webservice (Async/Sync scenario)

Hi Experts,
Can you please help me out need to design an SEnario
IDOc to webservices useing SOAP. to External WEbservice,
I need some step to design.and Need to validate VEndor Number in that. in External webservice.
Reg's
Raj

hi raj,
u can use asynch/synch bridge in bpm for synch idoc-xi-soap.
for bpm refer:
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
for soap adapter refer;https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
for idoc refer:
/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters - IDoc to File
/people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi - ALE settings for R3-XI
u can refer all these links and complete ur scenario.
[reward if helpful]
regards,
latika.

Similar Messages

  • IDOC to Soap  Webservice (Async/Sync scenario)

    is any can provide somesteps please

    Refer this thread
    Synchronous IDoc -> SOAP scenario
    Regards
    Aashish Sinha
    PS : reward points if helpful

  • Reg File- Webservice Async-Sync bridge

    Hi,
    I have File -WS async-Sync scenario.
    I have configured the RequestResponseBean-CallSAP-ResponseOnewayBean in my sender CC
    When i execute the scenario, the sender channel is throwing Error: java.lang.NullPointerException
    When i check the sender channel log, the SOAP call is executing, then
    MP: processing local module localejbs/AF_Modules/ResponseOnewayBean,
    MP: processing local module localejbs/AF_Modules/ResponseOnewayBean,
    MP: exception caught with cause java.lang.NullPointerException,
    File processing failed with java.lang.NullPointerException.
    Is there any thing specific to be configured while using File adapter.
    Thanks in advance.

    Hi,
       How is the WebService sync-Async implemented are you using any aysnc-sync bridge...
    is that process returning the response back in the correct format.. ?
    Rajesh

  • Hi, In  a IDOC --- XI(BPM)--- SOAP Sync Scenario failrure.

    Hi, In  an IDOC ->XI(BPM)->SOAP Sync Scenario I observed recently messages are failing in SXMB_MONI with an error as:
    com.sap.aii.af.ra.ms.api.DeliveryException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: http://172.16.209.162/esdryrun/ContractData_Push. at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest() at System.Web.Services.Protocols.SoapServerProtocol.Initialize() at System.Web.Services.Protocols.ServerProtocol.SetContext(Type type, HttpContext context, HttpRequest request, HttpResponse response) at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)
    friends, could  u plz help on this.
    Thanks,
    satya.

    Hello,
    This indicates a configuration issue with this SOAP receiver adapter. Please check the on line help for the configuration of the SOAP adapter (the link is below). Please set the indicator in the "SOAP Action" field.
    Configuring the Receiver SOAP Adapter
    http://help.sap.com/saphelp_nw70/helpdata/EN/29/5bd93f130f9215e10000000a155106/frameset.htm
    (Below is the extract from the link)
    SOAP Action
    Specify the SOAP action. The action specifies the value for the
    SOAPAction in Web service messages; set the indicator.
    Regards,
    Sarah

  • Idoc to SOAP Async - Sync - stuck @ bpm bridge

    Hi there,
    i'm implementing an SAP -
    Idoc / Async ---> PI -
    > Soap / Sync communication, the idea is that i update the Idoc Status back on erp using and status idoc, i got the whole scenenario working but the Async - Sync bridge part with the status idoc, i've been reading a lot but i cant seem to find a good tutorial that helps me implement the bridge, i found this tutorial :
    https://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File%28Without%20BPM%29
    do you guys think i can make a workround so i dont have to do a bridge, because performance is a BIG issue on this scenario and i've read that BPM degrades performance,
    Thanks in advance for all the input ill get
    Best Regards,
    Roberto.

    Hi Roberto,
    Idoc doesnot support the synchrnous call. What you can do is send an ALEAUD IDOCs  back as response. Please see this document for this:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe?overridelayout=true
    /people/saravanakumar.kuppusamy2/blog/2005/01/20/configuration-tips-for-a-business-serviceintegration-process-to-send-back-ale-audit-idoc
    Also search in SDN for ALEAUD and you may get some more information.
    Regards,
    ---Satish

  • Async/Sync scenario idocs- soap

    Greetings All,
             I have a scenario (on PI 7.1) where i needs to send a ZIDOC data from ECC to external web service. The web service returns response back on successfully processing the data. There is no need to update anything received from the response back to ECC (response is just a record no).
         Is it possible to achieve this without using BPM?
    (Note: I am using Java mapping to develop SOAP envelope after message mapping, as I need to add some parameter to soap header of request structure)
        I am ready with scenario (without BPM), the operation Mapping is having idoc at sender side and service interface which soap wsdl on receiver side. I did not have any mapping from response to ECC. I am not sure if it going to be work for me or not.
    I am waiting for your inputs/help and will be appreciated.
    Many Thanks,
    Sandip

    >>>Is it possible to achieve this without using BPM?
    Yes. It is possible to do idoc to soap without using BPM. You basically want asynchronous scenario.
    >>> I am not sure if it going to be work for me or not.
    >>>I am waiting for your inputs/help and will be appreciated.
    Theoratically you can ignore the response from webservice by not doing response mapping. You might see some errors  that message got interrupted in Integration Engine. I guess

  • How to capture SOAPFault in an Async/Sync Scenario without BPM

    Hello friends,
    My scenario is ECC (async) to SOAP (sync) and back to ECC (async = ALEAUD). I'm using aync/sync bridge is receiver SOAP adapter.
    My scenario works fine with a normal response but when I get a SOAPFault as a response I get the following error in de receiver SOAP adapter:
    Message processing failed. Cause:
    com.sap.engine.interfaces.messaging.api.exception.ConfigException: No sender agreement configured that matches the message's header fields (sender party: "", sender service: "NONSAP", interface: "urn:test,  SII_Test_Sync", receiver party: "", receiver service: "BS_ECC")
    The configuration of my receiver SOAP adapter looks like this:
    Did I use parameters interfaceOnFault and interfaceNamespaceOnFault correctly?
    Your help is greatly appreciated,
    Kind regards,
    John

    Hi Nilesh,
    sorry for the delay. What I found every time i used the option "DO NOT use SOAP envelope is checked" is that the envelope is removed from request and response/fault messages as well. To solve those kind of errors I developed a module called ReplaceString. What this module does is to replace a string with another one passed as parameter. What do I archive with this? Well I sometimes use this module to include some parts in the xml message before it gets in PI. For example, lets say you receive something like this:
    <FaultMessage>
    <standard>
         <faultText>
         <faultUrl>
         <faultDetail>
              <severity>High</severity>
              <text>This is an error</text>
              <url></url>
              <id></id>
         </faultDetail>
    </standard>
    </FaultMessage>
    and you are expecting something like this:
    <soap:Envelope
    xmlns:soap="http://www.w3.org/2001/12/soap-envelope"
    soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding">
    <FaultMessage>
    <standard>
         <faultText>
         <faultUrl>
         <faultDetail>
              <severity>High</severity>
              <text>This is an error</text>
              <url></url>
              <id></id>
         </faultDetail>
    </standard>
    </FaultMessage>
    </soap:Envelope>
    You could use this module to replace the following strings:
    <FaultMessage>
    by
    <soap:Envelope
    xmlns:soap="http://www.w3.org/2001/12/soap-envelope"
    soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding"><FaultMessage>
    And
    </FaultMessage>
    by
    </FaultMessage></soap:Envelope>
    If you find it useful, I can paste the code of the module here.
    Regards!

  • Error from BPE Adapter using in Async Sync scenario

    Hi,
    I'm trying to use a Asyn Sync pattern with BPM:
    1)File adapter get a file from AS400, split it several XML messages and send to XI(Async)
    2)XI get each message and forward to BPM using XI adapter
    3)BPM has to send the message to R/3 via BAPI (Sync)
    4)R/3 reply the result message to BPM(Sync)
    5)BPM has to send the result message to e-mail system if an error had occurred in BAPI call (Async)
    When I send directly from File adapter to R/3 works like a charm, but when I want use the BPM, a soap header error says to me, that cannot identify a data type that I’m using in the message sent by File adapter.
    The error that I'm getting is BPE Adapter UNKNOWN_MESSAGE in soap header.
    Regards,
    Eduardo

    I got the same problem after installing new patches.
    This is what I had to do:
    Go to SXI_CACHE
    - Choose Business Processes
    - select your Buisness Process
    If your buisness process has Return Code 99
    - Click "Repeate Activate" button
    - On the next screen, click Activate again.
    This worked for me. Good Luck!

  • Async-Sync scenario with out using BPM

    Hi All,
    With SP19 we can implement File-RFC-File scenario with out using BPM.
    But can any one suggest how can I implement the following File-RFC-File scenario without using BPM.
    My input file has five elements. A1,A2,A3,A4,A5
    The RFC (BAPI) needs A2 and A3 as input and it produces the output R6.
    Now in the destination I need to populate D1,D2,D3,D4,D5,D6.
    D1 has to be mapped from A1 and so on till fifth element. D6 will be mapped from R6. In order to achieve this we need to store the value of source interface before calling the RFC so that when we get the response back we can populate the entire destination structure.
    Can anyone advise how to go about it. I don't want to use a BPM here.
    Thanks
    Abinash

    Hi
    the following thread may help you
    Weblog to send Response from RFC to File in Asyn Mode Using Proxy [original link is broken]
    File - RFC - File without a BPM - Possible from SP 19.
    Thanks,
    Ram

  • IDOC to Webservice to Email - Async to Sync Scenario

    Dear Experts,
    I have a scenario: IDOC to Webservice (Async to Sync)
    The response from the webservice needs to be sent via email. So I have a Email channel added to the Business service (ECC).
    I tried this with BPM, but it does not work complaining about multiple receivers in a sync receiver interface.
    Anyone has done similar to the above?
    1. Using BPM?
    2. Without BPM?
    Thank you.

    Thank you for the reply. This is what I have:
    Repository:
    1. Async ABS Interface for webservice request message
    2. Sync ABS interface with webservice request message and response message
    3. Async ABS interface for the reposnse message
    5. Async IB interface for hte email message
    4. Message mapping between IDOC and webservice request message
    5. Message mapping between webservice response message and email message
    6. 2 Interface mappings with the above mapping objects
    7. Integration Process BPM with Receive step (Async w/s req), Sync send step (w/s req and respp) and Async send step (w/s response)
    Directory:
    1. Receiver agreement with BPM as sender and Webservice as receiver with SOAP receiver channel
    2. Receiver agreement with BPM as sender and ECC as receiver with email receiver adapter
    3. Interface determination for request mapping
    4. Interface detrmination for response mapping
    5. Receiver determination with ECC as sender and BPM as receiver
    6. Receiver determaination with BPM as sender and Webservice as receiver
    7. Receiver determination with Webservice as sender and ECC as receiver
    is the above sufficient and right?
    Thank you.

  • Stuck in BPM Transformation process Async to Sync Scenario

    Hi there im building up a   R/3 ---> Idoc PI -
    >Soap  3rd Party   Async/Sync Scenario,
    on the integration process window i drag a transformation box to change my input idoc to the structure the Webservice needs, but i cant import it, i tried to make a new one using the abstract interfaces im using but it tells me i cant transform an Async Interface ( Idoc ) to an Sync Interface ( Webservice ), any sugestions?, i can provide everything i have done up to date regarding interfaces mappings and stuff if needed, thx!!!,
    Roberto.

    but it tells me i cant transform an Async Interface ( Idoc ) to an Sync Interface ( Webservice ), any sugestions
    You cannot perform a mapping between an Async MI and a Sync MI....not only for a BPM but even in general
    Your BPM should have below steps:
    Receive(IDOC)-> Transformation(IDOC_to_SOAPReq...both Async)-> SyncSend(SOAPReq and SOAPResp Messages)
    You need below Container elements in your BPM:
    1 for receiving the IDOC
    1 for the SOAPReq message
    1 for the SOAPResp message
    You cannot have a Container element for Sync Interface.....you include the ABS Sync MI directly in the SyncSend step and then will get Request and Response fields (automatically)....here specify the SOAPReq and SOAPResp Container elements.......
    Your Interface Mapping will be between MI_IDOC_ABS and MI_SOAPReq_ABS......and then you can inlcude this in the Transformation step
    Just a question to ask....what are you going to do once you receive the SOAPResp message?
    Regards,
    Abhishek.

  • Is there Async-Sync bridge in BPM

    Hi ,
        I am trying this scenario in ccBPM(PI7.10
    JMS(Async)>MDM(Sync)>SAP(Sync)
    The reason I cant use it without BPM  is that message in JMS is needed in SAP step.I am not sure of messages can be persisted without a ccBPM.
    When I give receive step as Async,in next send (Sync call) ,I cant see any Syn Abstract interfaces even though i have declared one.Only Asyn abstract interfaces appear to chose container element as abstract type.
    In what way can I specify Aysn-Sync bridge in ccBPM ?
    Regards,
    Premjit

    the async / sync scenarios can be configured via two options;
    ref these
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    Without BPM
    File - RFC - File without a BPM - Possible from SP 19.

  • Questions async-sync bridge with JMS

    Hi all
    SAP recommends using JMS rather than BPM to make async-sync bridge or sync-sync bridge. But how to use it in real life?
    For example, I have an async RFC function to call a sync SOAP function and the sync response  should be passed to a mail receiver. I know how to use BPM to achieve this scenario. But how should we use JMS or can we use JMS to do the same thing?
    Another question: If we use SAP own JMS service to make async-sync scenario, we need a sender JMS adapter and a receiver JMS adapter. Are the sender and receiver connected to the same queue in JMS or different queues?
    Thanks!
    Regards,
    Hui

    Hi Hui!!
    have a look in these Url's
    <b>sync/Sync Bridge in the Sender JMS Adapter</b>
    http://help.sap.com/saphelp_nw04/helpdata/en/45/20d251c20a0732e10000000a155369/frameset.htm
    You can get some idea on these links also
    /people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - Use of Synch - Asynch bridge in ccBPM
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] - Use of Synch - Asynch bridge in ccBPM
    Go thru following Weblogs:
    1.Walkthrough with BPM:- /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
    2./people/michal.krawczyk2/blog/2005/06/11/xi-how-to-retrieve-messageid-from-a-bpm
    3./people/ravikumar.allampallam/blog/2005/02/17/bridging-the-sync-async-bridge-with-fork-xi
    4.https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken]
    <b>Sync/Async communication in JMS adapter without BPM</b>
    /people/venkataramanan.parameswaran/blog/2007/01/18/syncasync-communication-in-jms-adapter-without-bpm-sp19
    this thead also
    Async/sync bridge

  • Async-Sync conversion: JMS-SOAP-MAIL

    Hi all,
    I'm making a async-sync scenario:
    JMS-SOAP-MAIL
    The SOAP interface is synchronous and JMS and MAIL are asynchrnouse.
    I have configured the sender JMS adapter as following:
    Modules
    <b>1- AF_Modules/RequestResponseBean - Local Enterprise Bean - 1
    2- CallSapAdapter-Local Enterprise Bean - 2
    3-AF_Modules/ResponseOnewayBean-3</b>
    Parameters
    <b>1 - passThrough - true
    3-receiverChannel - Receiver Mail Adapter Name
    3-receiverService - Receiver Business Service/ System</b>
    But I got such errors in the adapter:
    <i>2007-08-29 18:56:13     Success     Using connection JMS_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
    2007-08-29 18:56:13     Success     The XI response message for message bf7c9ea0-5650-11dc-8fae-001438c505fb(INBOUND) was successfully returned to the calling application.
    2007-08-29 18:56:13     Success     The message status set to DLVD.
    2007-08-29 18:56:13     Success     ROB: entering ResponseOnewayBean
    2007-08-29 18:56:13     Success     ROB: resuming the transaction
    2007-08-29 18:56:13     Success     ROB: calling the module processor ...
    2007-08-29 18:56:13     Success     MP: Entering module processor
    2007-08-29 18:56:13     Error     MP: Exception caught with cause com.sap.aii.af.service.cpa.impl.exception.CPAObjectKeyException: Value of key must not be null: ObjectId
    2007-08-29 18:56:13     Error     ROB: error during processing: com.sap.aii.af.mp.processor.ModuleProcessorException: Processing Error caused by: com.sap.aii.af.service.cpa.impl.exception.CPAObjectKeyException: Value of key must not be null: ObjectId</i>
    Any idea?
    Thanks!
    Regards,
    Hui

    Hi,
    Instead of using a JMS adapter can you try this with a File Adapter on the sender side?
    It worked for me with a File adapter or alternately try looking into this blog if it helps ( not sure if it will  tho)
    /people/sudheer.babu2/blog/2007/01/18/asyncsync-communication-using-jms-adapter-without-bpm-sp-19
    Regards
    Bhavesh

  • Idoc to Webservice to Idoc scenario- is this possible without BPM?

    Hi guys
    We have a scenario where we need to send an IDoc to webservice and get the response back into another IDoc.
    Questions:
    1. Is this scenario possible without a BPM? or do we need to use BPM (Sync-Async bridge).
    2. Is there a Async to Sync bridge in BPM?
    3. How do I use this bridge in my scenario and customize it?
    Appreciate your quick response
    Regards
    Satya

    Hi Satya,
    >>1. Is this scenario possible without a BPM? or do we need to use BPM (Sync-Async bridge?
    You need BPM
    2. Is there a Async to Sync bridge in BPM?
    You dont need a "bridge", just take a synchronous send step
    3. How do I use this bridge in my scenario and customize it?
    Map the IDoc to request container and the response container to the second IDoc.
    Your need 4 container, receive step, transformation, send step (synchronous), transformation, send step (asyncronous)
    Regards,
    Udo

Maybe you are looking for

  • Unable to access PDF files after downloading 30-day free trial for ExportPDF

    Hello, Please accept my apology if I have landed on a page that may or may not offer what I do hope, someone might be able to provide a successful solution which will enable me to access a program I downloaded earlier today, Export PDF, offered by Ad

  • [SOLVED] Trouble selecting Line-in instead of Mic

    I'm trying to use QSSTV to display SSTV signals from my ham radio. The only problem I'm having is that it's listening to my laptop's built-in mic instead of the line-in jack. The input soundcard option in QSSTV is set to default, so I presume I'll ha

  • How to copy a part of audio from a clip then paste in another part?

    I could not seem to do this. I want to include some ambient sound so I can make smoother transitions between clips and audio files

  • Finder Window Launchs after Login.

    Need to figure out why Finder launches window immediately after Log-on. Desktop appears briefly then Finder window opens to Macintosh HD. Doesn't hurt anything just irritating have to close Finder Window after every Start-up and/or Log-on. Ideas appr

  • Iphoto photostream not registering im logged into icloud?

    I have the newest version of iphoto, i have an icloud account, but when i try to use the photostream it keeps telling me i need to sign into icloud.... i sign in and nothing changes, am i missing a step somewhere or is there a way to link it?