Web Service executing multiple times

We are noticing an ongoing problem with web services both consumed in SAP as well as web services published in SAP and consumed via .NET applications.  In both cases, we are occasionally seeing examples of a single web service method calls executing multiple times.  For example, one of our methods in our SAP generated web services inserts records into a custom Z table.  We are noticing that for a single invocation of the web service, data records are appearing multiple times in the custom table.  We have placed code inside of the function in SAP to catch these multiple executions, but the code does not recognize the duplicates because most likely, the commit from the previous execution has not yet occurred.  We have time stamped the inserts into the table and can see that they do not have the same time.  Our web services are being created in SE80.  My guess is this is some sort of caching issue.  Has anyone run into a similar problem?  We are using NetWeaver 7.0 and SAP ECC 6.0.
Edited by: Joseph Sciacca on Sep 9, 2008 4:10 PM
Edited by: Joseph Sciacca on Sep 9, 2008 7:34 PM

Hi Developers,
I have the same question, is it possible to have multiple outgoing parameters?
When not, does SAP Netweaver knows a IN-OUT parameter? Because I found on the internet that it is possible to have a IN-OUT parameter. But that was with the BEA Weblogic 8.x.
When not, is then the only solution to return a object? With in this object all the parameters you want.
Or otherwise is there a other workaround?
Thanks in advance,
Marinus Geuze

