Response time in web services

I have a simple calculator web service running on tomcat server. On the client side, I have a loop in which I randomly select 2 operators and an operand and invoke the calculator web service.
I was conducting tests by invoking the web service within a loop. I observed that as the number of requests increased the response time reduced. I am unable to figure out why this happens.
Any help would be appreciated.

For monitoring BPEL orchestrated services (process status, activity, variables, suspend/resume/terminate instances), we have open source bpel monitor API and command line tool. We are working on a graphic version of BPEL monitor, but you can find a simple one contributed by a member in the community:
http://wiki.open-esb.java.net/Wiki.jsp?page=BPELMonitor
Regards,
Mei

Similar Messages

  • Slow response time of Web Service

    Hi,
    I have created a web service to search opportunity from a custom FM. Service and FM both work fine and give same results.
    Issue I am facing is, when I run FM it takes 3 seconds but when I run service in SOAP it takes 17 seconds with same data for same system.
    I tried putting traces but logically its the same code and same tables those would be hit so result was not helpful.
    Kindly put light on factors affecting performance of a web service.
    Please help.
    Regards,
    BJ

    Hi,
    I bought photo-diode and controller form edmundoptics.com and here is the detail:
    Silicon Photo Diode Detector System:
    Details: • SILICON DETECTOR 100MM2 Biased: Normal                                           
    NT53-373
    $98.50        
    PHOTODIODE AMPLIFIER
    • NT57-601
    $995.00

  • Erro while recieving a signed response from a web service

    i'm not sure whether this is the right forum to post this topic, but anyways i'm going fwd as i was not able to find a rite one, if any body knows, plz redirect me to that, anyways below is my issue.
    i'm using axis as a web service engine on my client side and getting a signed response from a web service.
    But while recieving the response im gettng the following error.
    Verification failed for URI "#id-13753285"
    org.apache.ws.security.WSSecurityException: The signature verification failed
         at org.apache.ws.security.processor.SignatureProcessor.verifyXMLSignature(SignatureProcessor.java:332)
         at org.apache.ws.security.processor.SignatureProcessor.handleToken(SignatureProcessor.java:79)
         at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:279)
         at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:201)
         at org.apache.ws.axis.security.WSDoAllReceiver.invoke(WSDoAllReceiver.java:159)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:190)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
         at org.apache.axis.client.Call.invoke(Call.java:2767)
         at org.apache.axis.client.Call.invoke(Call.java:2443)
         at org.apache.axis.client.Call.invoke(Call.java:2366)
         at org.apache.axis.client.Call.invoke(Call.java:1812)
         at com.sterlingcommerce.www.mesa.GISBindingStub.executeLightweightJDBCAdapterQuery(GISBindingStub.java:210)
         at client.MyClient.makeRequest(MyClient.java:105)
         at client.MyClient.main(MyClient.java:134)
    failed becoz of remote exception: org.apache.ws.security.WSSecurityException: The signature verification failed
    Exception in thread "main" org.apache.ws.security.WSSecurityException: The signature verification failed
         at org.apache.ws.security.processor.SignatureProcessor.verifyXMLSignature(SignatureProcessor.java:332)
         at org.apache.ws.security.processor.SignatureProcessor.handleToken(SignatureProcessor.java:79)
         at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:279)
         at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:201)
         at org.apache.ws.axis.security.WSDoAllReceiver.invoke(WSDoAllReceiver.java:159)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:190)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
         at org.apache.axis.client.Call.invoke(Call.java:2767)
         at org.apache.axis.client.Call.invoke(Call.java:2443)
         at org.apache.axis.client.Call.invoke(Call.java:2366)
         at org.apache.axis.client.Call.invoke(Call.java:1812)
         at com.sterlingcommerce.www.mesa.GISBindingStub.executeLightweightJDBCAdapterQuery(GISBindingStub.java:210)
         at client.MyClient.makeRequest(MyClient.java:105)
         at client.MyClient.main(MyClient.java:134)
    below are my hadler configurations and properties file
    <handler type="java:org.apache.ws.axis.security.WSDoAllReceiver" >          
                        <parameter name="action" value="Signature"/>
                        <parameter name="user" value="signverf"/>
                        <parameter name="passwordCallbackClass" value="client.PWCallback"/>
                        <parameter name="passwordType" value="PasswordDigest"/>
                        <parameter name="signaturePropFile" value = "signatureVerifyCrypto.properties"/>
                        <parameter name="signatureKeyIdentifier" value="DirectReference"/>
                   </handler>properties file
    org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin
    org.apache.ws.security.crypto.merlin.keystore.type=jks
    org.apache.ws.security.crypto.merlin.keystore.password=password
    org.apache.ws.security.crypto.merlin.keystore.alias=signverf
    org.apache.ws.security.crypto.merlin.alias.password=password
    org.apache.ws.security.crypto.merlin.file=certs/signverf/signverf_pubkeystore
    commands i used to generate keystore:
    keytool -import -alias signverf -file privCert4Sign.cer -keystore signverf_pubkeystore -storepass password
    keytool -list -alias signverf -keystore signverf_pubkeystore
    i tried goggling for this error,in one thread i got this is because of some issue in axis 1.4 which i'm using and if i try using axis 1.2, this will not come,
    for the time i'm not able to download axis 1.2 from any of the apache mirrors :( ,
    if some one can provide me the link,it will be really helpful.
    also if anyone as faced similar issue or can see whats going wrong here, please reply.
    also below is my soap response capture using tcpmon
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Header>
    <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><ds:Signature Id="Signature-18290758" xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
    <ds:SignedInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
    <ds:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" xmlns:ds="http://www.w3.org/2000/09/xmldsig#"/>
    <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" xmlns:ds="http://www.w3.org/2000/09/xmldsig#"/>
    <ds:Reference URI="#id-13753285" xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
    <ds:Transforms xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
    <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#"/>
    </ds:Transforms>
    <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" xmlns:ds="http://www.w3.org/2000/09/xmldsig#"/>
    <ds:DigestValue xmlns:ds="http://www.w3.org/2000/09/xmldsig#">jAaM4xp/2ZOch7iqyyLynojMpV0=</ds:DigestValue>
    </ds:Reference>
    </ds:SignedInfo>
    <ds:SignatureValue xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
    JiOjIFgJ2qMvzJsirbjgV7AeDWfsS0Ak3xzue1nK+LXELM3tZ/h/eFyxCLZfLk+553vJbmnlU423
    8NgjgngYcYa+bB6yTovZJKB66LdQEHLpmTX4WNteLrcVOBfHyZcJCKemF2XyaF4yX03XGAIdNnFV
    1d8wZQcBgakPIrjJGAZtwo94bYBlL/MJedBP819Ecf/N6hEmafFxHD46Xapi+HdcDjQmCqxaol/I
    bQuM3ikJJ2v+46bQNKEWavdG7lIicjUsvH3xpyzZthj26nAHV6nAOEe8tybKhKLga6KDM+3eAJNq
    3s52yZTz68n7z5AijdmhMkc7ivCxELBx5TQYsw==
    </ds:SignatureValue>
    <ds:KeyInfo Id="KeyId-20631690" xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
    <wsse:SecurityTokenReference wsu:Id="STRId-5317380" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><wsse:KeyIdentifier EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary" ValueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3">MIIDLDCCAhSgAwIBAgICBNIwDQYJKoZIhvcNAQEFBQAwTzEWMBQGA1UEAwwNcHJpdkNlcnQ0U2lnbjEMMAoGA1UECgwDYWJzMQswCQYDVQQGEwJVUzEaMBgGCSqGSIb3DQEJARYLeHl6QGFiYy5jb20wHhcNMDcwOTA0MDQzNzMxWhcNMDgwMzAyMDQzNzMxWjBPMRYwFAYDVQQDDA1wcml2Q2VydDRTaWduMQwwCgYDVQQKDANhYnMxCzAJBgNVBAYTAlVTMRowGAYJKoZIhvcNAQkBFgt4eXpAYWJjLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJSG2UR8nMAxctBlR5YSnEVeuHNFMM7t8YQX6J8GRausKPXyDT4pIfPHRaeag62K4cUhBDYBLyUmZqYTZBHpKISgYkYsXqYHoB4gif664rZvpMKw+cTpD/3WzViOeHHWfQM5/XUatLBPXzRUB78PcM9RnCEeznKUEPoWxTfl2qsR0d4CxOVzH9dHn6JCEaQQWzntH61YCw4Qm6Kq78+sLfnv7CBrg/NYewFX9JozZk7UzlmPZWCm7pp2d4UDn1KB7nLnLFxD6aMgjAikWKAU4h15ihJxu6Appc+ggAdAV/jQiaIeAtokfe2Iw1bUh8SOOR8iUa9lK0Jf6C/N9ZTnxCcCAwEAAaMSMBAwDgYDVR0PAQH/BAQDAgTwMA0GCSqGSIb3DQEBBQUAA4IBAQCKfRu1cXkwwnNZ+0brwT4iI1q/Ti/OVMWpP15Ob7bDE5rUjwpNUJXXlqKdOh7pkk1gLTiebQrMkd0ozpbi/Xdmea1xf9diCc4IApg6K9G4KACR2sLeXcKy7d4hakYqMLeaPJwBcd3V6DGiJgfP2S8Ui8rQzDpslTBM1+YaBdUVIv1/VCFO/K5I4lkPkjGDp/qDm4lXn3Mup9HG9INgklA02hPnYHWunVZm/5MZpEn4BYks+B3VqCXSAkRVD9aAuM3Tv4atblHDs3oKTV1awoVQbKkw+Eonnc/+Mex8A5sJ/8eUnQ3UPdT77U0+WcrvwFxoFP2e0J8xHW8N8b2fIr8H</wsse:KeyIdentifier></wsse:SecurityTokenReference>
    </ds:KeyInfo>
    </ds:Signature></wsse:Security></soapenv:Header>
    <soapenv:Body wsu:Id="id-13753285" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <mesa:processData xmlns:mesa="http://www.sterlingcommerce.com/mesa" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <ProcessData>
    <service>Test_Web2</service>
    <b2b-protocol>http</b2b-protocol>
    <transport-instance-id>MESAHttpServerAdapter_HttpServerAdapter_node1</transport-instance-id>
    <SyncModeBP>false</SyncModeBP>
    <http-request-uri>/soap-new</http-request-uri>
    <transport-session-id>Fri Aug 31 14:04:57 IST 2007:110</transport-session-id>
    <incomingSOAPTransportMode>http</incomingSOAPTransportMode>
    <VERIFICATION_KEY/>
    <DECRYPTION_KEY/>
    <SECURITY_TOKEN_NAME>ST1</SECURITY_TOKEN_NAME>
    <SIGNING_CERTIFICATE>blrgislin13:10.11.23.37:114bb0fb841:12328</SIGNING_CERTIFICATE>
    <SIGNING_ALGO>http://www.w3.org/2000/09/xmldsig#rsa-sha1</SIGNING_ALGO>
    <SIGNING_KEY_IDENTIFIER_TYPE>3</SIGNING_KEY_IDENTIFIER_TYPE>
    <CANONICALIZATION_ALGO>http://www.w3.org/TR/2001/REC-xml-c14n-20010315</CANONICALIZATION_ALGO>
    <SIGNATURE_ENCRYPTION_ORDER>-1</SIGNATURE_ENCRYPTION_ORDER>
    <SOAP_URI>/soap-new</SOAP_URI>
    <SOAPEnvNSPrefix>soapenv</SOAPEnvNSPrefix>
    <SOAPEnvNSURI>http://schemas.xmlsoap.org/soap/envelope/</SOAPEnvNSURI>
    <messageMode>1</messageMode>
    <query_type>SELECT</query_type>
    <result_name>result</result_name>
    <pool>mysqlPool</pool>
    <row_name>row</row_name>
    <sql>SELECT * FROM MBX_MAILBOX</sql>
    <serviceMode>1</serviceMode>
    <typeName>LightweightJDBCAdapterQuery</typeName>
    <PrimaryDocument SCIObjectID="blrgislin13:10.11.23.37:114bb0fb841:19200"/>
    <ADD_SOAP_ENVELOPING>false</ADD_SOAP_ENVELOPING>
    <INSERT_SECURITY_HEADER>false</INSERT_SECURITY_HEADER>
    </ProcessData>
    </mesa:processData>
    </soapenv:Body>
    </soapenv:Envelope>
    sorry for this long mail, but we are really stuck and need to move forward,
    looking for your help.

    Hi,
    The Service Control Manager will generate an event if a service does not respond within the defined timeout period (the default timeout period is 30000 milliseconds). You could modify the registry to increase the default time-out value for the service control
    manager.
    For more detailed information, please see:
    Event ID 7011: Service Timeout
    http://social.technet.microsoft.com/wiki/contents/articles/13765.event-id-7011-service-timeout.aspx
    The Event 12362 indicates that a destination LUN could not be located or could not be restarted. You could refer to the article below to troubleshoot the issue:
    Event ID 12362 — VSS Shadow Copy Provider Operations
    http://technet.microsoft.com/en-us/library/ee264223(v=ws.10).aspx
    Best Regards,
    Mandy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • How to disable href/id in the generated response of a web-service

    Hello All,
    Do I have any possibility to disbale href/id on the generated response of a web-service that use RPC-encoded format? My generated soap body looks like this:
    <env:Body env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <m:Response xmlns:m="http://www.myTest.com">
    <result xmlns:n1="java:com.myTest" xsi:type="n1:Response">
    <ResultObject xsi:type="n1:ResultObject">
    <firstString href="#ID_6" />
    <integerObject href="#ID_13" />
    <secondString href="#ID_6" />
    </ResultObject>
    <ResultObject xsi:type="n1:ResultObject">
    <firstString href="#ID_6" />
    <integerObject href="#ID_13" />
    <secondString href="#ID_6" />
    </ResultObject>
    <ResultObject xsi:type="n1:ResultObject">
    <firstString href="#ID_6" />
    <integerObject href="#ID_13" />
    <secondString href="#ID_6" />
    </ResultObject>
    </result>
    </m:Response>
    <xsd:int xsi:type="xsd:int" id="ID_13">10</xsd:int>
    <xsd:string xsi:type="xsd:string" id="ID_6">EUR</xsd:string>
    </env:Body>
    Do I have any possibility to instruct the serialization process so that the result to conform with an XML schema and to keep the RPC-Encoded format? In other words to get rid of href/id:s? Href/id:s are used only for objects having the same reference.
    This issue is now even more problematic since JDK 5 when for integers boxing is not necessarily and thus, the compiler translates an Integer assignment using the method:
    public static Integer valueOf(int i)
    which returns cached Integer objects for any integer between -128 and 127.
    Please give some hints (others than using boxing for integers or changing the soap format to document-literal).
    Thanks

    Hello All,
    Do I have any possibility to disbale href/id on the generated response of a web-service that use RPC-encoded format? My generated soap body looks like this:
    <env:Body env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <m:Response xmlns:m="http://www.myTest.com">
    <result xmlns:n1="java:com.myTest" xsi:type="n1:Response">
    <ResultObject xsi:type="n1:ResultObject">
    <firstString href="#ID_6" />
    <integerObject href="#ID_13" />
    <secondString href="#ID_6" />
    </ResultObject>
    <ResultObject xsi:type="n1:ResultObject">
    <firstString href="#ID_6" />
    <integerObject href="#ID_13" />
    <secondString href="#ID_6" />
    </ResultObject>
    <ResultObject xsi:type="n1:ResultObject">
    <firstString href="#ID_6" />
    <integerObject href="#ID_13" />
    <secondString href="#ID_6" />
    </ResultObject>
    </result>
    </m:Response>
    <xsd:int xsi:type="xsd:int" id="ID_13">10</xsd:int>
    <xsd:string xsi:type="xsd:string" id="ID_6">EUR</xsd:string>
    </env:Body>
    Do I have any possibility to instruct the serialization process so that the result to conform with an XML schema and to keep the RPC-Encoded format? In other words to get rid of href/id:s? Href/id:s are used only for objects having the same reference.
    This issue is now even more problematic since JDK 5 when for integers boxing is not necessarily and thus, the compiler translates an Integer assignment using the method:
    public static Integer valueOf(int i)
    which returns cached Integer objects for any integer between -128 and 127.
    Please give some hints (others than using boxing for integers or changing the soap format to document-literal).
    Thanks

  • How to time a web service at back-end?

    I implemented a web service using Axis. This service is to receive an upload file and process it. Since it is a long process, I want to know and log how much time was used for each service call at the server side.
    The web service code is like:
    public class CTSService implements ICTSService, ServiceLifecycle {
    public String processUpload(byte[] zippedData, int zipSourceLength) {
    In the service method processUpload(), it receives byte array zippedData, which can be hundred of MBs. I want to log the time processUpload() receives and processes zippedData. The problem is that, when processUpload() is invoked at the back-end, the server has already received the zippedData, so we can't correctly compute the time of upload of zippedData.
    Does anyone have a good idea of how to time the web service call processUpload() at server side?
    Thanks!

    You can include below method in your code and call it.
    private void UpdateConfig(string key, string value, string fileName)
    var cFile = ConfigurationManager.OpenExeConfiguration(fileName);
    cFile.AppSettings.Settings[key].Value = value;
    cFile.Save();
    Here fileName is the full path + application name (eg: c:\project\WinApp.exe)
    Adnan Amin MCT, SharePoint Architect | If you find this post useful kindly please mark it as an answer :)

  • Getting response from a Web Service

    Hello, everyone,
    I want MII to show the response from a Web Service it is calling through the Web Service action.
    But when this Web Service return an error (as a Soap Fault response), MII simply does not show the response. It show it truncated, such as
    "<?xml version="1.0" encoding="UTF-8"?>
    <ReceiveMessageFromMESResponse xmlns="http://tempuri.org/"/>"
    It prevents me from showing the error message to the user.
    What can I do to have MII show me the complete response received from the called Web Servce?
    Thanks in advance!

    Hi, SB!
    Yes, this would solve the problem, but it would require changes on already-implemented, working external Web Services, which should be avoided by all means.
    SOAP Fault responses are part of the SOAP protocol. I expected MII to understand it.
    Thanks a lot for your answer!

  • Response of a Web Service developped in C#

    Hi all,
    I am trying to call a Web Service from XI. For this I imported the WSDL file of this Web Service as an external definition. The problem I have is that the person who develops this web service returns a structure of type "Dataset" in C#. In the WSDL file, the response part looks like this :
    <s:element name="GetDB2DataResponse">
    <s:complexType>
    <s:sequence>
    <s:element minOccurs="0" maxOccurs="1" name="GetDB2DataResult">
    <s:complexType>
    <s:sequence>
      <s:element ref="s:schema" />
      <s:any />
      </s:sequence>
      </s:complexType>
      </s:element>
      </s:sequence>
      </s:complexType>
      </s:element>
    So when I try to map the return of the Web Service, I only have one field in the Message : NewDataSet of type "xsd:schema", and I can't do any mapping with this.
    I don't know C# so I don't know how the WS developper could change the return type.
    Does any of you know what kind of structure the Web Service should return if I want to have the complete return structure at design time ?
    Thanks in advance.
    Best regards,
    Julien

    Hi Julien,
    No way to work with that generic "schema".
    I think in the WSDL you should have the schema as well. Just like the way XI exports message interfaces into WSDL: you can try yourself, and you'll notice that, if you have a synch interface for instance, both input and output messages definitions are inside the wsdl as xsd's.
    More, from what I can understand, "GetDB2DataResult" sounds like you'll be returned a set of tb rows, so in my opinion you should get back to the C# guy and tell him to complete the wsdl with missing infos.
    If he can't provide this info, so just go calling the ws, see what's inside the returned message and create the matching data type yourself.
    Hope this helps.
    Best wishes,
    Alex

  • Bad response in a Web Service on OC4J with many concurrrent clients

    We have a Web Service in a OC4J container, this Web Services invoke the business services from another complex application (another ear with EJBs in the same container) with RMI connections.
    We need this web service support many concurrent clients, but in our tests the performance is very bad, the web service supports ten concurrent clients in a long response time for all of them, (for one client the Web Service responses in 3 seconds / for 10 clients in 45 seconds) if we test with 20 concurrent clients, the web service can´t process at least 15 requests , the other 5 finish well
    What can I do to improve the performance with many concurrent clients (100 +)

    Hello,
    I am quite surprised...
    Could you please give us more information about your environment and behavior:
    1- which version of oracleAS, WS and J2EE are you using?
    2- do you have any information in the application log about possible source of error?
    3- Any information about performance of the different layers?
    Can you simplify the flow by creating the service in the same EAR than the EJB and void RMI calls for example?
    regards
    Tugdual Grall

  • How to deal with complex SOAP responses when calling web services ???

    Hi all,
    I have an issue when calling a web service that returns a complex
    SOAP response message. With simple responses (e. g. array of strings) it
    worked.
    I created the PDF as an Interactive form with Livecycle Designer 8.2.
    The Javascript looks like this:
    var cURL = "http://blabla";
    var cTestString = "too";
    SOAP.wireDump=true;
    var response = SOAP.request(
         cURL: cURL,
         oRequest: {
              "http://blabla.com/:complete" : {
              arg0: cTestString
              cAction: "http://bla.com:50000/"
    var resp = response["http://blabla.com:serviceResponse"];
    console.println("lenght:"+resp.length);
    var myns = "http://blabla.com/namespace";
    for (var nItem in resp.return)
      console.println("" + nItem + " " + resp.return[nItem] );
         for (var ConceptView in resp.return[nItem])
           console.println("  "+resp.return[nItem].length);
           console.println("  "+ConceptView+" "+resp.return[nItem][ConceptView] );
           if (ConceptView == myns + ":Response")
              for (var item2 in resp.return[nItem][ConceptView]){
                  console.println("    "+item2+" "+resp.return[nItem][ConceptView][item2] );
    I call the service and when I realized that I do not find out the type of the object returned, I used the nested for-in-loops to iterate through it. But it seems that there is just one item in the Javascript object returned, although the SOAP message clearly shows that there are more than one item.
    Can you help me?
    One key problem when analyzing this issue is that I do not know at all
    the Javascript type of response. We suspected it might be an array, but it is not
    because the method .length returns "undefined". It would already be
    helpful to know at least the type of this object and to know callable
    methods and so on ...
    Best regards
    Christoph
    P.S. As mentioned I used Livecycle Designer 8.2 and displayed and
    debugged the document using Acrobat 9.

    Christoph,
    Firstly LiveCycle Designer 8.2 is still not supported to develop forms as per my knowledge. The latest version compatible for SAP Interactive Forms is ALD 8.0.
    There is a difference between Acrobat based forms and LiveCycle forms and based on your coding it looks to me  that you are trying to create a LiveCycle based form with coding of Acrobat which is not supported in LiveCycle Desginer, which is why you may be getting the error.
    I hope that does not confuse you, so may check this [link|http://www.acrobatusers.com/articles/2006/08/designer_or_forms/index.php] for some clear information on what point I was trying to make.
    Chintan

  • Response of async web service

    Hi there,
    I've created a function module which calls a synchronous BAPI. I released this function module as a webservice.
    When I call the web service it always gives a response although I don't need it in case of an async call.
    Is it normal that even an async web service gives back a response?
    Could it be that I have to change something in the definition of the function module to make it asynchronious? As far as I know, only a CALL of that function module can be sync/async, not a FM itself.
    How can I achieve that the web service gives a response, or is it normal behaviour for sync and async calls?
    THANKS in advance...

    Hi,
    It will give the response even if for Asynchronous call, as basically its by nature synchronous. Thus in Interface Mappping if you see even if the response is not available the Respose tab get activated.
    You could either supress or redirect the resopnse if you will not require it.
    The Function module to be called in background for Asynchronous call.
    refer,
    Send RFC to SAP XI – Asynchronous
    /people/swaroopa.vishwanath/blog/2006/12/28/send-rfc-to-sap-xi-150-asynchronous
    Thanks
    Swarup

  • 401 HTTP Response for remote web service portlet

    Hi, I am trying to configure IIS web page in ALUI as a remote web service portlet. I have used one of the help HTML pages of IIS server to configure portlet.
    http://localhost/IISHelp/iis/htm/core/iiwltop.htm
    However, I am getting 401 http response error (You are not authorized to view this page) when i view the portlet. The same URL above works fine if I open in a stand alone browser. Could any one of you help in resolving this please?
    Thanks
    Sampath

    Hi, thanks a lot for your help. I am using windows XP professional. When I set my directory security & grant anonymous access to IUSER the default help site also not coming up, i am geting 401 error.
    When I checked the option Integrated Windows Authentication, then in Internet Explorer the help pages are coming up with out asking for user name and password. I installed firefox and checked. In Firefox, a prompt was coming to fill user name and password. I filled in my local windows authentication details and the page was working.
    I provided the windows login details for the remote server in Administrator's basic acuthentication information. I was still getting the same error (401 error). Then I went to IIS, drectory security settings and checked Basic Authentication(password is sent in clear text) & unchecked Integrated Windows Authentication, the website pages in IIS were showing up in ALUI. WIth this, my problem is half solved.
    The next problem is, I have siebel analytics web application running on IIS. This website requires user name and password if i have to access any report (say). It automatically redirects to my login page. Now I do not want portal user to enter the login details again for accessing siebel reports. But since I have two authentications (now) one for IIS and one for Siebel reporting website, any one know how to configure this?
    I was trying to configure different authentication in web service that i was creating in ALUI, but siebel website authentication information I am providing in web service is overriding the IIS authentication and I am getting 401 error (initial problem). I appreciate any auggestions.
    Thanks a lot in advance.
    -sampath

  • Unable to receive SOAP response from a web service

    We used the sun java platform 9 for our web service, sun java wireless toolkit 2.2.
    The SOAP message contains the hex string representation of an audio recording which is 32,088 bytes large. The phone memory usage while retrieving the soap message is 1105248 bytes. This is a 2 second audio recording. Any audio soap message longer than 2 seconds, the application does not complete the retrieval although the memory usage is much lower than the usage in the 2 second audio recording.
    What else could be the cause of the problem since we ruled out the memory usage already?

    Answered on my own:
    Just have to use
    x_result = http_client->response->get_data( ).
    instead of
    x_result = http_client->response->to_xstring( ).
    Just don't knwo why the filesize is wrong also - but I can work with this image!

  • Run Time Engine Web Service

    Hello Gents, Anybody knows why I can't access to VI (*.exe) on remote PC. On remote PC has been installed only standard 8.6 Run Time Engine. Do I need to install additional parts like NI LabVIEW Run-Time Engine Web Server or/and LV Web Server? And is it possible to communicate through this using RTE on both sites?  
    Solved!
    Go to Solution.

    Sure, with LabVIEW installed it works properly. But questions is "how I can to view VI interface on PC with RTE installed via Web browser in case when this VI has been uploaded on this PC?".
    It is mean that we are using Web Server for this. Are you sure standard LabVIEW Run-Time Engine contains this?  And as I’m understood I need to copy *.html files to somewhere…. on this PC? Thank you for support and advices      

  • OSB - Response timer when business service call external webservice slowly.

    I am a new bie about OSB, i am developing and testing business service OSB call external webservice. When i test by business service on osb console then time response is 10s, but when i program by C# call external webservice then time response is 0,000026s.
    pls help me.

    I am a new bie about OSB, i am developing and testing business service OSB call external webservice. When i test by business service on osb console then time response is 10s, but when i program by C# call external webservice then time response is 0,000026s.
    pls help me.

  • Monitoring web services

    Hello, I have an OpenESB environment and I'm working with web services. I wonder, what is the best way to monitoring the behavior of these services?
    I used the Glassfish Web console, but I am not able to obtain information about response times to Web services that make proxy, or time used in services orchestrated in BPEL.
    It is possible do it from the Glassfish console with any particular configuration, or there is any opensource tool responsible for this.
    Thank you, a greeting.

    For monitoring BPEL orchestrated services (process status, activity, variables, suspend/resume/terminate instances), we have open source bpel monitor API and command line tool. We are working on a graphic version of BPEL monitor, but you can find a simple one contributed by a member in the community:
    http://wiki.open-esb.java.net/Wiki.jsp?page=BPELMonitor
    Regards,
    Mei

Maybe you are looking for

  • Error while installing the NerWeaver Platform

    Error While installing the NetWeaver Instance Posted: Nov 22, 2004 2:37 PM        Reply      E-mail this post  When I am installing 'SAP NetWeaver Suite'the below error came, can someone help me out on this below error? MOS-01011 'C:\usr\sap\BWI\SYS\

  • Web service report problem

    Hi All. I am trying to get a report based on a web service to work. I have created my web service and page as per the instructions in http://download.oracle.com/docs/cd/E14373_01/appdev.32/e13363/web_serv.htm#CHDIDJFH. When I test my web service in a

  • How do I create a 20x30 JPEG custom photo collage in LR 5 for Mac?

    Hello - I am trying to create a custom layout for a 50th anniversary collage in LR 5 for Mac.  However, my page setup only includes print sizes that are compatible with my printer.  I plan to save this layout in JPEG to be uploaded to a photo finishi

  • Public Constructor in atg

    Hi , i was going through the doc Public Constructor , why constructor without args is needed in creating a nucleus component. i create a component like Test.java name; getxx(); setxx(); Test.properties name=Kavi when i went to dyn/admin im able to se

  • How do you download photo folders from your iphone onto Windows 8?

    Windows 8 on my laptop forces me to use the "photo app" and only gives me the options of choosing from photos in my camera roll and not the separate folders I've created on my phone.