Error calling web service from Adobe form

Hi Experts,
While calling web service form my adobe form, i was getting an error as below saying "Error attempting to read from the file" followed by the URL of my web service.
To create the above scenario i followed the following steps:
1. Create a Function module and create a web service from that function module.
2. Through SOAMANAGER, download the WSDL file for the generated web service.
3. Create an Adobe form with an empty Interface and create a new Data Connection on the form using the downloaded WSDL.
4. Generate this adobe form using an ABAP report.
Kindly extend help on this to figure out if I'm missing something!!!

Well questions related to Web Services have been answered here in past, please Search on SCN for links to it.

Similar Messages

  • Error when calling Web Service from Adobe Form

    Hi all,
    I need to invoke a Web Service from my Adobe Interactive Form. I have merged the WSDL files, following the steps in this document:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/148ec26e-0c01-0010-e488-decaafae3b26
    But when I press the corresponding button in order to call the web service, I get the following error:
    "Error trying to read file.
    http://<my_host>:51000/<my_WS>/Config1?style=document"
    It seems to be an error in my configuration, because I'm sure that I have followed all steps in the previous PDF.
    Any idea?
    Thanks.

    Well, I think so... I've followed all the steps, and my merged WSDL file seems like the one in page 12...
    Any suggestion, please?
    Thank you,

  • Calling web service from ADOBE 7.0 PDF Form

    Hi,
    I would like to get help from here for my problem.
    I have Interactive PDF form. user will enter th data and submit the form to server. In server side I am getting xml format stream.
    Now I would like to call a web service from the form instread of .Jsp/.asp/servlet. But I do not know how to do this.
    As we know, whem you make webservice call we have to send payload xml data. How do I do this. I tried using data connection for wsdl. this is not connecting at all.
    plz help me here

    Hi,
    using the the below code. have got the header like below. In the header- how the adobe handling <ns0: tags. I want to change this as like <wsa:. Please help me on this.
    var oHeader = {};
    oHeader[NS + "To"] =
    soapType: "wsa:ElementedURI",
    soapValue: "com.app.producer.ProducerImpl"
    var oResultHeader = {};
    var oRequest = {};
    oRequest["" + "test></test>"] = {};
    var response = SOAP.request(
    cURL: cURL,
    oRequest: oRequest,
    cAction: "http://testurl.com",
    oReqHeader: oHeader,
    oRespHeader: oResultHeader
    SOAP Envelop
    <?xml version="1.0" ?>
    - <SOAP-ENV:Envelope xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    - <SOAP-ENV:Header>
    <ns0:To SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns0="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:ns1="wsa" xsi:type="ns1:ElementedURI">com..app.producer.ProducerImpl</ns0:To>
    </SOAP-ENV:Header>
    - <SOAP-ENV:Body>
    <test />
    SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>

  • Calling web service from oracle forms 10g

    Problem Description:
    I'm following the steps as per the doc:
    http://www.oracle.com/technology/products/forms/htdocs/10gr2/howto/webservicefromforms/ws_10_1_3_from_forms.html
    to create a java stub to call external web service and then use java importer in oracle forms to call this web service from oracle forms.
    WSDL for external web service used is http://gend:83/DesignService.svc?wsdl
    The service was developed by us.
    Calling the web service using JDeveloper works fine but when I complie in Oracle Forms it returns wrong number of types of arguments in call SENDHELLO.
    The code from oracle form to call web service is as below:
    DECLARE
    jo ora_java.jobject;
    xo ora_java.jobject;
    rv varchar2(2000);
    ex ora_java.jobject;
    str varchar2(100);
    BEGIN
    jo := GendServiceClient.new;
    rv := GendServiceClient.sendHello('Nora');
    EXCEPTION
    WHEN ORA_JAVA.JAVA_ERROR then
    message('Unable to call out to Java, ' ||ORA_JAVA.LAST_ERROR);
    WHEN ORA_JAVA.EXCEPTION_THROWN then
    ex := ORA_JAVA.LAST_EXCEPTION;
    message(Exception_.toString(ex));
    END;
    Any help/ideas on this is greatly appreciated. Thanks.
    Edited by: KE Nora Loera on Jun 1, 2012 1:24 PM

    My primary skill is PL/SQL but the only information I found on Oracle's site to call a web service from a 10g Form was creating a jar file and importing the java class. Since I don't want to ask our corporate IT to make changes on the UNIX box for the jar files I went a different route.
    I use UTL_HTTP.BEGIN_REQUEST to call a URL then load I load the data to a table as a CLOB since we have more than 4000 characters. Now I need to parse the XML and load it into a form. I have never done this so if there is a helpful site please let me know. I have looked at several sites but none do what I want.
    Thanks

  • Calling web service from oracle forms fails with ORA_JAVA.JAVA_ERROR

    Problem Description:
    I'm following the steps as per the doc:
    http://www.oracle.com/technology/products/forms/htdocs/10gr2/howto/webservicefromforms/ws_10_1_3_from_forms.html
    to create a java stub to call external web service and then use java importer in oracle forms to call this web service from oracle forms.
    WSDL for external web service used is http://www.webservicex.net/CurrencyConverter.asmx?wsdl
    Calling the web service using JDeveloper works fine but from Oracle Forms returns ORA_JAVA.JAVA_ERROR; Unable to call out to Java, Invalid object type for argument 1
    The code from oracle form to call web service is as below:
    DECLARE
    jo ora_java.jobject;
    rv ora_java.jobject;
    ex ora_java.jobject;
    outString varchar2(2000);
    BEGIN
    jo:= CurrencyConvertorStub.new;
    --This will get the exchange rate from US Dollars to UK Sterling.
    rv:= CurrencyConvertorStub.ConversionRate(jo,'CAD','USD');
    message (float_.floatValue(RV));
    EXCEPTION
    WHEN ORA_JAVA.JAVA_ERROR then
    message('Unable to call out to Java, ' ||ORA_JAVA.LAST_ERROR);
    WHEN ORA_JAVA.EXCEPTION_THROWN then
    ex := ORA_JAVA.LAST_EXCEPTION;
    outString := Exception_.toString(ex);
    message(outString);
    END;
    Any help/ideas on this is greatly appreciated. Thanks.

    Yes, it is the message line - so basically this call fails => rv:= CurrencyConvertorStub.ConversionRate(jo,'CAD','USD'); and control goes in the exception block
    WHEN ORA_JAVA.JAVA_ERROR then
    message('Unable to call out to Java, ' ||ORA_JAVA.LAST_ERROR);
    Below is the code from java stub that was generated using JDeveloper by using web services stub/skeleton and associating the WSDL
    public Double ConversionRate(String FromCurrency, String ToCurrency) throws Exception
    URL endpointURL = new URL(endpoint);
    Envelope requestEnv = new Envelope();
    Body requestBody = new Body();
    Vector requestBodyEntries = new Vector();
    String wrappingName = "ConversionRate";
    String targetNamespace = "http://www.webserviceX.NET/";
    Vector requestData = new Vector();
    requestData.add(new Object[] {"FromCurrency", FromCurrency});
    requestData.add(new Object[] {"ToCurrency", ToCurrency});
    requestBodyEntries.addElement(toElement(wrappingName, targetNamespace, requestData));
    requestBody.setBodyEntries(requestBodyEntries);
    requestEnv.setBody(requestBody);
    Message msg = new Message();
    msg.setSOAPTransport(m_httpConnection);
    msg.send(endpointURL, "http://www.webserviceX.NET/ConversionRate", requestEnv);
    Envelope responseEnv = msg.receiveEnvelope();
    Body responseBody = responseEnv.getBody();
    Vector responseData = responseBody.getBodyEntries();
    return (Double)fromElement((Element)responseData.elementAt(0), java.lang.Double.class);
    }

  • Exception when calling web service from Oracle forms 10g

    Hi All,
    I am trying to integrate Oracle Forms 10g(V 10.1.2.0.2.) with Web Services.
    There is a java class named 'authenticate' which is generated using Oracle JDeveloper.
    This class is included in the forms application by using "Import Java Class" feature.
    Forms built the following funtion based on that class:
    -- Method: authenticate (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    FUNCTION authenticate(
    obj ORA_JAVA.JOBJECT,
    a0 VARCHAR2,
    a1 VARCHAR2) RETURN VARCHAR2 IS
    BEGIN
    args := JNI.CREATE_ARG_LIST(2);
    JNI.ADD_STRING_ARG(args, a0);
    JNI.ADD_STRING_ARG(args, a1);
    message('here1');
    RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'mypackage/AuthenticatorWebServiceServiceStub',
    'authenticate', '(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;', args);
    message('here2');
    END;
    However when the above code is invoked it shows the message 'here1' on the form and then throws the following exception: java.lang.Exception: java.lang.ClassCastException
    Please suggest me what's wrong with the code. I appreciate your time and help.
    Thanks,
    Scott.

    My primary skill is PL/SQL but the only information I found on Oracle's site to call a web service from a 10g Form was creating a jar file and importing the java class. Since I don't want to ask our corporate IT to make changes on the UNIX box for the jar files I went a different route.
    I use UTL_HTTP.BEGIN_REQUEST to call a URL then load I load the data to a table as a CLOB since we have more than 4000 characters. Now I need to parse the XML and load it into a form. I have never done this so if there is a helpful site please let me know. I have looked at several sites but none do what I want.
    Thanks

  • Error calling web service from Viusal Composer

    Hello:
    I'm accessing entity services methods published as web services from a composite application from Visual Composer. I'm using version 7.0 SR3 SP15.
    Iu2019m able to access create and read methods from entities services. But from same getAll() methods  Iu2019m getting access error. When I execute the same getAll() method from u201CWeb Service Navigatoru201D it works ok. But from Visual Composer itu2019s not working.  That happens only for same entities for others itu2019s working ok.
    From VC Iu2019m able to select the WDSL and use I in the iViews. The other methods of the iView works ok except for the getAll.
    I have already set the options of VC to not keep a cache of web services definition and review and recreate the system in portal landsacape and teh related alias to access the web services. I have laso checked te user and password in the mapping.
    Thabk you in advance for your help.
    Regards.

    Hello:
    Using the infprmation in the link that you pass me I was able to look into the log files and see what the problem is.
    The getAll service as it is geerated by NWDS receive an input paramter:
    queryFilter (test.types.p1.GetAllQueryFilter)
    In VC when I drop the getAll method from the corresponding service data into the working area. That input parameters doesn't apper aonly the output parameter.
    Then when I execute or test that service. The portal is giving an error:
    Full Message Text
    com.sap.engine.services.webservices.additions.soaphttp.exceptions.ProcessException: Cannot find the required parameter [queryFilter] in request message
    But that parameters was never recognized by VC.
    Thank you in advance for your help again.

  • Call XI Web Service from Adobe form. URGENT pleaseeee

    Hi everyone!
    Help!I need to implement an Adobe Interactive Form, this form has to call / consume a XI Web Service. I 'm able to call a normal web service, I got the "Interactive Forms and Web Service Integration" tutorial. The problem is when the button who calls the XI WS, there is an error: Error when trying to access the file:..............
    any idea? I'm sure there is a problem of authentication, but I don't know how to pass these parameters from adobe to the WS. Maybe the data connection creation have to be in a different way....
    Any Idea will be great
    Thank you in advance
    Leslie.-

    Hi,
    http://my.execpc.com/~gopalan/dotnet/webservices/webservice_csharp_client.html
    http://staff.washington.edu/fox/notes/ws_client_cs.shtml

  • Issue with calling Web Services from Adobe Interactive Forms

    Hi,
    I have created Web Services for remote enabled function module and imported it in the data connection in adobe form. In the adobe form created the button (Drag&Drop from Data Connection) as HTTP submit button. In the submit URL I have given the Web Services link. A program is downloading the pdf form in desktop with fillable as 'N'.
    When I provide the input parameters and click on the button, its promts for SAP user id and password. After that it shows the error as "An error occurred during the submit process. Cannot process content of type text/xml".
    Why this error is coming and how to correct?
    How can we debug web services?
    Thanks and Regards,
    Praveen

    Sherif, this is a wrong forum. Please post on the LiveCycle Designer thread: http://forums.adobe.com/community/livecycle/livecycle_es/livecycle_designer_es

  • Error Calling Web Service from ADF (Fusion 11g)

    Hello,
    I am getting the below error message in the IE while running ADF application from JDeveloper 11g
    Application Details:
    1. Developed a Web Services Data Control (Web Service is from Oracle Applications R12 Integrated SOA Gateway)
    2. Added a JSF page using the Data control
    3. When running the application, the following message is displayed.
    Messages for this page are listed below.
    Unexpected exception caught: java.lang.NoClassDefFoundError, msg=javax/wsdl/extensions/ExtensionSerializer
    javax/wsdl/extensions/ExtensionSerializer
    javax.wsdl.extensions.ExtensionSerializer
    Unexpected exception caught: java.lang.NoClassDefFoundError, msg=Could not initialize class oracle.adf.model.connection.webservice.util.PolicyUtil
    Could not initialize class oracle.adf.model.connection.webservice.util.PolicyUtil
    Has anyone else in this forum ran into the same issue and what's the resolution ?
    Thanks
    Srini

    Hi Srini,
    Did you find the reason of this error? I've got same one and do not know how to move further.
    Thanks
    Marek

  • Error calling web service from another web service

    I get the following deployment error:
    BUILD FAILED
    /home/appgcelc/DS_028/Receive/XMLReceiveService/build.xml:170: Deploy error: Ope
    ration failed with error:
    Error compiling :/u10/app/gcelc/ora/appserver10131/j2ee/home/applications/XMLRe
    ceiveService/ReceiveMessage: Error instantiating compiler: Webservice artifact g
    eneration failed:java.lang.IllegalStateException: Service {http://ds.gcss.usmc.m
    il/}compsvc for service-ref service/CompressService not found
    Below is my web.xml fine...the service ref looks good! What's the issue???
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd"
    version="2.5">
    <servlet>
    <description>Web Service DefaultDepPort</description>
    <display-name>Web Service DefaultDepPort</display-name>
    <servlet-name>DefaultDepPort</servlet-name>
    <servlet-class>mil.usmc.gcss.DefaultDepImpl</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet-mapping>
    <servlet-name>DefaultDepPort</servlet-name>
    <url-pattern>DefaultDepPort</url-pattern>
    </servlet-mapping>
    <ejb-local-ref>
    <ejb-ref-name>ejb/local/SessionFacade</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <local>mil.usmc.gcss.SessionFacadeLocal</local>
    </ejb-local-ref>
    <service-ref>
    <service-ref-name>service/CompressService</service-ref-name>
    <service-interface>javax.xml.rpc.Service</service-interface>
    <wsdl-file>WEB-INF/wsdl/compsvc.wsdl</wsdl-file>
    <jaxrpc-mapping-file>WEB-INF/compsvc-java-wsdl-mapping.xml</jaxrpc-mapping-file>
    <service-qname xmlns:service-qname_ns__="http://ds.gcss.usmc.mil/">service-qname_ns__:compsvc
    </service-qname>
    <port-component-ref>
    <service-endpoint-interface>mil.usmc.gcss.CompressService</service-endpoint-interface>
    </port-component-ref>
    </service-ref>
    <resource-env-ref>
    <description>Data Source for error handling API</description>
    <resource-env-ref-name>jdbc/xxmcDS</resource-env-ref-name>
    <resource-env-ref-type>javax.sql.DataSource</resource-env-ref-type>
    </resource-env-ref>
    </web-app>

    Well questions related to Web Services have been answered here in past, please Search on SCN for links to it.

  • Call a web services from oracle forms 10

    I have to call a web services from oracle forms.
    The version of the database is oracle 11gr2. the version of the forms is 10.1.2.0.2.
    I allready did the proxy creation and the import class within forms.
    I have 2 questions:
    1.
    I created the following procedure:
    PROCEDURE call_WS IS
         vobject1 ORA_JAVA.JOBJECT;
         vobject2 ORA_JAVA.JOBJECT;
    BEGIN
    vobject1 := WSEvaluarReglaCondicionComerci.new();
    vobject2 := WSEvaluarReglaCondicionComerci.listarValoresAtributoEvento(vobject1, 702, 2217, null, null, null);
    END;
    the function I calling:
    FUNCTION listarValoresAtributoEvento(
    obj ORA_JAVA.JOBJECT,
    a0 ORA_JAVA.JOBJECT,
    a1 ORA_JAVA.JOBJECT,
    a2 ORA_JAVA.JOBJECT,
    a3 VARCHAR2,
    a4 ORA_JAVA.JOBJECT) RETURN ORA_JAVA.JOBJECT;
    Note that the parameters is ORA_JAVA_JOBJECT and I need to send numbers. I understand that when I import the classes, because in the WS those parameters are defined as BigDecimal, Forms understand them as java object but when I compile it reports the error: "numero o tipo de argumento erroneo al llamar..." type error.
    So the question is, how Cast the numbers to Java Object to send them.
    I have read in a web page that one option is to change in the web service the type of the parameters but that is not an option.
    2.
    The WS returns a super big XML as answer, so how I can parse the result into an Object type?...
    The object structure is:
    TYPE opciones_obj AS OBJECT
    (strindice VARCHAR2 (4000),
    nombrecompleto VARCHAR2 (4000),
    nombre VARCHAR2 (4000),
    strtipodato VARCHAR2 (4000),
    codigoopcion NUMBER,
    floatval FLOAT,
    strtipo VARCHAR2 (4000),
    strval VARCHAR2 (4000));
    and the tags to extract is:
    COLUMNS strindice VARCHAR2 (4000)
    PATH 'ns2:mapEntry[ns2:key="strIndice"]/ns2:value',
    nombrecompleto VARCHAR2 (4000)
    PATH 'ns2:mapEntry[ns2:key="nombreCompleto"]/ns2:value',
    nombre VARCHAR2 (4000)
    PATH 'ns2:mapEntry[ns2:key="nombre"]/ns2:value',
    strtipodato VARCHAR2 (4000)
    PATH 'ns2:mapEntry[ns2:key="strTipoDato"]/ns2:value',
    codigoopcion NUMBER
    PATH 'ns2:mapEntry[ns2:key="codigoOpcion"]/ns2:value',
    floatval FLOAT
    PATH 'ns2:mapEntry[ns2:key="floatVal"]/ns2:value',
    strtipo VARCHAR2 (4000)
    PATH 'ns2:mapEntry[ns2:key="strTipo"]/ns2:value',
    strval VARCHAR2 (4000)
    PATH 'ns2:mapEntry[ns2:key="strVal"]/ns2:value') x;
    xquery / xmltype aparently is not an option because the xml is too big.
    I will appreciate your answers.
    Thanks.
    Edited by: user13058213 on 26-ene-2012 16:02

    i created jar file to call it from forms
    Could you be a little bit less vague about what you exactly did?
    Anyway; see here http://bit.ly/10VVoMR
    cheers

  • Calling Web Service from CRM using proxy

    Hi all,
    I'm facing a problem trying to call a web service from CRM (WAS 620) via XI 3.0. The response that XI recieves from the web service contains SOAP Envelope, and the mapping fails because of it. I built the proxy manually, because if I load WSDL the proxy generation in CRM generates error that sais that external definition coudn't be used.
    Is there any way to remove SOAP envelope from the response while mapping?
    Is it possible to call web service from WAS 620?
    Thanks!!!!
    Anya.

    Hi Manish,
    SOAP adapter does pass the message to XI (this message contains SOAP envelope although XI expects to get message without it), and during the mapping step i get "Runtime Exception in Message-Mapping transformatio~".
    I suppose it's because i created proxy manually. I did so because when i imported WSDL, and tried to generate proxy in CRM, i got an error message that said that proxy couldn't be generated because external definitions are only allowed in XI 3. But my XI version is 3.0! And when I generate the same proxy in my R/3 system that is installed on WAS 640, it works.
    What can I do?
    Cheers,
    Anya.

  • Is it possible to call web service from ABAP SAP 4.6 c..If yes how

    Hi Friends,
    Is it possible to call web service from ABAP-SAP 4.6 c..If yes Could you please let me know how.
    Thanks in Advance.
    Murali Krishna K
    Edited by: Murali Krishna Kakarla on Jan 26, 2008 7:09 PM
    Edited by: Murali Krishna Kakarla on Jan 26, 2008 7:11 PM

    Olivier CHRETIEN wrote:>
    > Hi Terry,
    >
    > So these function modules must use the SAPHTTPA RFC destination which uses the exe saphttp.exe ?
    >
    > How much abap code lines do you have for a web service call ?
    > Do you have to code the call specifically for each different web service ?
    > Are you able to use the WSDL ?
    >
    > Nice job if you have coded your own private SOAP runtime !
    >
    > But I don't think this is an easy solution for everybody...
    >
    > Regards,
    >
    > Olivier
    Yes, SAPHTTPA (runs on application server) and/or SAPHTTP (runs on front-end pc), one of which, is required for HTTP communication.  So far, nothing too elaborate as far as SOAP goes, but the logic is simplistic.  Here's some sample code:
      DEST = 'SAPHTTPA'.
      TRANSLATE HOST TO LOWER CASE.
      MYURL = 'wssrvTest/Service.asmx/GetByOrderItem'.
      CONCATENATE HOST MYURL INTO MYURL.
      REQUEST_HEADERS-DATA = 
                  'Content-type: application/x-www-form-urlencoded'.
      APPEND REQUEST_HEADERS.
      CLEAR REQUEST_HEADERS.
    *........Convert Order Number to External Format........................
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
           EXPORTING
                INPUT  = ORDER
           IMPORTING
                OUTPUT = ORDER.
    *........Convert Item Number to External Format.........................
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
           EXPORTING
                INPUT  = ITEM
           IMPORTING
                OUTPUT = ITEM.
    *........Convert Material Number to External Format.....................
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT'
           EXPORTING
                INPUT  = MATERIAL
           IMPORTING
                OUTPUT = MATERIAL.
      CONCATENATE 'sOrder=' ORDER
                   INTO REQUEST_BODY-DATA.
      APPEND REQUEST_BODY.
      CLEAR REQUEST_BODY.
      CONCATENATE '&sItem=' ITEM
                   INTO REQUEST_BODY-DATA.
      APPEND REQUEST_BODY.
      CLEAR REQUEST_BODY.
      CONCATENATE '&sMaterial=' MATERIAL
                  INTO REQUEST_BODY-DATA.
      APPEND REQUEST_BODY.
      CLEAR REQUEST_BODY.
      CALL FUNCTION 'HTTP_POST'
           EXPORTING
                ABSOLUTE_URI          = MYURL
                RFC_DESTINATION       = DEST
                BLANKSTOCRLF          = 'X'
           TABLES
                RESPONSE_ENTITY_BODY  = RESPONSE_BODY
                REQUEST_ENTITY_BODY   = REQUEST_BODY
                RESPONSE_HEADERS      = RESPONSE_HEADERS
                REQUEST_HEADERS       = REQUEST_HEADERS
           EXCEPTIONS
                CONNECT_FAILED        = 1
                TIMEOUT               = 2
                INTERNAL_ERROR        = 3
                TCPIP_ERROR           = 4
                DATA_ERROR            = 5
                SYSTEM_FAILURE        = 6
                COMMUNICATION_FAILURE = 7
                OTHERS                = 8.
      CHECK SY-SUBRC = 0.  "more appropriate msg goes here
      LOOP AT RESPONSE_BODY.
        IF RESPONSE_BODY+0(7) <> '<string' AND
           RESPONSE_BODY+0(8) <> '</string' AND
           RESPONSE_BODY+0(5) <> '<?xml'.
          SPLIT RESPONSE_BODY-DATA AT '=' INTO FIELD_NAME FIELD_VALUE.
          TRANSLATE FIELD_NAME TO UPPER CASE.
          CASE FIELD_NAME.
            WHEN 'HEIGHT'.
              HEIGHT = FIELD_VALUE.
            WHEN 'WIDTH'.
              WIDTH = FIELD_VALUE.
            WHEN 'LENGTH'.
              LENGTH = FIELD_VALUE.
            WHEN 'WEIGHT'.
              WEIGHT = FIELD_VALUE.
            WHEN 'QTY'.
              QTY = FIELD_VALUE.
          ENDCASE.
        ENDIF.
      ENDLOOP.
    Hope this helps...
    Terry
    Edited by: Terry West on Feb 4, 2008 3:08 PM

  • Calling web service in offline form.

    Hi,
    I m trying to call web service in offline form with java script.
    How can i pass request parameter? How can i get response?
    Is there a sample java script code to do it?
    Regards.

    >>I m trying to call web service in offline form with java script.
    after you create the webservice dataconnection, drag and drop the WS into layout area. it will create the input fields related to the request parameters and output textfileds corresponding to response parameters.
    >>How can i pass request parameter?
    using javascript, you can fill those inputfields with the values of request parameters and use the method xfa.connectionSet.WSName.execute(0) to invoke the webservice.
    >> How can i get response?
    After successful execution of webservice call, the response values will be populated in the response textfields.
    >>Is there a sample java script code to do it?
    you can see some of the docs:
    Understanding the Execute function in Adobe® LiveCycleu2122 Designer
    http://wiki.sdn.sap.com/wiki/display/EmTech/DependentDropDowns
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0d0a250-ccd1-2c10-9e9f-b9d5cf259a6d?quicklink=index&overridelayout=true
    regards,
    BJagdishwar.

Maybe you are looking for

  • Error with windows 7 bootcamp drivers

    Hello, I've installed Windows 7 via bootcamp and it's working fine, the only issue is that I don't have sound and I read that to get that I should install the drivers from my OS disc. The problem is that when I insert the disc and run the setup file,

  • "Error: PARM" in Illustrator CS4?

    Just loaded CS4 on Snow Leopard (legally) and I'm getting the following error when I try to re-size anything (using Command, Shift, drag): Bounding Box or Free Transform encountered an unknown error. Error: PARM This is making it really hard to get a

  • Classloading Issues

    Given 3 deployed ears within the same weblogic 8.1sp4 server instance we try to pass a result object from ear1 to ear3 via ear2 (ear2 is basically a "heavyweight" facade for ear1). -Ear1 -> Ear2 --> Ear3 ear2 and ear3 only know the interface implemen

  • Is there any IEC-bus Library in Java?

    I wonder if it is possible to use java to mange a device via IEC/IEEE bus?

  • T60 Fn key not working right

    T60/XPPRO... does not go directly to sleep mode with Fn-F4 combination.  Calls up Standby/Restart/turn off window instead.  I think it used to work right.