Similar Messages

  • Web Service Execute Activity

    Using the Web Service Execute activity, I get the following error when I try to load the methods using wsdl https://srm-app-003:9007/srm.wsdl
    When I try to run the workflow, I get the following error:
        Error attempting to discover web service
         There was an error downloading 'https://srm-app-003:9007/srm.wsdl'.
         The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
         The remote certificate is invalid according to the validation procedure.
    To try to fix the issue, I went to the Target tab, then Web Target properties and checked "Ignore Certificate Errors" checkbox under Connection Tab.
    Then I tried running it again and this time I get the following error:
         Exception has been thrown by the target of an invocation.
         Unable to generate a temporary class (result=1).
         error CS0001: Internal compiler error (0xc00000fd)
         error CS0003: Out of memory
    Have you seen this error before and how do I can I circumvent this issue?
    Thank you in advance for your help.
    Regards,
    Mary Jane Cofino

    Hi Mary Jane,
    What version of CPO are you using? I was able to load this WSDL up in 2.3 and see the methods. It took a few moments to load fully as it appears to be a large WSDL but it loaded.
    How much memory is on your VM/server you are using with CPO?
    If you want more in-depth help, please open a TAC case and someone from my team can help you.
    thanks,
    Shaun Roberts
    CPO/CIAC Support Team Lead
    [email protected]

  • Web services with multiple elements in the results

    We are using ASP.Net and LiveCycle Forms with LiveCycle Designer 7.0. LiveCycle forms is running on JBOSS (turnkey installation). Our problem is that if the web service returns multiple results e.g.
          £12.99
          Widget
          £0.99
          Grommett
    The form does not grow to accommodate the extra results. Has anyone had any experience of this issue. Adobe say it can be done but so far we have had no luck.

    <[email protected]> ha scritto nel messaggio <br />news:[email protected]..<br />> We are using ASP.Net and LiveCycle Forms with LiveCycle Designer 7.0. <br />> LiveCycle forms is running on JBOSS (turnkey installation). Our problem is <br />> that if the web service returns multiple results e.g.<br />> <products><br />>   <product><br />>      <price>£12.99</price><br />>      <description>Widget</description><br />>   </product><br />>   <product><br />>      <price>£0.99</price><br />>      <description>Grommett</description><br />>   </product><br />> </products><br />> The form does not grow to accommodate the extra results. Has anyone had <br />> any experience of this issue. Adobe say it can be done but so far we have <br />> had no luck.<br /><br />You have to create a subform that has flow content, then flag "repeat the <br />subform for each data item" (or something similar, I've not Designer <br />installed on this machine). Remember to save as dynamic PDF.<br /><br />Bye,<br />Alessio

  • Web service with multiple out parameters

    Hi Developers,
    I have been playing around with som web services in the developer studio.
    I can create a webservice from a normal ejb.
    But i can only get one out parameter, which is the return parameter of the ejb.
    I tried to make an object to use as return parameter, but then i couldn't use the method for the web service.
    Can anyone tell me how to make a web service with multiple out parameters?
    Br Rasmus

    Hi Developers,
    I have the same question, is it possible to have multiple outgoing parameters?
    When not, does SAP Netweaver knows a IN-OUT parameter? Because I found on the internet that it is possible to have a IN-OUT parameter. But that was with the BEA Weblogic 8.x.
    When not, is then the only solution to return a object? With in this object all the parameters you want.
    Or otherwise is there a other workaround?
    Thanks in advance,
    Marinus Geuze

  • Process request method executing multiple times issue

    Hi ALL,
    In my controller code , process request method is executing multiple times and inserting multiple data into the table, can any body help me how to resolve this issue.
    I have the below code in my process request:
    OAApplicationModule am = (OAApplicationModule) pageContext.getApplicationModule(webBean);
         am.invokeMethod("InsertRecord",null);
         OAMessageLovInputBean oalovinputbean=(OAMessageLovInputBean)webBean.findIndexedChildRecursive("ccustatus") ;
         oalovinputbean.setValue(pageContext,"INPROGRESS");
         String userName = pageContext.getUserName();
          System.out.println("User NAme is :" + userName);
          OAMessageTextInputBean pUserId = (OAMessageTextInputBean)webBean.findChildRecursive("item32");
          pUserId.setValue(pageContext,userName);
          OAMessageTextInputBean pchangedby =  (OAMessageTextInputBean)webBean.findChildRecursive("item34");
          pchangedby.setValue(pageContext,userName);
          if((("on").equals(pageContext.getParameter("rrchkbox"))))
                  String whereclause1=(String)pageContext.getTransactionValue("whereclause");
                  String workordnum=(String)pageContext.getTransactionValue("workordnum");
                  String rrnum =(String)pageContext.getTransactionValue("rrnum");
                  String ponum =(String)pageContext.getTransactionValue("ponum");
                  System.out.println("whereclause test1"+whereclause1);
                  String status=pageContext.getParameter("ccustatus");
                  System.out.println("DEBENDRA LINE STATUS:" + status);
                  Serializable param[] = {whereclause1,workordnum,rrnum,ponum};        
                           // am.invokeMethod("getSearchData1",param);
                           // am.invokeMethod("checkSelectedrow",param);       
                 Serializable vcnt =  am.invokeMethod("processPOData",param);  
    Below code written in AM:
    public void InsertRecord()
            XXDPECONTAINERVOImpl vo = getXXDPECONTAINERVO1();
            vo.setMaxFetchSize(0);
            XXDPECONTAINERVORowImpl row = (XXDPECONTAINERVORowImpl)vo.createRow();
            oracle.jbo.domain.Number empNum = (oracle.jbo.domain.Number)getOADBTransaction().getSequenceValue("XXDPE_CONTAIN_SEQ");
            row.setContainerizationId(empNum);
            vo.insertRow(row);
            row.setNewRowState(row.STATUS_INITIALIZED);
    Please help me out.

    hi,
    PR() will be called whenever your page will load, so the number of times you will load your page all the time your PR will be called and it will call the AM method.
    otherwise put some condition and call the insert method from your PR.
    Regards
    Mahesh

  • PLSQL web service returning multiple records

    Hello,
    I am trying to create a web service using oracle 11g which should be able to return multiple records.
    Based on hints and code samples found on the internet here is my code :
    CREATE OR REPLACE TYPE test_rec is OBJECT (
        s_nume_adre                    NUMBER ,
        c_eta_civi                     VARCHAR2(4 BYTE),
        l_nom1_comp                    VARCHAR2(40 BYTE),
        l_nom2_comp                    VARCHAR2(40 BYTE),
        l_nom3_comp                    VARCHAR2(40 BYTE),
        l_pren_comp                    VARCHAR2(30 BYTE),
        d_date_nais                    DATE);
    CREATE OR REPLACE TYPE test_array AS TABLE OF test_rec;
    CREATE OR REPLACE PACKAGE test_pkg AS
      function get_rows(snume_adre in number) return test_array;
    END;
    CREATE OR REPLACE PACKAGE BODY test_pkg AS
      function get_rows(snume_adre in number) return test_array is
        v_rtn   test_array := test_array(null);
        v_first boolean := true;
        cursor c_get_rows(snume_adre in number) is
          SELECT a.s_nume_adre,
                 nvl(a.c_eta_civi, '') c_eta_civi,
                 nvl(a.l_nom1_comp, '') l_nom1_comp,
                 nvl(a.l_nom2_comp, '') l_nom2_comp,
                 nvl(a.l_nom3_comp, '') l_nom3_comp,
                 nvl(a.l_pren_comp, '') l_pren_comp,
                 nvl(a.d_date_nais, to_date('01.01.1900', 'dd.mm.yyyy')) d_date_nais
        FROM bro.z45 a
      where a.s_nume_adre = snume_adre or snume_adre is null;
      begin
        for rec in c_get_rows(snume_adre) loop
          if v_first then
            v_first := false;
          else
            v_rtn.extend;
          end if;
        v_rtn(v_rtn.last) := test_rec(rec.s_nume_adre, rec.c_eta_civi, rec.l_nom1_comp, rec.l_nom2_comp,
                                    rec.l_nom3_comp, rec.l_pren_comp, rec.d_date_nais);
        end loop;  
        return v_rtn;
      end;
    END;
    --select * from table (test_pkg.get_rows(null));
    I am able to retrieve the data using the select.
    However when I try to access its wsdl I get an error :
    <soap:Envelope>
       <soap:Body>
          <soap:Fault>
             <faultcode>soap:Client</faultcode>
             <faultstring>Error processing input</faultstring>
             <detail>
                <OracleErrors></OracleErrors>
             </detail>
          </soap:Fault>
       </soap:Body>
    </soap:Envelope>
    If I comment the function call in the package declaration I get a "correct" wsdl :
    <definitions name="GET_ROWS" targetNamespace="http://xmlns.oracle.com/orawsv/TEST/TEST_PKG/GET_ROWS" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://xmlns.oracle.com/orawsv/TEST/TEST_PKG/GET_ROWS" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
      <types>
        <xsd:schema targetNamespace="http://xmlns.oracle.com/orawsv/TEST/TEST_PKG/GET_ROWS" elementFormDefault="qualified">
          <xsd:element name="GET_ROWSInput">
            <xsd:complexType>
              </xsd:complexType>
          </xsd:element>
          <xsd:element name="GET_ROWSOutput">
            <xsd:complexType>
              </xsd:complexType>
          </xsd:element>
       </xsd:schema>
      </types>
      <message name="GET_ROWSInputMessage">
        <part name="parameters" element="tns:GET_ROWSInput"/>
      </message>
      <message name="GET_ROWSOutputMessage">
        <part name="parameters" element="tns:GET_ROWSOutput"/>
      </message>
      <portType name="GET_ROWSPortType">
      <operation name="GET_ROWS">
          <input message="tns:GET_ROWSInputMessage"/>
          <output message="tns:GET_ROWSOutputMessage"/>
        </operation>
      </portType>
      <binding name="GET_ROWSBinding" type="tns:GET_ROWSPortType">
        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
        <operation name="GET_ROWS">
          <soap:operation soapAction="GET_ROWS"/>
          <input>
            <soap:body parts="parameters" use="literal"/>
          </input>
          <output>
            <soap:body parts="parameters" use="literal"/>
          </output>
        </operation>
      </binding>
      <service name="GET_ROWSService">
        <documentation>Oracle Web Service</documentation>
        <port name="GET_ROWSPort" binding="tns:GET_ROWSBinding">
           <soap:address location="http://server.domain.ch:8080/orawsv/TEST/TEST_PKG/GET_ROWS"/>
         </port>
      </service>
    </definitions>
    Any hint as how to create and access pl sql web service returning multiple rows?
    I don't use java and don't have access to tools like JDeveloper.
    Thanks!

    The actual issue is that collection types are not supported for return parameters.
    The solution is to wrap the collection into another object.
    Here's a working example based on your settings :
    CREATE OR REPLACE TYPE test_rec is OBJECT ( 
      empno  number(4)
    , ename  varchar2(10)
    , hiredate date
    CREATE OR REPLACE TYPE test_array AS TABLE OF test_rec; 
    CREATE OR REPLACE TYPE test_array_wrapper is OBJECT ( arr test_array );
    CREATE OR REPLACE PACKAGE test_pkg AS 
      function get_rows(p_deptno in number) return test_array_wrapper; 
    END; 
    CREATE OR REPLACE PACKAGE BODY test_pkg AS 
      function get_rows(p_deptno in number) return test_array_wrapper is 
        results  test_array; 
      begin 
        select test_rec(empno, ename, hiredate)
        bulk collect into results
        from scott.emp
        where deptno = p_deptno;    
        return test_array_wrapper(results); 
      end; 
    END; 
    The wsdl is then generated correctly :
    SQL> select httpuritype('http://DEV:dev@localhost:8080/orawsv/DEV/TEST_PKG/GET_ROWS?wsdl').getxml() from dual;
    HTTPURITYPE('HTTP://DEV:DEV@LOCALHOST:8080/ORAWSV/DEV/TEST_PKG/GET_ROWS?WSDL').GETXML()
    <definitions name="GET_ROWS" targetNamespace="http://xmlns.oracle.com/orawsv/DEV/TEST_PKG/GET_ROWS" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://xmlns.oracle.com/orawsv/DEV/TEST_PKG/GET_
    ROWS" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
      <types>
        <xsd:schema targetNamespace="http://xmlns.oracle.com/orawsv/DEV/TEST_PKG/GET_ROWS" elementFormDefault="qualified">
          <xsd:element name="CTEST_ARRAY_WRAPPER-GET_ROWSInput">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="P_DEPTNO-NUMBER-IN" type="xsd:double"/>
              </xsd:sequence>
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="GET_ROWSOutput">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="RETURN" type="tns:TEST_ARRAY_WRAPPERType"/>
              </xsd:sequence>
            </xsd:complexType>
          </xsd:element>
          <xsd:complexType name="TEST_ARRAY_WRAPPERType">
            <xsd:sequence>
              <xsd:element name="TEST_ARRAY_WRAPPER">
                <xsd:complexType>
                  <xsd:sequence>
                    <xsd:element name="ARR">
                      <xsd:complexType>
                        <xsd:sequence>
                          <xsd:element name="TEST_REC" type="tns:TEST_REC_IntType" maxOccurs="unbounded" minOccurs="0"/>
                        </xsd:sequence>
                      </xsd:complexType>
                    </xsd:element>
                  </xsd:sequence>
                </xsd:complexType>
              </xsd:element>
            </xsd:sequence>
          </xsd:complexType>
          <xsd:complexType name="TEST_REC_IntType">
            <xsd:sequence>
              <xsd:element name="EMPNO" type="xsd:double"/>
              <xsd:element name="ENAME">
                <xsd:simpleType>
                  <xsd:restriction base="xsd:string">
                    <xsd:maxLength value="10"/>
                  </xsd:restriction>
                </xsd:simpleType>
              </xsd:element>
              <xsd:element name="HIREDATE" type="xsd:date"/>
            </xsd:sequence>
          </xsd:complexType>
        </xsd:schema>
      </types>
      <message name="GET_ROWSInputMessage">
        <part name="parameters" element="tns:CTEST_ARRAY_WRAPPER-GET_ROWSInput"/>
      </message>
      <message name="GET_ROWSOutputMessage">
        <part name="parameters" element="tns:GET_ROWSOutput"/>
      </message>
      <portType name="GET_ROWSPortType">
        <operation name="GET_ROWS">
          <input message="tns:GET_ROWSInputMessage"/>
          <output message="tns:GET_ROWSOutputMessage"/>
        </operation>
      </portType>
      <binding name="GET_ROWSBinding" type="tns:GET_ROWSPortType">
        <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
        <operation name="GET_ROWS">
          <soap:operation soapAction="GET_ROWS"/>
          <input>
            <soap:body parts="parameters" use="literal"/>
          </input>
          <output>
            <soap:body parts="parameters" use="literal"/>
          </output>
        </operation>
      </binding>
      <service name="GET_ROWSService">
        <documentation>Oracle Web Service</documentation>
        <port name="GET_ROWSPort" binding="tns:GET_ROWSBinding">
          <soap:address location="http://localhost:8080/orawsv/DEV/TEST_PKG/GET_ROWS"/>
        </port>
      </service>
    </definitions>

  • Action is executing multiple times

    Hi Experts,
    I am using an action for a service transaction in which a method is called APPROVE_RFC_VIA_WF - the method triggers a workflow, but the action runs multiple (6) times, 6 workflow items are created and 6 emails are triggered likewise.
    I restricted the action to only one executable/successful action and it works ! Only 1 email and 1 workflow item is created, but then the workflow item is not executed !
    Please I need help on this, thnx.
    Regards.

    Another action definition was restricted to execute 5 times which was somehow effecting the workflow action definition
    Adjustments were made to both definitions so that both would give correct results.
    Regards.

  • SOAPHeader doesn't correspond to web service executed

    Hi experts,
    I'm developing a set of services that use the same business service as sender.
    When testing with SOAPUI and others this situation happens:
    1) The first time I execute a web service, for example XPTO1, the execution is successful
    2) When, after that, I execute another web service, for example XPTO2, it gives an error:
    "<SOAP:Fault>
             <faultcode>SOAP:Server</faultcode>
             <faultstring>Server Error</faultstring>
             <detail>
                <s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
                   <context>XIAdapter</context>
                   <code>ADAPTER.JAVA_EXCEPTION</code>
                   <text>com.sap.aii.af.ra.ms.api.DeliveryException: Application:EXCEPTION_DURING_EXECUTE:
         at com.sap.aii.adapter.xi.ms.XIEventHandler.onTransmit(XIEventHandler.java:455)
         at com.sap.aii.af.ra.ms.impl.core.queue.consumer.CallConsumer.onMessage(CallConsumer.java:134)
         at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:910)
         at com.sap.aii.af.ra.ms.runtime.MSWorkWrapper.run(MSWorkWrapper.java:56)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(AccessController.java:219)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)</text>
                </s:SystemError>
             </detail>
      </SOAP:Fault>"
    When I analyze the SOAPHeader and the Payload, the SOAPHeader has as sender and receiver the message interfaces of service XPTO1 (which is wrong, should be XPTO2) and the Payload is correct (has reference to service XPTO2).
    3) If I execute a second time the first web service (XPTO1) it is successful.
    Can anyone help me? I already have clear cache with transaction SXI_CACHE and also have executed the Clear SLD Data Cache but the problem maintains.
    Thanks,
    Diana Pinto

    Which PI and SP version do you use?
    You should look for a patch.

  • Accessing web service in run-time

    Hello,
    In the project I am currently working we have a component (Device Monitor) that needs to access other web services which contain the same interface (MonitorRemote). The webservices wit the MonitorRemote interface register in run-time giving their end-point, wsdl url and any other information that we may need.
    My problem is to access these webservices in run-time. I have tried many approaches and nothing seems to work.
    Currently I am creating 2 webservices with the same MonitorRemote remote interface but different name, service name and portName.
    I try to execute the following:
    1)String serviceName = method.getMethodName();
    2)String portName= method.getPortName();
    3)URL wsdlURL = new URL(method.getURL());
    4)String namespaceURI = method.getNamespaceURI();
    5)QName serviceQName = new QName(namespaceURI, serviceName);               
    6)QName portQName = new QName(namespaceURI, portName);
    7)TimeoutMonitorService mtService = new TimeoutMonitorService(wsdlURL, serviceQName);
    8)MonitorRemote monitoringRemote = mtService.getPort(portQName, MonitorRemote.class);
    9)monitoringRemote.stopMonitoringFeature(0, 0);
    Before the execution I test my TimeoutMonitorService with the webservice navigator and it works fine. After I execute line 9) the TimeoutMonitorService crashes giving the following message:
    System exception 
    [EXCEPTION]
    javax.ejb.EJBException: Exception raised from invocation of public void com.sap.sii.devicemonitor.DeviceMonitorBean.stopMonitoringFeature(com.sap.sii.devicemonitor.entities.ResourceMonitoringSettings) throws com.sap.sii.dataStructures.exceptions.IncorrectParameterException method on bean instance com.sap.sii.devicemonitor.DeviceMonitorBean@92f4d2 for bean sap.com/SII_device_monitor_EARannotation|SII_device_monitor_ejb.jarannotation|DeviceMonitorBean; nested exception is: javax.xml.ws.soap.SOAPFaultException: com.sap.engine.services.webservices.espbase.server.additions.exceptions.ProcessException
    javax.xml.ws.soap.SOAPFaultException: com.sap.engine.services.webservices.espbase.server.additions.exceptions.ProcessException
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.JAXWSUtil.processFault(JAXWSUtil.java:341)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call_SOAP(SOAPTransportBinding.java:984)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.callWOLogging(SOAPTransportBinding.java:700)
    Afer the first time I receive this error I start getting many warining messages in the log files with the following message:
    Exception occurred during open of configuration [apps/sap.com/SII_device_monitor_EAR/TimeoutMonitoringTaskService].
    [EXCEPTION]
    com.sap.engine.frame.core.configuration.ConfigurationLockedException: Can not lock Configuration "apps/sap.com/SII_device_monitor_EAR/TimeoutMonitoringTaskService" because it is already locked.
    at com.sap.engine.core.configuration.impl.ServerEnvironment.lockConfiguration(ServerEnvironment.java:664)
    at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.openConfiguration(ConfigurationCache.java:879)
    I tried to remove and re-deploy but the webservice only returns this error message once I execute my code. The only work around is to create a new project with different interface names.
    I am using:
    SAP NetWeaver Developer Studio
    SAP NetWeaver 7.1 SP05 PAT0000
    Build id: 200802021401
    Any help would be really appreciated.

    need bit more info. from where you are trying to access this webservice? what is the wsdl you are using

  • Web service sends multiple requests after flash upgrade

    I have a Xcelsius engage 2008 SP3 FP2 and i just found out that my dashboard send multiple reqests to web service and this will render my dashboard useless. This is a major bug, is there any solution? Service methods will get around 2-20 request and the dashboard will not be usable any more. Triggers are correct and will not trigger web service unless button is clicked.

    Dear Expert,
    Tcode RZ10
    set the parameter rdisp/gui_auto_logout = 30M    in all Instance profiles  / orwhat ever time limit u want to specify.
    See that this parameter is set on each server.
    And you can make it a default.
    Regards,
    Shankar K B
    Edited by: Shankar.kb on Feb 19, 2012 2:25 AM

  • Error while calling web service for first time

    Hello 
    I am calling a third party  web service using BasicHttp adapter and passing user name and password  in send port security tab by setting security mode to "Transport" and Transport client credential type" as Basic.
    every time when i redeploy or after long idle time i am getting below error and then second call works fine.We are using BT 2013.
    I used fiddler and i am not seeing any difference in both requests.Any one ran into this kind of issue?
    An error occurred while processing the message, refer to the details section for more information 
    Message ID: {030802BF-70EC-4CA3-8FB5-B694E7A12136}
    Instance ID: {7E04E1C0-3730-4645-9280-0FE51194CA67}
    Error Description: System.Net.WebException: The remote server returned an unexpected response: (400) Bad Request.
    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>400 Bad Request</title>
    </head><body>
    <h1>Bad Request</h1>
    <p>The request could not be understood by server due to
    malformed syntax.</p>
    </body></html>
    Thanks

    I will not comment on "IIS recycle its workers process
    ". I don't think you have ever said its IIS is the web server used by yourt 3rd paty to host their web service. We (atleast I) don't know wheather your 3rd party's web service is hosted on IIS. It’s some "Web Server"
    could be IIS (if its Microsoft based) or Apache or something else.
    Come back to your question, when the error says "The request could not be
    understood by server due to malformed syntax", when you’re sending the message as expected by 3rd party service, then it has nothing to do with your end, error is returned by your 3rd party. And as you have mentioned you are tracing the
    messages thru Fiddler and you see messages are constructed same and fine as expected by your 3rd party. Don't confuse its nothing on your party, either first deployment or last. Check with your 3rd party
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • ADF page calling Web Service with multiple params the right way

    Hello,
    I am using JDev 11.1.1.4.0.
    I have an email notification web service that takes 4 parameters, from, to, subject and body. What I need to do is at the end of each 'Commit', call this web service to send notification to a group of audiences telling them a new record has been created. Following are steps I took to make it work:
    1. Created a web service data control using the email notification WSDL.
    2. Drag-and-Drop the data control on jspx page as ADF Parameter form.
    3. Set Panel Form Layout's Visible property to 'False' so the controls doesn't show.
    4. In a backingbean where method 'onSave()' is, I put the code to call the web service.
    // in onSave() method after successful commit
          ValueExpression veFrom =
              efactory.createValueExpression(elctx, "#{bindings.from.inputValue}", Object.class);
          veFrom.setValue(elctx, "[email protected]");
          ValueExpression veTo =
              efactory.createValueExpression(elctx, "#{bindings.to.inputValue}", Object.class);
          veTo.setValue(elctx, "[email protected]");
    // omitted rest of the params for brevity
          OperationBinding method = bindings.getOperationBinding("process");
          method.execute();This code works, but I am not sure if I am doing it right. For some reason, there is a better way of achieving what I need.
    Many thanks in advance for your candid comments and suggestions.
    Bones Jones
    Edited by: Bones Jones on Apr 29, 2011 6:44 AM

    Hi,
    As you have dropped a method in the JSPX page as a parameter form, it adds unnecessary UI components, that you will NOT be using.
    Instead of making the panelFormLayout visible property to false, delete it from the UI page.
    Thus, you would have only the required method binding and the parameters defined as attribute values in the pageDef - which is as expected.
    While deleting the panelFormLayout, delete it manually from the page source and doNOT delete thru the structure pane as it would delete the bindings as well.
    Thanks,
    Navaneeth

  • ALV events for data_change  executing multiple times

    Hello Experts,
    I am using the event "data_changed" of cl_gui_alv_grid and its getting triggred multiple times based on
    no. of rows in my ALV grid output.
    For ex: if i have 5 rows and if i input a field in any cell in a new row, in data_changed event is triggered 2 times.
    The  LOOP AT er_data_changed->mt_mod_cells INTO ls_modified is executing 6 times as in above example
    even though is having only 1 entry.
    Can some one pls help me with this?
    Also i see the  toolbar event is often getting excuted multiples no of times making the application slow.
    Please suggest.
    Thanks
    Dan

    Dan,
    Maybe you've placed or doing something wrong, take this report as a pattern "BCALV_EDIT_03".
    Best regards,
    Alexandre

  • For each loop container executing multiple times....

    Hi,
    We are using SQL SERVER version 2005.
    I am having a For each loop container and inside that container there are multiple Sequence containers and inside each sequence containers there are Execute SQL Tasks (which are just stored procedures).
    Now, when i run sequence containers individually they are running perfectly fine.
    But when I run the whole For each loop container, it is just running and running multiple times without ending the process.
    I really couldnt figure out what would be the issue?
    Any ideas????
    Thanks....

    Hi grk666,
    To check whether the values stored in the object type variable are correct, you can disable all the Sequence Containers within the Foreach Loop Container, and add a Script Task with the following code to display the string type variable value (supposing
    you use the string type variable StrVar to store the value retrieved from the object variable):
    MsgBox(Dts.Variables(“StrVar”).Value.ToString())
    It would be helpful if you could post a screenshot to show the package execution at runtime in BIDS.
    Regards,
    Mike Yin
    TechNet Community Support

  • Query executing multiple times

    All,
    This question has been come up quite often in the OTN forum and i have not managed to get the answer. The issue is when i enable the logs i can see query getting fired multiple times :
    <TracingViewObjectSqlQueryExecution> <logQueryStatementAndBindParameters> ----[Exec query for VO=Kpi, RS=<Default>]----
    <TracingViewObjectSqlQueryExecution> <logQueryStatementAndBindParameters> ----[Exec COUNT query for VO=Kpi]----
    <TracingViewObjectSqlQueryExecution> <logQueryStatementAndBindParameters> VODef =com.xxx.model.uiView.KpiVO
    <TracingViewObjectSqlQueryExecution> <logQueryStatementAndBindParameters> SELECT
    kpi.kpi,
    kpi.kpi_desc,
    kpi.target,
    kpi_pkg.get_kpi_main (kpi.kpi, kpi.sale_type, :bSelectedSalesExecutiveId, :bSelectedBranchId ,:bOperatingUnitId, :bUserRole, :bPersonId, :bKpiRefresh) achieved,
    kpi.percentage,
    kpi.sale_type
    FROM    tableName kpi   
    WHERE  kpi.sale_type = NVL (:bSaleType, kpi.sale_type)
    ORDER BY tag
    <TracingViewObjectSqlQueryExecution> <logQueryStatementAndBindParameters> BindVars:(bUserRole=SE,bOperatingUnitId=81,bPersonId=31458,bSaleType=RETAIL,bSelectedBranchId=224,bSelectedSalesExecutiveId=31458,bKpiRefresh=Y)
    <TracingViewObjectSqlQueryExecution> <getQueryHitCount> ***** Query Hit Count = 6 *****
    <TracingViewObjectSqlQueryExecution> <logQueryStatementAndBindParameters> VODef =com.xxx.model.uiView.KpiVO
    <TracingViewObjectSqlQueryExecution> <logQueryStatementAndBindParameters> SELECT
    kpi.kpi,
    kpi.kpi_desc,
    kpi.target,
    kpi_pkg.get_kpi_main (kpi.kpi, kpi.sale_type, :bSelectedSalesExecutiveId, :bSelectedBranchId ,:bOperatingUnitId, :bUserRole, :bPersonId, :bKpiRefresh) achieved,
    kpi.percentage,
    kpi.sale_type
    FROM    tableName kpi   
    WHERE  kpi.sale_type = NVL (:bSaleType, kpi.sale_type)
    ORDER BY tag
    <TracingViewObjectSqlQueryExecution> <logQueryStatementAndBindParameters> BindVars:(bUserRole=SE,bOperatingUnitId=81,bPersonId=31458,bSaleType=RETAIL,bSelectedBranchId=224,bSelectedSalesExecutiveId=31458,bKpiRefresh=Y)This is one such case. These repetitive nature of the queries getting executed is making my application slow. On the logs i can see the first time query getting executed then waiting for it to finish then the same for the second time. Can any one give some inputs on this ?
    thnks
    Jdev 11.1.1.5

    thnks Frank for your reply.
    Ideally this query is supposed to run when the page is loaded however it has a complex calculation which takes 28 secs to complete. In order to load the page fast we dragged and dropped the collection as a table and added a button which executes the query. So the query gets executed on page load with a condition set as false so that no data is fetched - to speed the page load. However when we press the Refresh button the query gets re executed but as you can see 2 times. I can see the same effect on a nos of tables.

Maybe you are looking for

  • Createtablespace.sql is creating tablespaces in wrong sid

    Hi, We are in the process of performing system copy of EHP4 for TDMS shell creation using standard system copy process as suggested by sap. During export while SAPInst asked for Import Migration Directory we provided the export dump of target system

  • Premier CS 6 video out not clear

    Premier CS 6 video out not clear and video have some color patch (grey ) not satisfied quality. My System - Premier CS 6 Mac 10.8 lion, quadcore 6GB ram Blackmajic Decklinkcard Please help how to broadcast quality out. thanks.........................

  • Playlist issue

    All I want to do is remove items from a playlist and leave everything else the same. Highlight and delete from the keyboard doesn't work. Highlight right click offers NO delete option and the delete button on the file/edit menu is grayed out. It does

  • List display for ALV using class and methods

    Hi friends I want the list display for the ALV using Class and methods which class and methods i can use. Here we can't use the REUSE_ALV_LIST_DISPLAY and also GRID I was done GRID display using class and methods but i want only list display for usin

  • How to save and  move an application

    Hi, I have made an application on Oracle Express. How to save and move that to another machine ? Many thanks.