Calling the webservice twice - Duplicate entries

Hi Experts,
Scenario : SOAP Client -> Call Microsoft webservice -> XI JDBC Sync call-> Call Microsoft webservice.
BPM Steps:
1. Receive Step -> Get the SOAP Client request (Open S/A Bridge)
2. Send Step -> Async call to Microsoft webservice  to update the log status.
3. Send Step -> Sync call to JDBC
5. Send Step -> Close the S/A bridge
6. Send Step -> Call the Microsoft webservice to update the log status.
Receiver Determination Steps
1. SOAP Sender to BPM
2. BPM(Async request) to 2 Log Business Service. I have mentioned the both business service under Configured Receivers section in Receiver Determination.
3. BPM(Sync request) to JDBC
Issue : The JDBC part works fine. Only problem with the Microsoft webservice. Twice it update the log table. ie. Twice it calls the Microsoft's each webservice.
Please help me out, how to stop the second retry and let me know the above approach is correct or not.
Thanks & Regards
Sara

Hi Sara,
As per your info, Earlier you was trying to call both logging updates under one Sync/Async Bridge. But on Webservice side it will give you two responses and you will handling only one.
In later case also you are handling only 1st response of Webservice call, but the another call is still open.
Actually you are trying to built two Sync/Async Birdges. Which is not at all possible under one BPM.
SAP have not recommended for it.
Refer
http://help.sap.com/saphelp_nw04/helpdata/en/43/65d4dab39b0398e10000000a1553f6/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/83/d2a84028c9e469e10000000a1550b0/content.htm
You need to create two seperate interfaces for this.
For e.g.
1st will call the Webservice before updating the JDBC tables.
2nd After updating the JDBC table you can again call the Webservice for updated logging status.
Thanks
Swarup
Edited by: Swarup Sawant on Jun 2, 2008 8:50 AM

