Synchronous Webservice

Hi all,
I need to have a synchronous webservice to communicate with a synchronous send step in BPM.the output message of the webservice is defined and its of more relevence but cant specify the input message of the webservice.whether i need to make a dummy message type or aquery string.please anyone help me.
Regards,
Paul

HI,
If your sender or receiver is Synchronous Webservice and another side is Async then you have to go for Async to Sync or vice versa BPM bridge.
Please Refer
Demonstrating Use of Synchronous-Asynchronous Bridge to Integrate Synchronous and Asynchronous systems using ccBPM in SAP Xi
Demonstrating Use of Synchronous-Asynchronous Bridge to Integrate Synchronous and Asynchronous systems using ccBPM in SAP Xi
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
Thanks
Swarup

Similar Messages

  • Error in the workflow which executes background synchronous webservice task

    Hi,
    I am very new to SAP Workflows. I created a workflow with one activity step in it. The activity step actually executes a task TS77000300 (synchronous calculation - its an SAP task). When I test it. I get an error "Error when starting the service" with exception 8987, area SWF_HTTP and message 125 - Object WEBSERVICE method PROCESSBATCH cannot be executed.
    I checked in WF_EXTSRV tcode, there is an entry for the background synchronous webservice task.
    I checked in SWLWPTSSID table, there is an mapping between task-id and service id from WF_EXT SRV.
    I am not sure where its going wrong. Any help resolving this issue is appreciated. Thanks a lot.
    Regards,
    Raja

    Gurprit/All
    Thanks Gurprit for the direction.
    Even if I execute the the workflow( WS77000647 from SAP). The first step invokes Process Dialog which asks for three numbers and two operands. When I input all the input params and click calculate button, the second step which is actually the background synchronous task, results in the same error in the workflow log and in the Process Dialog page browser it says "Entries sent for calculation" with the same input screen.
    Am I missing anything here to run background synchronous task? Any help regarding this is appreciated.
    Thanks & Regards,
    Raja

  • Restart synchron webservice in bpm

    Hallo,
    how it is possible to restart a synchron WebService in sxmb_moni within a integration process?
    Thanks in advance,
    Frank

    Michal,
    From a BPM, you sure can I have tried this. Dont remember the exact transaction.
    This has been documented in this thread as well, am i missing something?
    System Error u0096 Restart is Not Possible!
    Regards
    Bhavesh

  • Synchronous webservice-Acknowledgement

    Hi Experts,
    I have a scenario where I need to communicate between a synchronous webservice and an Idoc(async).
    Webservice Interface:(Sync)
    Sender Message: Webservice Response
    Reciever Message: Acknowledgement
    Reciever Interface:(Async)
    IDOC: ACC_DOCUMENT
    The Webservice response message will be mapped to the IDOC.
    The acknowledgement message also needs to be sent to the webservice as a response and that ack depends on the value of the webservice response field value.
    Please suggest any design to execute the same.
    Regards,
    Akhil

    U can design in two manners
    1. The webservice execution could be done before message processing at XI, and directly webservice response is sent to XI to be mapped to the Idoc data. Here no ack handling would be required.
    2. Use a SOAP client which sends data to XI. Make a sync call to webservice to fetch its data (Again 2 options exists, use BPM or use SOAP lookup). Now the response received can be mapped to Idoc structure.
    Regards,
    Prateek

  • PI synchronous webservice performance

    - Ever stuck with the question of ways to reduce the response times of XI webservices calls??
    - Need better performnace
    - Need better response times........
    <u><b>Just Published</b></u>
    /people/community.user/blog/2007/07/09/pi-beef-up-the-performance-of-synchronous-webservices
    Cheers,
    Naveen

    Hello Michal,
    Currently direct connection is only for the adatper. Since abap proxies don't recide on adapter framework this cannot be done. But you never know. For the first time SAP is using the term Service Bus  in the presentation. This opens up a whole new space. if SAP is moving away from a central hub design to a more ESB(enterprise service bus) then there are new features to be explored.
    Cheers,
    Naveen

  • Timeout issues in synchronous webservices

    Hi Everybody,
    I am working on a synchronous webservice Interface in which sender is a Webservice and receiver is BAPI (RFC) and I need to handle the time out issue when i dont get the response from the receiver SAP system.Also need to raise an alert.
    Can anybody help me out on this.
    Helpful answers will be rewarded points.
    Regards,
    RK

    Hi,
    For the timeout issue look at these:
    Web Service Timeout Configuration
    SOAP adapter - Module options...
    For the alert I think you should take a look at these:
    Does XI support standard SOAP Fault exceptions?
    SOAP Fault message (***)
    Handling Web Service SOAP Fault Responses in SAP NetWeaver XI
    Hope it helps.
    Best Regards,
    Arman
    (Please mark your question as answered when it is solved)

  • SAP PI 7.4 SOAP - ABAP Proxy Synchronous Webservice

    Hi Everyone,
    I am developing the following scenario:
    3rd party makes a SOAP call to SAP (via PI) to determine whether a vendor exists or not in the SAP system. The link for the call is provided by us from the Integrated Configuration.
    The request comes in, calls an ABAP Proxy to check if a vendor exists and sends a response back to the SOAP call with a 'Y' or an 'N'.
    I've read a lot about various scenarios but I'm having trouble connecting the dots as I'm fairly new to PI. I'd appreciate any help.
    I've made the following set-up based on assuming I need separate Service Interfaces for the SOAP Request & Proxy Response
    ESR
    1. Message Types
         SOAP (MT_SOAP_REQ & MT_SOAP_RESP) - PROXY (MT_PRXY_REQ & MT_PRXY_REQ)
    2.  Message Mappings
         MM_REQUEST    which maps MT_SOAP_REQ   to  MT_PRXY_REQ)
         MM_RESPONSE which maps MT_PRXY_RESP   to MT_SOAP_RESP)
    3. Service Interfaces (Synchronous)
        (SOAP Request)
        SI_IN (Inbound Interface)       with Request = MT_SOAP_REQ and Response = MT_SOAP_RESP
       (Proxy Response)
        SI_OUT (Outbound Interface) with Request = MT_PRXY_REQ and Response  = MT_PRXY_RESP 
    4. Operation Mapping
        OM_LOOKUP which maps SI_IN to SI_OUT with Request    (MT_SOAP_REQ  to MT_PRXY_REQ)
                                                                        and  Response (MT_SOAP_RESP to MT_PRXY_RESP)
    I create the ABAP Proxies for each Service Interface. SI_IN contains the required coded method to check if there is a vendor.
    I create the webservice and binding for SI_IN in SOAMANAGER
    At this point I'm somewhat unsure - what do I need to do for SI_OUT ? Do I need to create a logical port ? how is SI_OUT associated to SI_IN (apart from the Operation)  to get the response.
    ID
    In the Integration Directory I've created a SOAP_SENDER communication channel for System A and SOAP_RECEIVER channel for SAP.  For the SOAP Receiver I need to specify a URL - what should this be ? Is it meant to point to the web service for SI_IN in SICF or just to the generic http://host:8000/sap/xi/engine?type=entry 
    Do I need to use the HTTP_AAE adapter for the receiver instead of SOAP ?
    I created an Integrated Configuration for the SI_IN Service Interface with comm channel SOAP_SENDER from System A and SOAP_RECEIVER for SAP backend.  I then got the WSDL for this to provide to the 3rd Party to test (via SOAP UI)  . Again my concern is how is the SI_IN linked to the SI_OUT to achieve the response ?
    I appreciate you taking the time to go through this .  Any help is greatly appreciated.
    Thanks very much
    Gary

    I create the webservice and binding for SI_IN in SOAMANAGER
    At this point I'm somewhat unsure - what do I need to do for SI_OUT ? Do I need to create a logical port ? how is SI_OUT associated to SI_IN (apart from the Operation)  to get the response.
    >>>>No need to do anything in SOAMANAGER
    Do I need to use the HTTP_AAE adapter for the receiver instead of SOAP ?
    >>> No. Soap adapter is fine. Configure your receiver channel as explianed in the below blog (section 4.3)
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70066f78-7794-2c10-2e8c-cb967cef407b?overridelayout=t…
    Again my concern is how is the SI_IN linked to the SI_OUT to achieve the response ?
    >>>>Your receiver determination and interface determination takes care of this.(receiver interface  & outbound processing tabs in ICo)

  • Using Synchronous webservice without using SAP XI

    Hi,
    I have a requirement of wherein which my client has provided me a dot net webservice which needs to be consumed in SAP R/3 using which i have to build an interface between SAP R/3 and the legacy system. This interface needs to be synchronous in nature.
    Please let me know how to handle this in ABAP and is this possible without using SAP XI / PI.
    Step 1:
    SAP r/3 ( sends data )------> (Webservice) Legacy system
    Step 2:
    (Webservice) Legacy system -
    > SAP R/3 (recives response from legacy system)
    Regards
    Joel

    Hi Joel,
    You can use the webservie (SOAP or WS[if it is PI7.1server] adapter).
    By calling the webservice from the ABAP.
    http://help.sap.com/saphelp_srm40/helpdata/EN/2d/64d023e74911d6b2e400508b6b8a93/frameset.htm
    or by using PI also it is possible
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c00ca32e-f991-2b10-f5be-97114bd2b08f?quicklink=index&overridelayout=true
    Read page no 26th onwards.
    > Step 1:
    > SAP r/3 ( sends data )------> (Webservice) Legacy system
    you can use Proxy to PI to SOAP/WS scenario.
    http://help.sap.com/saphelp_nw04/helpdata/en/29/5bd93f130f9215e10000000a155106/frameset.htm
    > Step 2:
    > (Webservice) Legacy system -
    > SAP R/3 (recives response from legacy system)
    you can use SOAP to PI to Proxy scenario.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/8e/464442c1a1c253e10000000a1550b0/content.htm (For SOAP)
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies  (for proxy)
    Regards
    Ramesh

  • Not able to get the data from synchronous Webservice To BPEL process

    Hi All,
    My requirement is : Third party has some webservice.They are pushing data to that Webservice(Wsdl).
    Third part WSDL example : http://ipaddress:port/name/Service.svc?wsdl ( This is just example format of their WSDL)
    After that I need to get that data into my BPEL process and update my system.
    When I built My Snchronous BPEL process I imported third party WSDL(http://ipaddress:port/name/Service.svc?wsdl) through 'import WSDL' in dialog.After that I automatically got the (request and response schema elements) parameters from that WSDL.I gave input and output of the BPEL process from those elements.
    I pasted that third party URL iin SOAPUI and I got their operations and schemas.Based on that I had choosen the elements for 'input' and 'output' of the BPEL processes.I am also getting the schema structures in 'Assign' or 'Transform' activity.
    I built the whole process.
    I have the Process.
    Now Client is pushing data to their WSDL(http://ipaddress:port/name/Service.svc?wsdl) as it is their data pushing interface.But that data is not coming to my BPEL process and instance is not being created in EM console.
    As I have imported their WSDL into my BPEL process,I need to get the data.But I am not getting the data.
    Is there any problem in MY BPEL process?
    (or)
    DO I need to use 'Webservice' Adapter in 'Exposed Services' Swimlane in Composite Editor to have the third party URL, so that they Can push the data to that WSDL in turn that data comes into my BPEL process?
    Can anybody help me this case?
    once again my requirement is :
    Client pushes the data through their WSDL url -----> I need to get that data into MY BPEL process --> I have my own WSDl to take that details into my system.

    I will explain the requirement in small paragraph:
    There are two applications.One is our application(X) and another one is third party application(Y).
    I need to update in my application(X) based on data coming from application(Y).
    I am using SOA as a middle tier to have communication between Y and X.
    (Ex: if they send some info like event type 'event1' from Y ,I need to update that 'event1' data in my X application)
    The work at third party application is :
    According their info,They will push data from their end to their WSDL( http://ipaddress:port/name/Service.svc?wsdl ).
    They are telling they can only send the data to their WSDL( http://ipaddress:port/name/Service.svc?wsdl ).
    They will not consume our BPEL process(I think they might be wrong at this point of time).They have one WSDL to send or push the data from their end.
    The work at from our side(SOA & X application)
    From that point ,our BPEL process has to receive that data and update that data into my application(X).
    I hope You understand my requirement.
    Can you guide me through how to achieve this task as they are telling they have to use their WSDL to push the data?
    (or)
    Do I need to take 'Webservice' adapter into Exposed Services Swimlane in Jdeveloper to have their webservice(third party WSDL),If it is So Can you tell me the details how to take 'input' and 'output' for BPEL process?
    (or)
    Can YOu suggest me to talk to them to consume my BPEL process directly?
    Thanks
    Edited by: 899283 on Aug 17, 2012 4:55 AM

  • Multimapping synchronous webservice and async idoc

    Experts,
    I have a scenario where the sender is webservice (soap) and receiver is IDOC (async) + SOAP (sync)
    When a webservice sends order to PI, i need to  create an idoc in SAP as well as send back response message to webservice. (webservice is expecting to send data using the response payload)
    We have to generate few values from the request and manipulate them (using message mapping) and send response back. (similar to sync webservice interface)
    What is the best way to achieve this? can we integrate both async and sync interface in one interface without using BPM?
    Map 1 -> SOAP <-> PI <-> IDOC
    Map2 -> SOAP <-> PI <-> SOAP
    Best Regards,
    Pavan

    However if i do make use of BPM then the idoc that will be returned from SAP to PI will be different since the same idoc
    cannot send data back.
    No problem if the sending and receiving IDOCs are different. The only thing that you need to take care is the IDOC_Request and IDOC_Response should have one field which contains the same value....for correlation in the BPM.
    Is there a way we can setup some sort of correlation to make sure that the new idoc that is triggered after the sales order
    creation is indeed related to the one that is sent from PI initially.
    As mentioned above the IDOC that BPM sends and receives (from ECC) should have a field which has same value.
    Regards,
    Abhishek.

  • Synchron webservice call?

    Hi,
    the webservices call are implemented asynchron, so if you
    call method A, the result will be received by method B. But maybe
    it's possible to wait in method A, until the result comes?
    something like that
    private function load():void
    service.getItems();
    wait somehow
    the result is received
    continue

    No. You must use events.
    Resistance is futile.
    Tracy

  • Proxy to Webservice synchronous

    Hi All,
    I have a scenario where SAP PI needs to communicate with a target synchronous webservice:
    The server returns the data in binary format (byte[]) using MTOM to optimize large data transfer.
    I need to carry out the following steps after receiving the synchronous webservice response:
    1. Verify the integrity of the data received using SHA-1 hashing algorithm.
    2. Call another method on webservice server once i verify data with hash algorithm after successful receipt of data.
    3. Decrypt the data using AES symmetric algorithm.
    4. Decompress the data. GZipStream is used to compress the data.
    Can I carry out the following steps in the SOAP adapter module or I need to handle it in Java mapping.
    I was referring the folowwing blog which is similar to my scenario : /people/sap.user72/blog/2005/06/16/using-digital-signatures-in-xi
    How you use java cryptographic tool kit for this ..and the algorithm used for this purpose ..If you can send me the sample code will be very helpful .And the step by step method of implementing digital signature.
    Thanks in advance
    Edited by: Nidhi Bansal on Dec 28, 2009 7:11 PM
    Edited by: Nidhi Bansal on Dec 29, 2009 12:26 PM

    Hi All,
    I needed some tips on how I can handle this effectively:
    u2022 Outgoing SOAP request must have the Addressing, TimeStamp and SOAP Body signed.
    u2022 Outgoing SOAP request must have the body encrypted.
    u2022 Outgoing SOAP request must have the client credential in a UsernameToken.
    u2022 Incoming SOAP response must have the Addressing and TimeStamp signed.
    u2022 Incoming SOAP response does not require SOAP body encryption. Data is encrypted using symmetric key encryption.
    I need develop an adapter module in receiver soap adapter to fulfill the requirement to encrypt and decrypt.
    As per my understanding on adapter module I can access the xmlpayload and operate on it. In the above case how do I access the SOAP Header and SOAP Body and sign it.
    Also what is the sample java code to access the public certificate in J2ee keystore.

  • Webservice response in BPM scenario

    I am doing a BPM scenario where I take data from ERP asynchronously using proxy and send it as a request to a third party synchronous webservice. The webservice gives a response and I am using the response to send it further along to other systems.
    Everything works fine if correct messages are sent and received. The problem starts when PI/BPM receives an un-expected response from the webservice. If the webservice sends an unknown error message in the response, the mapping fails and goes into the error queue. (smq2)
    And the real problem is every successful message or response after that also goes into the same queue and getting stuck. Why is this happenning? Do we need to monitor and clear the error queues all the time so that subsequent successful messages go through BPM corrrectly?
    Do you guys think it is a cache problem or something else?
    Thank you.

    this is because there is no proper error handling in your BPM.
    you need to handle the exceptions in case of mapping or communication failures.
    refer : http://help.sap.com/saphelp_nw04/helpdata/en/33/4a773f12f14a18e10000000a114084/frameset.htm

  • SOAP-PI-File scenario: synchronous file pickup possible without ccBPM?

    Hi,
    is it possible that I pick up a file synchronous without usage of ccBPM? What I'd like to achieve: I'd like to send a filename in the body of a SOAP request. Depending on that filename, I'd like to collect that file on the filesystem and send it back as the message body of the SOAP response. From my understanding, the receiver file adapter can just write files. In my scenario, I'd need the receiver file adapter for picking up a file (which is normally a sender file adapter).
    Anybody with a good hint how to achieve something like that?
    Best regards
    Holger

    Hi colleagues,
    I am facing a similar requirement.
    Provide file content via synchronous Webservice (trigger)
    Webservice (sender) <-> PI <-> File (receiver)
    Is there a possibilty to use File/FTP Adapter, which is normally asynchronous by default in such a scenario e.g. by using a SAP adapter module.
    Or are there any other standard PI functions to meet this requirement.
    Otherwise a specific Webservice have to be created which will read the file and return it´s content within the webservice response. Do you see a possibility to deploy such a service on the PI Java server?
    Due to development effort I would prefer a standard function instead of creation of specific Webservice.
    Thanks for sharing your thoughts.
    Best regards,
    Jochen

  • Use of sync async bridge for webservices

    Hi ,
    We have a scenario where we need to send a data from ERP system to PI via webservice. PI communicates with a third party system via webservice.
    The data can be posted to this third party system using webservices. The third party system then reads some data asynchronosly and sends the data to PI . We need this data to be sent to the synchronous webservice from ERP system.
    Can we use the sync async bridge for this scenario. Some details on how we can do this will be very helpful..
    Thanks
    Bharathwaj

    Hi Abhishek,
    Thanks for the immediate reply.
    The scenario is 
    ERP <---WS/SOAP--->PI -----WS /SOAP of 3rd party---> 3rd Party system (X).
                                                       PI  <------- WS of PI
                X posts the data to a backend. THe system X then picks some processed information. This system is not capable of sending the response synchronosly. It can post this data to PI once the data is available. Now PI needs to take this data and post it to the WS request from ERP.
    Hope I have provided some clarity on the scenarion..
    Thanks again.
    Bharathwaj
    Edited by: Bharathwaj on Aug 11, 2009 4:59 PM

Maybe you are looking for

  • HT1420 How to remove credit card for iTunes

    Yes I have been trying to remove my credit card.  I put 50 iTunes.  But will not quit going to prepaid credit.  No funds. 

  • Capture Error in transformation Step and send it by email without Alerts

    Hi all,      I have a problem in my BPM.      I need to capture an error in transformation Step and send it by email with a send step without alerts.  Is there a way to do this in BPM?

  • Verizon's failure, why do I have to pay?

    As a long-time - and still current - customer of Verizon, I'm shocked at how poorly I am being treated. I cancelled my phone in December because my company gave me a phone (also Verizon). At that time I gave Verizon my new mailing address, email, and

  • Usb and sm bus controller for windows 7 64bit on pavilion g6

    So, I've noticed yellow exclamation mark in device manager of my hp pavilion g6 2260sm laptop. After searching trough hp support, forums and other pages I couldn't fix this solution, so basically I don't have an USB port. Can anyone help, please. Thi

  • Embed images in a bunch of closed indd files.

    We need to batch process a ton of InDesign files. Specifically, we need to be able to copy a few hundred files to a new server. At the same time, these copied versions need to have their images embedded. Doe anyone have an idea how to do this?