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

Similar Messages

  • 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

  • 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!

  • Async Web Service Client - Initialization

    Hi @ll
    A simple WS client can be initialized manually like:
    service = new BasicReferenceService_Impl(referenceServiceWSDL);
    port = service.getReferenceServiceSOAPjms();
    If you do async calls over e.g. jms then you have to use annotations and define the port and response resp. failure methods like:
    @ServiceClient(serviceName = "BasicReferenceService")
    private ReferenceServicePortType port;
    @AsyncResponse(target = "port", operation = "getResearchTarget")
    public void onGetResearchTargetAsyncResponse(AsyncPostCallContext apc, ResearchTargetType researchTargetType)
    logger.info("Async Result: " + researchTargetType.getTargetName() + "\n");
    @AsyncFailure(target = "port", operation = "getResearchTarget")
    public void onGetResearchTargetAsyncFailure(AsyncPostCallContext apc, Throwable e)
    logger.error("Error occured during async call", e.fillInStackTrace());
    Here find more information about:
    http://e-docs.bea.com/wls/docs92/webserv/advanced.html#wp256268
    This example client is implemented as Web Service defined by the @WebService annotation.
    - Is it really necessary to pack the generated client that calls the provider web service "BasicReferenceService" into another client web service that it get initalized with the defined annotations?
    - Is it also possible to pack the generated client into a stateless session bean so that the defined annotations get initalized correctly?
    Thanks for helping and greetz
    Dani

    Sorry about the delay,
    You just need to use the standard java http proxy properties, take a look at:
    http://download-west.oracle.com/docs/cd/A97329_03/web.902/a95453/useservices.htm
    Does this help?
    Gerard

  • 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

  • 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

  • Async  web service.

    Hi,
    I created a WSDL out of a async outbound interface.I then created a web service client using NWDS from the above WSDL.When I run this client it always make a sync call to XI.
    I tried the following
    1.Created a sender soap adapter with QOS EO
    2.Change the targetaddress with QOS=EO in .lp file in the client.
    Nothing seems to work.
    Any idea if we can make async webservice call to XI.
    Thanks and regards,
    Bikram

    Hi Naveenkumar,
    The address should be as specified in the below link:
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/5ad93f130f9215e10000000a155106/content.htm
    http://host:port/XISOAPAdapter/MessageServlet?channel=party:service:channel
    Under party:service:channel enter the party name, the service name, and the name of the communication channel. If no party has been created, enter the following: channel=:service:channel
    Regards
    Suraj

  • 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

  • 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

  • Building & Consuming Async Web Service

    I'm fairly new to web services.  I built a WCF Web Service.  It works fine when making synchronous calls.  I'm stuck trying to make an async call.  On the client side in Visual Studio, I get a "Cannot await TestWebServices.QuotingEngineService.SmallGroupQuote[]"
    error when trying to make the call.  Below is the pic of client configuration, the client code followed by the web service code. If you can point me in the right direction it would be greatly appreciated:
    Client Web Config:
    <bindings>
    <basicHttpBinding>
    <binding name="BasicHttpBinding_IQuotingService" maxReceivedMessageSize="2147483647" maxBufferPoolSize="524288" maxBufferSize="2147483647" />
    </basicHttpBinding>
    </bindings>
    <client>
    <endpoint address="http://10.32.0.99/QuotingWebServiceHMO/Service.svc"
    binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IQuotingService"
    contract="QuotingEngineService.IQuotingService" name="BasicHttpBinding_IQuotingService" />
    </client>
    Screen Shot of Configuration:
    Page Load:
    protected void Page_Load(object sender, EventArgs e)
    List<int> corpIDs = new List<int>() { 57 };
    fetchRenewalAsync(corpIDs);
    fetchRenewalAsync - Where I get the error in VS:
    private static async void fetchRenewalAsync(List<int> corpIDs)
    using (QuotingServiceClient client = new QuotingServiceClient())
    var task1 = client.GetSmallGroupRenewals(corpIDs.ToArray(), "3/1/2015", "2/23/2015", 121);
    return await task1;
    Quoting Service Interface:
    [ServiceContract]
    public interface IQuotingService
    // Small Group Renewals:
    [OperationContract]
    List<SmallGroupQuote> GetSmallGroupRenewals(List<int> corpIDs, string effectiveDate, string activeDate, int censusBatchID);
    Quoting Service:
    namespace QuotingServices
    public class QuotingService : IQuotingService
    #region List<SmallGroupQuote> GetSmallGroupRenewals
    public List<SmallGroupQuote> GetSmallGroupRenewals(List<int> corpIDs, string effectiveDate, string activeDate, int censusBatchID)
    return SmallGroup.GetSmallGroupRenewals(corpIDs, effectiveDate, activeDate, censusBatchID);
    #endregion
    Another thing I noticed is the Async option is not available when I run the Web Service in debug mode, if that indicates anything.
    Thanks

    Hi Jamezn2013,
    I see that you have used the following code:
    private static async void fetchRenewalAsync(List<int> corpIDs)
    using (QuotingServiceClient client = new QuotingServiceClient())
    var task1 = client.GetSmallGroupRenewals(corpIDs.ToArray(), "3/1/2015", "2/23/2015", 121);
    return await task1;
    If you want to make the asynchronous WCF call, please try to modify the client.GetSmallGroupRenewals as client.GetSmallGroupRenewalsAsync:
    private static async void fetchRenewalAsync(List<int> corpIDs)
    using (QuotingServiceClient client = new QuotingServiceClient())
    var task1 = client.GetSmallGroupRenewalsAsync(corpIDs.ToArray(), "3/1/2015", "2/23/2015", 121);
    return await task1;
    For more information, please try to refer to the following article:
    http://www.codeguru.com/columns/experts/building-and-consuming-async-wcf-services-in-.net-framework-4.5.htm .
    Best Regards,
    Amy Peng
    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.
    Click
    HERE to participate the survey.

  • 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!

  • 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

  • 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

  • Building async web service

    Hi
    Please provide me with pointers on how to develop async webservice in JEE5..
    Please note that I am interested in building the service and NOT the client..
    Thanks
    Senthil

    Hi Jamezn2013,
    I see that you have used the following code:
    private static async void fetchRenewalAsync(List<int> corpIDs)
    using (QuotingServiceClient client = new QuotingServiceClient())
    var task1 = client.GetSmallGroupRenewals(corpIDs.ToArray(), "3/1/2015", "2/23/2015", 121);
    return await task1;
    If you want to make the asynchronous WCF call, please try to modify the client.GetSmallGroupRenewals as client.GetSmallGroupRenewalsAsync:
    private static async void fetchRenewalAsync(List<int> corpIDs)
    using (QuotingServiceClient client = new QuotingServiceClient())
    var task1 = client.GetSmallGroupRenewalsAsync(corpIDs.ToArray(), "3/1/2015", "2/23/2015", 121);
    return await task1;
    For more information, please try to refer to the following article:
    http://www.codeguru.com/columns/experts/building-and-consuming-async-wcf-services-in-.net-framework-4.5.htm .
    Best Regards,
    Amy Peng
    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.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • Error while data loading in real time cube

    HI experts, I have a problem. I am loading data from a flat file.The data is loading correctly till the DSO but when i am trying to load it into the cube it is giving an error. The cube is  a real time cube for PLANING. I have chnaged the status to a

  • Run time error COMPUTE_BCD_OVERFLOW coming at MFBF

    Hi Guru's User is getting runtime error at MFBF as below: Runtime Errors         COMPUTE_BCD_OVERFLOW Exception              CX_SY_ARITHMETIC_OVERFLOW This coming at production but not coming at test server. when user is trying to enter quantity 6605

  • Connect my laptop to my tv for display

    i cannot connect to my tv with my hdmi cord that i have already used for my xbox so i know the cord works but im just trying to watch movies on my tv coming from my laptop ive used the support assisstant and also did research on google to fix the iss

  • Editing a Project Version (CN72 / CN41)

    Hi, I have a requirement where a department build a project in CJ20N, then take a snapshot of that project using CN72 capturing the WBS structure and any Networks / Activities within the structure. They store this as an 'approved' snapshot. Later the

  • EXIF data lost from many photos

    I was looking through some old pictures taken with a Canon EOS 5D which I sold some time ago. There were around 3800 pictures. I discovered that 480 had no entry in their EXIF data fields for BODY SERIAL NUMBER and LENS. Other fields seem intact. All