Similar Messages

  • Problems while calling the webservice published at XI end

    Hi ,
    I have published a webservice at the XI end and to test it I am calling the webservice from xmlspy .
    I do get the popup for username and password in the xmlspy for the adapter but it fails to send the data to the webservice .
    I even checked the SOAP adapter status in the RWB and its grey. and the installed and started option of adapter monitoring the soap adapter is not shown .
    Can anyone through some light as to what can be the reason behind this .
    is it the problem with the adapter or the webservice
    Thanks
    Nikhil

    HI Ricardo ,
    I have tried that but still I am getting the below error.
    <b>java.lang.Exception: Channel not found for :SIEBEL_DEV:SIEBEL_SOAP in SOAP
         at com.sap.aii.af.mp.soap.web.HelperServlet.processFindChannel(HelperServlet.java:420)
         at com.sap.aii.af.mp.soap.web.HelperServlet.doGet(HelperServlet.java:126)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    </b>
    any other Ideas.
    Thanks
    Nikhil

  • Call the webservice on the portal sometimes "基础连接已经关闭: 接收时发生错误"happened.

    call the webservice on the portal sometimes u201C基础连接已经关闭: 接收时发生错误u201Dhappened,the english meaning "basis connection is closed,error when recieve"

    Hello,
         MDM Version is 5.5.65.86
             Portal
             sap.com/SAP-JEECOR  7.00 SP18 (1000.7.00.18.0.20081123155626)  20091203155047 
             sap.com/SAP-JEE  7.00 SP18 (1000.7.00.18.0.20081123155510)  20091203154825 
             sap.com  MDM_JAVA_API  5.50 SP6 (1000.5.50.6.5.20100120101105)  SAP AG  SAP AG  20100204091131 
             sap.com  MDM_WEB_SERVICES  550 SP6 (1000.550.0.6.5.20100117165943)  SAP AG  MAIN_MDM55VA_C  20100204091208 
    this problem happened after our P system upgrade from 5.5.65.76 to 5.5.65.86,sometime when our MDM upgrade,SAP supply correspond WEBSERVICE jar, but this time ,SAP does not supply the correspond WEBSERVICE JAR file.we used WEBSERVICE JAR is the one that correspond with 5.5.65.76 may be this is the isuue causation

  • How to call the webservice in abap program

    Hi All,
    I have created a web service for my RFC .  The RFC has Import and export paramaters.
    I want call the same web service into my  ABAP REPORT and at the same time i want pass the values to webservice  and get the result from webservice in my abap report,
    Please help me  how to call the web service and pass the values and get the values?
    Highly appreciate your assitance.
    Thanks,
    Kishan

    Hi Kishan,
    You can refer to following help document,
    http://help.sap.com/saphelp_nw04/helpdata/en/bf/d005244e9d1d4d92b2fe7935556b4c/content.htm
    Regards,
    Meera

  • How to call the webservice using ADF Bindings

    Hi,
    I have created a Data control of the webservice using the WSDL Url. (Web Service is secured and so i have given the security configurations)
    Webservice works fine when i drag and drop that in to a jspx page.
    Now i want to call the service from a java class so that i can modify the data a bit. ( Tried with Webservice client and proxy and it is not working)
    Please provide me with some link or solution as how to achieve this.
    Thanks,
    Hari

    You need to have the method binding in the page that calls the Web service - otherwise you can't use the binding layer.
    If you don't want to use the binding layer you can have your managed bean just call out to the Web service directly - you can use JDeveloper's Web service proxy creation wizard to get the code for this.
    If you want to call the Web service through binding outside of the page you can also drag the method into a taskflow as a method call.

  • SAP PI calling the webservice generated through BRF+

    Hi All,
    The scenario is
    SAP ECC(IDoc) --> PI --> SAP MII
    . The data coming from ECC in the IDoc will be in a third party format, but we want MII to receive data in SAP format.
    For this we have decided to use BRF. I want to know that how can I use the webservice which we generate from BRF in SAP PI. Which adapter supports calling of webservice or if there is any other section of SAP PI where this transformation can be done using BRF+ webservice? Please help
    Thanks,
    NehaSingh

    Hi,
    The message coming from ECC has values in ISO format and MII needs values in SAP format.  For this conversion to happen I need to use the BRF+ and when I raised the same request on "Business Rule Management/BRF+" forum. I got the following reply.
    ht[Re: Calling web service generated through BRF+ in SAP PI|Re: Calling web service generated through BRF+ in SAP PI]
    Now, Can anyone please help me with answers to following question:
    Since my Source Message is an IDoc, I cannot directly use the RFC that will call the Function Module that I require for format conversion,
    Can I use RFC Lookup to satisfy the requirement. If yes how to go about it. Actually I am using RFC LookUp for the first time, so the basic steps that we need to follow for RFC Lookup are needed. I went through some Blogs but did not understand how it will be applicable in my case. Please Help
    Thanks and Regards,
    NehaSingh

  • I can not call the webservice?!?!?

    Hello,
    I want to call a webservice, but the Inputfields are all disabled. I have used a simple Weahterservice where I can input a city.
    I can not use it.
    Also I have follow the steps in the weblog: /people/anilkumar.vippagunta2/blog/2005/07/20/developing-web-application-without-writing-single-line-of-code-my-first-web-log
    But there is the same problem. I can not use the input-fields. In this example I have create the output for the state of delivery. When I push the button, the request is shown on the form: "Please enter correct from email address to send this message". So I think, that the webservice work.
    What is my mistake? If anybody want to help me, I can send my project-files. It's only the usage of the webservice.
    Thanks,
    Peter
    Edited by: Peter S on Jan 14, 2008 11:21 AM
    The Webservice I used in my own sample is : http://www.webservicex.net/WeatherForecast.asmx
    for WSDL use http://www.webservicex.net/WeatherForecast.asmx?wsdl

    I have not called the class which was under response

  • Call the webservices in webdynpro ABAP.

    Hi,
      I have WSDL file. please tell me the procedure how to call webservices in webdynpro -ABAP.
    Thank you
    neelima

    Hi neelima,
    Refer This,
    <b>Consuming XI Web Services using Web Dynpro</b>
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3593. [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    <b>Web service related scenario with XI</b>
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/336365d3-0401-0010-9884-a651295aeaa9.
          (Reward Points If helpful)
    Regards
    Nandha.

  • Error while calling the webservice from XML spy

    HI ,
    I hve imported the wsdl file into the xml spy and not trying to send a SOAP message to it .
    its asking for a user authentication .
    I am using the XIAPPLUSER for it and once i send the soap request .
    I am getting the error
    <b>HTTP operation 'POST' could not be performed on url
    'XISOAPAdapter/MessageServlet?channel=:SIEBEL_DEV:CC_SOAP_CUST&amp;version=3.0&amp;Sender.Service=SIEBEL_DEV&amp;Interface=http%3A%2F%2FOFCOM.CO.UK%2FUNIFY%2FCustomerMaster%5EMI_Customer'
    due to an error.
    the connection with the server was terminated abnormally </b>
    If any one has an idea why is such an error occuring  please do let me know
    Thanks
    Nikhil

    I dont think there would be a definitive answer but :
    could you check the URL manually whether its reachable if so what is its status ?
    Once did this check whether there any parameters its expecting and missing.
    Vara
    [Please reward for posting]

  • Calling the webservice with request xml

    Hi all
    I have table with the fields Requestxml and the url to which Requestxml needs to be submitted.how can dynamically submit the requestxml to the corresponding url
    can any one tell me the approach how can i achieve the above scenario
    i am using jdev 11.1.1.5.0
    Thanks in advance
    Edited by: 926968 on May 4, 2012 2:08 AM

    Hi,
    in HTML the form action element determines where a form field is submitted to. So in your case I would probably try using a managed bean to send the request from Java.
    Frank

  • Calling Web Service From Oracle PL/SQL do not invoke the webservice in SOA Server

    Hi ,
    Trying to call the webservice from oralce pl/sql Function
    created a Function
    Not able to invoke the web service of SOA Server .
    CREATE OR REPLACE FUNCTION HelloWorld_WebServices(S_STRING Varchar2) RETURN VARCHAR2 AS 
        service_ sys.utl_dbws.SERVICE; 
        call_ sys.utl_dbws.CALL; 
        service_qname sys.utl_dbws.QNAME; 
        port_qname sys.utl_dbws.QNAME; 
        response sys.XMLTYPE; 
        request sys.XMLTYPE; 
        BEGIN 
         sys.utl_dbws.set_http_proxy('Host name : Port'); 
          service_qname := sys.utl_dbws.to_qname('ns1', 'process'); 
           service_      := sys.utl_dbws.create_service(service_qname); 
           call_         := sys.utl_dbws.create_call(service_); 
            sys.utl_dbws.set_target_endpoint_address(call_, 'http:/host name : port/soa-infra/services/OFS/HelloWorld/helloworld_client_ep'); 
            sys.utl_dbws.set_property( call_, 'OPERATION_STYLE', 'process'); 
            request       := sys.XMLTYPE('<ns1:process xmlns:ns1="http://xmlns.oracle.com/OFSOrderServices/HelloWorld/HelloWorld"><ns1:input></ns1:input></ns1:process>'); 
         response      := sys.utl_dbws.invoke(call_, request); 
         return response.extract('//HelloWorld/child::text()', 'http://xmlns.oracle.com/OFSOrderServices/HelloWorld/HelloWorld').getstringval(); 
         DBMS_OUTPUT.PUT_LINE ('Values of OutputsVariables8');
    --  Return 'S';
       END;
    Execute----the below code:
      Select HelloWorld_WebServices('Hi') from dual;
    Error:
    ORA-29532: Java call terminated by uncaught Java exception: java.lang.NoClassDefFoundError
    ORA-06512: at "SYS.UTL_DBWS", line 403
    ORA-06512: at "SYS.UTL_DBWS", line 400
    ORA-06512: at "APPS.HELLOWORLD_WEBSERVICES", line 74
    29532. 00000 -  "Java call terminated by uncaught Java exception: %s"
    *Cause:    A Java exception or error was signaled and could not be
               resolved by the Java code.
    *Action:   Modify Java code, if this behavior is not intended.

    Well, you should first test if your webservice is reachable with a simple WS - Client or a Browser - Plugin, then verify the respones of the web service and after that you can take further investigations on your problem domain. The error - message refers to a line in your function, obviously, but I can't see which line and because there is more than one call to sys.utl_dbws I don't see at what point the script fails. NULL - Pointer - Execptions usually indicate that a method was invoked on a variable which should contain an object reference but is NULL.

  • Error calling a webservice from one server process of the cluster

    Hi ,
    I have a servlet which on startup makes a call to a webservice. I deploy this webapp on the cluster.
    The cluster has two instances each instance having one server process.
    So when the server restarts one server process on one instance calls the web service the other process on other instance fails with a 503 response code.
    When I tried to reproduce the same problem using two server processes on the same instance both processes are able to call the webservice properly.
    I am slightly confused as to how different the second scenario is from first one as both are individual server process and may or may not run on same instance.
    Can anyone tell me the real cause.
    Rgds
    Shashank

    Hi Rajat,
    This is how the default trace looks
    FATAL: Application Servlet failed to notify devices.
    Caught java.rmi.RemoteException: Service call exception; nested exception is:
         com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (503) Service Unavailable. The requested URL was:"http://<<server>>:50000/ManagementService/ManagementService?style=document"
         at com.om.mws.standaloneproxy.ManagementServiceBindingStub.notifyDevice(ManagementServiceBindingStub.java:1289)
         at com.om.mws.standaloneproxy.ManagementServiceBindingStub.notifyDevice(ManagementServiceBindingStub.java:1298)
         at com.om.ApplicationServlet$NotifyDevices.run(ApplicationServlet.java:86)
    Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (503) Service Unavailable. The requested URL was:"http://<<server>>:50000/ManagementService/ManagementService?style=document"
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.handleResponseMessage(MimeHttpBinding.java:980)
         at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1430)
         at com.om.mws.standaloneproxy.ManagementServiceBindingStub.notifyDevice(ManagementServiceBindingStub.java:1282)
         ... 2 more
    java.lang.NoSuchMethodError
    at java.lang.Thread.destroy(Thread.java:779)
         at com.omApplicationServlet$NotifyDevices.run(ApplicationServlet.java:92)
    Rgds
    Shashank

  • Counting the duplicate entries without looping itab.

    Hi ,
    I want to count the duplicate entries in  itab without looping
    the itab.
    can any one help me....

    If you just want to know the number of duplicate entries:
    DATA:
      zlt_itab1 TYPE ....
      zlt_itab2 LIKE itab1,
      zlv_lines TYPE i,
    *-Copy table
    zlt_itab2 = zlt_itab1
    *-Sort on field to count duplicates:
    SORT zlt_itab2 BY <field for counting duplicates>
    *-Total number of lines:
    zlv_lines = LINES( zlt_itab2).
    *-Remove duplicates:
    DELETE ADJACENT DUPLICATES FROM zlt_itab2.
    *-Calculate number of duplicates:
    zlv_lines = zlv_lines - LINES(zlt_itab1).
    Regards,
    John.

  • Firewall Setting NoRouteToHostException while calling secured webservice

    Hi All,
    I tried calling a secured webservice from oracle database. While calling the webservice i am getting the NoRouteToHostException exception. The possible cause for this exception is
    "Signals that an error occurred while attempting to connect a socket to a remote address and port. Typically, the remote host cannot be reached because of an intervening firewall, or if an intermediate router is down. "
    I found the ipaddress is correct.
    I would like to know the cause "intervening firewall". Will any port has to be enable in oracle database to call secured webservice from the Database or where to check in the database for firewall setting
    Thanks,
    Ramesh.R

    Ramesh_R wrote:
    I tried calling a secured webservice from oracle database.
    HTTPS protocol in other words?
    While calling the webservice i am getting the NoRouteToHostException exception. The possible cause for this exception is "Signals that an error occurred while attempting to connect a socket to a remote address and port. Typically, the remote host cannot be reached because of an intervening firewall, or if an intermediate router is down. "Not an Oracle issue and not really relevant to this forum (or any other forum on OTN I think). This is a straightforward network issue dealing with routing tables it seems to me.
    The error simply means that the application (PL/SQL in Oracle server when using UTL_HTTP) references an IP address that does not exist locally (different subnet/netmask) and that the IP packets need to be routed (via an "+intermediary+") in order to reach that IP address.
    I would like to know the cause "intervening firewall". Will any port has to be enable in oracle database to call secured webservice from the Database or where to check in the database for firewall settingYou should look at the local routing table on the server. For example, your server is IP address +196.1.83.100+ and you need to reach IP address +165.147.45.30+.
    The server's IP stack needs to know where to send traffic for +165.147.45.30+ to? Which interface on the server to use (there can be multiple)? What is the address of the router that will route the traffic to this IP?
    Let's say we use the primary (first) interface and that the routing is done by +196.43.4.1+. The server's routing table on the should then look something as follows:
    oracle@myserver ~> route -n
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    165.147.45.30   196.43.4.1      255.255.255.255 UGH   0      0        0 eth0
    .. remaining entries..The "+route add+" command is used to add such a route to the routing table.
    I suggest however that you discuss this first with the o/s or network administrator to ensure that the routing table is not only correctly updated, but that the server is configured to create this route automatically at boot time.

  • Error While Consuming the webservice in ABAP

    Hi,
      I am trying to consume a webservice in ECC. I have imported the WSDL and generated the proxy. Did the configuration in the SOAMANAGER. While calling the webservice from the program I am getting the following error message. "SRT: Unsupported xstream found: ("HTTP Code 400  : Bad Request")"
       Any help is appreciated.
    Thanks
    Raghavendra Kuamr

    Hi,
    Check ST11 to find detailed log of issue, most likely you are passing "WS-A" message id along with request (check settings in SOAMANAGER Logical Port).
    Try calling service after suppressing "Message Id transfer". See SAP Note: 1361688 and related notes in 0001292171
    Regards,
    Gourav
    PS: please search forum before posting questions.

Maybe you are looking for

  • Web App Items Slideshow with automated transistion.

    Hello everyone.  I have been looking for a solution to have web app items within a specific category display in the same manner that a slideshow or slider would AND be able to automatically change from month to month using the expiry dates. Basically

  • Motion tween within a symbol (CS5)

    hi, im doing an animation (in CS5) for an independent art class and i had a question in short im trying to get a motion tween, which is within a symbol, to show up in the main animation i have a guy who is swinging a sledge hammer using the bone tool

  • Adobe Reader 9.2- makes documents black- cannot view the PDF's content

    Hi all Hoping someone else has seen this very wierd issue. I have a Terminal Server running Server 2003 SP1. (inherited) The End Users were experiencing issues with Reader not printing out correctly. They were previously using Reader v7.0. I download

  • EXCEL attachment as EMAIL to USER - When USER executes REPORT in BACKGROUND

    Hi Friends, I have 10 records in Internal Table. In BACK GROUND execution, I have to send this 10 records as EXCEL attachment through EMAIL to the USER who executed in background. How to do this? Thanks in advance. Regards, Viji.

  • Date format for call transaction

    Hi, What is the best solution for passing a date field to a call transaction in the date format that the user has in his settings?. Rgds