Webservice call by BPM from XI

Hi all,
        I want to do a SOAP(WebService) to idoc scenario where the webservice should not invoke itself rather the webservice should be invoked by the XI.
The requirement is like this --
There should be a BPM that will poll for the Webservice data after a certain time.
Otherwise its a SOAP to idoc scenario.
Please give me suggestion on the BPM to be designed.

Hey,
   Bpm cannot initiate on its own
   In order to initiate the BPM use a file reciever.
   BPM design
    Recieve step(abstract asynchronous) for file
      Send step(abstract synchronous) for the web service call
       transformation step(mapping between web service response and Idoc)
   Send step(abstract asynchronous) for idoc
reward points if useful
regards,
        Milan

Similar Messages

  • Call sync BPM from Async BPM - issue

    Hi,
    Outline: I'm trying to call a synchronous BPM from an asynchronous BPM in a PI 7.0 SP 14 system.
    When doing so i get the following error: Object CL_SWF_XI_MSG_BROKER method SEND_SYNCHRON cannot be executed.
    Now this is an oldie when searching the forums for this error message. I do however fail to see a solution to the problem.
    Note that the following notes (referred to in similar posts)
    - 710445
    - 718734
    - 830803
    are implemented since theese refer to older versions of PI.
    My scenario is very simple at present since i've startet from scratch again after getting the error. So what i do is:
    1) send async message to async BPM
    2) async BPM receives request
    3) async bpm transform request til sync_request.
    4) async BPM calls synchronous BPM
    5) sync BPM receives request and opens a async/sync bridge
    6) sync BPM maps request to response
    7) sync BPM sends response and closes async/sync bridge
    8) async BPM reveices sync_response
    9) async BPM sends sync_response to some application
    Now step 8 i never succesfully executed. Instead the error earlier described is triggered.
    For simplicity i use 1 and only 1 message type in all message interfaces. I have mapping between my synchronous interfaces outside of BPM.
    The synchronus BPM is executed just fine. The only issue is getting the reponse back to the asynchronous BPM.
    I am familiar with the following similar posts:
    - Object CL_SWF_XI_MSG_BROKER method SEND_SYNCHRON cannot be executed
    - Problem in posting the data in the syncronous mode
    but find them to be of no use.
    Hope someone can help.
    Best Regards,
    Daniel

    Daniel Hans Engsig-Karup wrote:First you do not need any bridges if it is asyn/sync kind of a scenario in the second BPM. You need a bridge when the bpm has to wait with a sync call coming in and response in an async call. Essentially your BPMs (I donno why you need 2.. but let us go with 2)
    >
    >
    > 1) send async message to async BPM
    > 2) async BPM receives request
    > 3) async bpm transform request til sync_request.
    > 4) async BPM calls synchronous BPM
    > 5) sync BPM receives request                        
    (Remove this if you are calling a sync system here) and opens a async/sync bridge
    > 6) sync BPM maps request to response
    > 7) sync BPM sends response
    Remove this and closes async/sync bridge
    > 8) async BPM reveices sync_response
    > 9) async BPM sends sync_response to some application
    >
    VJ

  • Calling one BPM from another BPM.

    Hi Guys,
       I'm trying to call an existing(working!) BPM from another BPM. Its a synchronus call. However in moni I see it as errored out on the outbound side. The error in the PE is:
    <b>CL_SWF_XI_MSG_BROKER method SEND_SYNCHRON cannot be executed.</b>
    I checked the following thread(<i>Re: Object CL_SWF_XI_MSG_BROKER method SEND_SYNCHRON cannot be executed), but those notes are already applied. Any idea, what could be the problem?
    Thanks,
    Harsh
    PS: We are on SP16.

    Hi Krishna,
       I have a doubt regarding transformations. In some of my transformations, I'm adding/stripping soap envelopes using XSL. For these messages, I'm only concerned about my target structure. Since there is not graphical mapping, I've assigned the same(target) structure to the source. The source message, I was assuming will not be validated(against the source structure) and thus will not throw an error. Could this be the problem, if so, what is the solution?
    Thanks,
    Harsh

  • Webservice call inside BPM

    Hi Experts,
    How to call the webservice inside BPM?
    How to do the wsdl file  configuration/import and etc.
    Regards
    Sara
    Edited by: Sara D on Jan 18, 2008 6:36 AM

    Hi Sara,
    You have to do the configurations for wsdl in ID when u configure the communication channel.
    There your BPM acts as a business service(sender/receiver).
    As far as, mapping of the message structure is concerned you have to create a MM if required and tht is similar to a normal scenario.
    In BPM u just have to insert tht mapping object in between the place holder interfaces.
    I hope it helps.
    Regards,
    Sumit

  • BPM/MDM Process - Confirmations Back to BPM from ECC

    We are implementing a BPM / central MDM solution.  After the new master data is sent from the BPM to MDM, and syndicated through PI to ECC, the requirement is to send a confirmation back from ECC that the new master data (ex. Vendor) was created.  I don't see such a confirmation in any of the related blogs on the BPM/MDM subject.
    (1)  Is there a way to send a confirmation back to the BPM (file that BPM picks up?, BPM listener-type service?)?
    (2)  Do you recommend using BAM or ALEAUD for the confirmation out of SAP?  Both would work.  With ALEAUD, I could catch errors in PI and handle them.  With BAM on a Vendor.Created event, I would have no extra IDoc statuses to filter away.
    Thanks,
    Keith

    Hello,
    There are 2 options .
    You can use an outbound IDOC from ECC to PI - after the material is successfully created and PI can update MDM with the status and id created.
    1. You can write a service that will check MDM periodically to see if got back the status & id from ECC/PI successfully.
    2. The other way is to write a synchronous webservice call where BPM will wait for a PI service to provide an update directly to BPM. You need to model Synchronous call in BPM.
    Regards, Anil

  • Web Service call to BPM to call another Web Service - all synch

    HI all,
    I have a webservice call to GetDocument from external system. In BPM I like to call another ws (SearchDocument) to retrieve metadata, which I need to complete the first GetDocument webservice. All synch if possible.
    Any idea how to achieve this with (or mayby without) BPM ??

    Thanks for your reply. Can you elaborate on that a bit more ?
    My first WS call is to get a document..but because I need to add some metadata in order to have a succesful call I need to call another WS first to the same system to get the required metadata. Then I need to use this metadata to complete the first - GetDocument- call....
    Hope this clarifies the scenario...
    Is it maybe possible to do this another way..in sequence..using response data to populate another ws call ??
    all help appreciated !
    cheers,

  • BPM(with wait step) calling another BPM

    Hello,
    I have this scenario whereby i need to call a BPM from another BPM process. Call it BPM1 and BPM2. BPM1 will have a Sync-Send-step to call BPM2.
    The following is what i have setup:-
    Working OKAY:-
    BPM1 (receive from file, send syn step to BPM2) --> BPM2(receive step (Open S/A Brige) from BPM1, send step (Close S/A Bridge))
    But if i put an wait step (for 1 minute, see below) before the send syn step in BPM1, i will have problem and the queue in BPM1 show "STOP" and the BPM2 queue show "RETRY".
    Problem:-
    BPM1 (receive from file, wait step, send syn step to BPM2) --> BPM2(receive step (Open S/A Brige) from BPM1, send step (Close S/A Bridge))
    Yes, the RETRY will work but the problem is, my BPM1 has already timeout and has ERROR (see from SWWL) and BPM2 has exceptional error in the Close A/S Bridge send step (because it can't send back to BPM1).
    Anyone has any idea how to resolve this? and hopefully the above is clear enough to discribe the problem that i'm facing now.
    Any suggestions are welcome, scott.

    The minimum BPM-wait duration is 1 min and cannot be decreased below that....

  • BRM Webservice call from BPM as an automated activity in CE 7.2

    Dear All,
    A simple BRM ruleset is created and published as a webservice. The WSDL is available at NWA ->SOA Management-> Application and Scenario Communication-> Single Service Administration.
    The webservice test in WSNAVIGATOR provides the expected results.
    In the BPM process flow, an automated activity has been created for the webservice call. This activity contains the 'Service Interface' and 'Service Reference' of the imported WSDL.
    Issue:
    When the process is started, the BRM webservice call results in error. The error is not visible in the log but the process flow shows a green symbol on the automatic activity, thereby indicating that the webservice call does not end and the process remains in 'In progress' state.
    Can you please provide your inputs?
    Thanks,
    Pritish

    Dear All,
    The issue is resolved with the help of following document.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/9009be68-1e9a-2c10-fd91-8f5fcb00474c.
    Regards,
    Pritish

  • How to initiate the call JDBC_Sender adapter from BPM?

    Hello,
    I have a periodicall proccess in BPM. After receiving some message in BPM  I check some fileds of the message.If condition is true I need to initiate SQL request to external DB, to receive the message and send it after transformating to SAP.
    How to initiate the call JDBC_Sender adapter from BPM? As I understand I need to use JDBC Sender adapter and once.
    How to construct the correct BPM?
    Thank You

    the message comes into BPM. You check for some conditions and if true use a send step (Sync) that would query into DB table and as a reponse retrieve the related data. After the send sync step have the transformation step and another send step to SAP.
    U would not configure sender jdbc but u wud need to config for recv jdbc. this wuld service the request and in response return the set of data from the table
    Message was edited by:
            Prabhu  S

  • Call Java Method from BPM Process

    Hi,
      I have defined a java class with set of methods , and I want to know if there is any way to call those methods from a BPM process..
    Thanks in Advance,,
    Best Regards,,
    Ola Essa..

    Use the spring component context in soa suite instead of ejb. Look for documentation in soa suite developer guide. Only if you have existing ejbs then use ejb adapters.
    See this http://www.oracle.com/technetwork/middleware/soasuite/learnmore/fivecoolusecasesforspring-1885529.pdf
    Vikram
    Message was edited by: VikramFusionApplied

  • Calling webservice in SAP XI from Servlet

    I have requirment of Calling webservice in SAP XI from Servlet.
    COuld you provide information of caling simple webservice from servlet

    Hello Venkat,
    Getting Started with Web Services
    Web Services Infrastructure
    Getting Started with Web Services [original link is broken]
    Thanks,
    Satya

  • Need help regarding configuring the WebService Call from RTD to Siebel

    Hi All,
    Can someone help me with the information on how do i configure a Webservice Call from RTD to Siebel?
    Any high-level or granular details on this would be very helpful as I am new working on this product. How can a jax-ws be utilized to achieve the same?
    Thanks in advance.
    Best Regards,
    Hariharan

    If you actually need a portal service though, this will not work. However, you could have the portal service return a Document object, which is basically the text of the HTML file you want to display. Then, when calling the portal service, you can simply output the text to the IPortalComponentResponse object
    I hope this helps
    Darrell

  • ESB Webservice call from Java client

    Hi,
    i need to call webservice from Java client which inturn will call ESB
    I tried creating proxy from the WSDL in jDeveloper and tried setting the following end points
    My concrete WSDL path :http://10.237.25.63:8889/esb/wsil/SubroCaseESBSystem/InputRouter?wsdl
    My EM -path:"http://10.237.25.63:8889/event/subrotest/SubroInputrouter"
    When i call the concreteWSDL im getting
    "HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 405 Method Not Allowed"
    If i call the EM pathim getting
    "javax.xml.rpc.soap.SOAPFaultException"
    Any guess as how i need to call my ESB from client.

    Hello Venkat,
    - I have created Java Proxy using Jdeveloper for ESB webservice and I usually use http://host:port/event/...?wsdl, and it creates stub which works without any modification. Let me know, may be I can try sending sample project
    - I would like to verify if you are having issue with Java client or ESB itself, are you able to execute that ESB process/service from EM test page or from any other BPEL process?
    Regards,
    Chintan

  • Endeca webservice call from different Application.

    I am trying to call the Endeca (v2.2.2) Webservice, using the client generated class file from the wsdl file (conversation.wsdl) and pass the query to get the result. Steps so far did
    •     Use apache cxf codegen plugin 2.7.0 to generate the client classes using the above wsdl.
    •     Written junit test case for client class and send the query to server. I can connect to the server but getting back the ConversationFault: Sequence has length 0 but must have length 1
    •     The only method I can use to call from the client is conversationPort.query(request), which is generated by cxf wd12java
    •     Following is the line of code from the client class
    ContentElementConfig config = new ContentElementConfig();
    config.setHandlerFunction("AS select max(p_common_date_epoch) as 'MaxDate' where Social_Media_Type = 'Twitter' group by interaction_author_username, interaction_text, interaction_link, Klout_Score, Followers_Count, DocumentSentiment, calculated_entity_sentiment, SalienceSentiment order by MaxDate desc, Followers_Count desc page (0,50)");
    Request request = new Request();
    request.setState(null);
    request.getContentElementConfig().add(config);
    Client Call: Results results = webServiceClient.readQueryResults(request); // this method internally calls conversationPort.query(request).
    Any thoughts or recommendation please advise.
    Edited by: user4993272 on May 9, 2013 10:57 AM

    Hi,
    i have two application take as App1 and App2 .i want to make a webservice call from App1 to App2 . through this webservice call i will pull the data from App2 and populate the data inside a .jspx file.
    i am not understanding how i will do that.
    A service wont allow you to access the live instance of an application and instead create its own data session. So while you can query data that belongs to App2, you wont be able e.g. to access a users uncommitted data changes
    Frank

  • Fedex webservice call from OOD env

    Hi all,
    I am trying to make fedex webservice call from OOD apps env.But i am getting below error.Same code with same data works fine from jdeveloper project.
    Is any setup requried to make to work from application.Is OOD is having any restrictions in calling webservice.
    Please suggest to fix this issue.
    Thanks,
    ashok
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: java.net.ConnectException: Connection timed out
    faultActor:
    faultNode:
    faultDetail:
         {http://xml.apache.org/axis/}stackTrace:java.net.ConnectException: Connection timed out
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:519)

    If your code works from JDeveloper and does not works when you deploy the code in an app server, and fails with connection timeout, the issue may be related to the way you have setup your proxy in JDeveloper, which need to be replicated in the JVM running your code in the middle tier.
    A good place to start is the proxy setting in JDeveloper, under Tools >> Prefernces >> Web Browser and Proxy.
    Best,
    - Eric

Maybe you are looking for

  • Techtool deluxe on osx lion does not run video ram test

    I ran Techtool Deluxe after having installed OS X Lion. When it gets to the Video Ram test it quits. If I disable this test all is fine. What's wrong with testing video ram on OSX Lion? Thanks. G

  • Can I dual boot Mac with Windows?

    Hi all, At the moment I have Windows 7 32 bit OS. I've always wanted either an iMac, or atleast the Mac OS. I've recently found out it's only £20.99, and i've always thought it was a lot more than that, which is a bargain! The only thing which is sto

  • How to compensate Cyan color with other colors with using profile

    Hi Guys, I am using Adobe Illustrator CS3. Mac OS 10.4.11. I need a help regarding color compensate. let me explain clearly. I am doing a project in that i need to delete Cyan color and need to compensate with MYK colors. Is there any short way to ge

  • Admin server is going down, but managed servers are fine.

    HI, Admin server is going after sometime of starting, but nodemanger and managed servers are running fine, I didn't anything in admin.log everything looks fine. WebLogic Server 8.1 SP4 jrockit81sp4_142_05 Pls let me whats the problem with admin serve

  • How to distribute equal spacing with anchor points?

    I am working in Lesson 5 of Adobe Illustrator CS5 Classroom in a Book, and am having a problem selecting the 2 anchor points to distribute equal space based on the bottom center anchor point of the violin.  The note said to reference chapter 2, which