Submit pdf to web service as xml

I want to do the following:
a) Create a pdf form that the user can fill out and save using their laptop.
b) The user goes back to the office, opens the pdf, and clicks a submit button.
c) The submit button contacts a web service (that I will write) and submits the xml from the pdf so that the information they filled in gets submitted to my web service. From there I will do whatever I need to with the xml, I just need to get it there.
Here are my questions:
1) It looks like I can do this using Acrobat Pro by clicking the "Extend Features in Adobe Reader". Is this true or do I need LiveCycle?
2) Is their a white paper, tutorial, or some sample code that someone can point me to? This sounds very simple but I'm having difficulty finding any documentation that actually describes the process that's not 5 years old.
TIA,
Greg

If you are only going to use the Reader Enablement features available when using Acrobat (and NOT LiveCycle), then you can ONLY post data (XML or otherwise) to a server via standard HTTP POST. SOAP support is ONLY enabled for Reader when using LiveCycle...

Similar Messages

  • [ANN] Databases, Portals, Web Services, and XML Integration Magic (Boston, July 29)

    Recently added to DCI's Corporate and e-Business Portals
    Conference:
    Databases, Portals, Web Services, and XML Integration Magic
    When: July 29, 2001, 9:00 AM - 5:00 PM
    Where: Hynes Convention Center, Boston
    http://www.dci.com/brochure/porbos/seminars.asp

    Recently added to DCI's Corporate and e-Business Portals
    Conference:
    Databases, Portals, Web Services, and XML Integration Magic
    When: July 29, 2001, 9:00 AM - 5:00 PM
    Where: Hynes Convention Center, Boston
    http://www.dci.com/brochure/porbos/seminars.asp

  • Error while consuming Web Service (returning XML ) in ABAP

    Hi,
    i am trying to consume a web service in ABAP. ( webservice which takes a request and return a XML string back).
    I created a proxy class in SE80. and i tested it successfully.
    When i tried to use the class in my program, it is giving dump.
    i am not sure what is the problem. I guess it is not able to handle null values in XML.if that is the case. how to handle it..

    The dump says:
    Runtime Errors         OBJECTS_OBJREF_NOT_ASSIGNED
    Except.                CX_SY_REF_IS_INITIAL      
    Error analysis                                                              
        An exception occurred that is explained in detail below.                
        The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not
         caught and                                                             
        therefore caused a runtime error.                                       
        The reason for the exception is:                                        
        You attempted to use a 'NULL' object reference (points to 'nothing')    
        access a component (variable: "LO_CLIENTPROXY").                        
        An object reference must point to an object (an instance of a class)    
        before it can be used to access components.                             
        Either the reference was never set or it was set to 'NULL' using the    
        CLEAR statement.                                                        
    I think this dump is because of the default value ( space) in some elements. How to avoide that.
    wheni catch CX_SY_REF_IS_INITIAL it is not giving any dump. But this is not my requirement. Because it is not getting anything into  response string.

  • PL SQL Web Service with XML output - Remove the declaration from the proces

    Using JDeveloper to create PL/SQL web services it inserts the generic declaration
    <?xml version="1.0" encoding="UTF-8" ?>. I want to remove this line from the payload.
    Here is the entire payload. Why is this inserted and how do I get rid of it.
    <?xml version="1.0" encoding="UTF-8" ?>
    - <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    - <SOAP-ENV:Body>
    - <SOAP-ENV:Fault>
    <faultcode>SOAP-ENV:Server.Exception:</faultcode>
    <faultstring>java.sql.SQLException: java.sql.SQLException: ORA-04068: existing state of packages has been discarded ORA-04063: package body "FDC_API.PVR_IPS_TICKET" has errors ORA-06508: PL/SQL: could not find program unit being called ORA-06512: at line 1</faultstring>
    <faultactor>/pvr_ora-pvr_tickets-context-root/Pvr2ips</faultactor>
    </SOAP-ENV:Fault>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>rvice, my payload has the

    We can generate jaxws from 11.1.2.0 onwards using This is now provided by the TopLink web service provider builder, which can be via the TopLink DBWS provider wizard from JDeveloper since the 11.1.2.0.0 release
    1.4.4 Database Web Services (DBWS)
    http://docs.oracle.com/cd/E23943_01/doc.1111/e26045/general.htm#CHDIEEHG
    Hope that heps
    Regards,
    Sunil P

  • Web Service Task - XML Task - values are empty while trying to read from XPATH. Can someone help me on this ?

    Hi,
    I have to fetch Emp details (emp code, last name, first name ...etc) from a WSDL.
    for this i have created HTTP connection -> created Web Service Task -> created XML Tasks for those emp code, last name, first name ... etc for each -> set a
    breakpoint over post execution -> verified & found that the variables are blank though my
    results variable has some XML data generated.
    please see some screenshots as below & suggest me how to get is succeed & put the values in database table:

    Thanks a lot in advance !!! :) 
    best regards,
    Venkat

  • Web Service: XMLUnmarshalException: XML Deserialization Error

    Hi,
    I am trying to use a complex web structure in web service.
    I am simply trying to display some data from that web service in my view.
    I am getting the foll error:
    <b>
    Service call exception; nested exception is:
         com.sap.engine.services.webservices.jaxrpc.exceptions.XmlUnmarshalException: XML Deserialization Error. XML is not valid. Element [http://www.siebel.com/xml/Account Interface]<Account> is required in <SiebelMessage> but can not be found.[Ljava.lang.StackTraceElement;@2fe4e7
    </b>
    I have gone thru most of the posts but they all have XMLMarshalException and not XMLUnmarshalException.
    Any inputs please?
    Regards,
    Dev

    Hi Bala,
    I tried your suggestion but that did not work!
    I am not trying to test that web service via WSNavigator.
    Problem is my service does not come there once i deploy it.
    I am a newbie to WebServices so please correct me where am I wrong in these steps:
    1. I create a Deployable Proxy Project
    2. Then, i create a new Client Proxy Definition
    3. I enter pkg name, Proxy name, choose Local System. Then i give the WSDL location and finally press Finish.
    (It has created several files including ClientAPI.jar)
    4. Lastly, i chose Build EAR and deployed it.
    But i cannot see my web service in that list!
    Can you please help me in checking the request-response cycle for this web service.
    Regards,
    Dev

  • Creating a web service - editing xml

    does anyone know how to alter the values returned by a web service before the xml is returned to the caller?
    What I mean by this is, I have a web service that returns data. If the data field has not been populated it simply passes back the field with its initial state e.g. space for char and zero for numeric  etc.
    Is it possible to alter these values so that the outbound return xml would contain null  pointers in these cases. e.g. xsi:nil
    For web service consumption the controller table allows ABAP to handle xsi:nil as the xml comes into the ABAP environment. Is there a similar protocol or class for the outbound/Web service that exists in SAP?
    I can't find and user exits or BADI's in this area, but then again this is really on the boundary of the ABAP environment.
    Any help would be appreciated.
    Thanks,
    Alan

    If you have never done this before the best place to start is the axis user guide:
    http://ws.apache.org/axis/java/user-guide.html
    Work through the examples there and then google for examples of using WSDL2Java (there are many out there). This will generate client side classes for you and make things a bit easier.
    C

  • Calling Web Service passing xml from Oracle Forms

    Hello,
    I need to call a .net web service from Oracle Forms that passes in xml data and returns xml data.
    I have seen several examples of how to create a wrapper in jdev and then to import the code
    into forms. I just have not seen any examples that are passing parmameters especially not xml
    as a parameter and that have an active wsdl that I can see how it relates to the code created.
    I have a wrapper but cannot figure out where and what notation to use to include passing in
    an xml object.
    Does anyone have an example passing in xml where the wsdl is still available to see?'
    Forms version 10.1.2.0.2. Jdev 10.1.3.4
    Thanks,
    Linda
    Edited by: lboyce on Jan 5, 2009 2:30 PM

    Also here you have several options...
    1. you can make a PJC (bean) which include a webservice stub generated with axis (you can make a stub and also test a webservice with this tool: www.soapui.org)..
    2. you can make a database webservice with JPublisher and then just call a pl/sql wrapper for this webservice
    4. you can call a webservice with java api (HttpsURLConnection, HttpURLConnection or with apache HTTPClient api) from your PJC for example:
    the code below is used as java stored procedure to call a .net webservice on https
    ====================================
    public static int getPStopnja(String polica, String reg_oznaka,
    String ime_osiguranika,
    String naziv_osiguranika,
    String leasing,
    String[] doc) {
    String l_polica="";
    String l_reg_oznaka="";
    String l_ime_osiguranika="";
    String l_naziv_osiguranika="";
    String l_leasing ="";
    URL url = null;
    HttpsURLConnection conn = null;
    BufferedReader br = null;
    String lineIn = null;
    StringBuffer sb = new StringBuffer();
    OutputStream os = null;
    int rc = 0;
    //kontrole
    l_polica = polica==null ? "":polica;
    l_reg_oznaka = reg_oznaka==null ? "": reg_oznaka;
    l_ime_osiguranika = ime_osiguranika==null ? "": ime_osiguranika;
    l_naziv_osiguranika = naziv_osiguranika==null ? "": naziv_osiguranika;
    l_leasing = leasing==null ? "": leasing;
    String body = "&lt;?xml version=\"1.0\" encoding=\"utf-8\"?&gt;";
    body += "&lt;soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:web=\"https://services.huo.hr/web_ao/\"&gt;";
    body += "&lt;soapenv:Header/&gt;";
    body += "&lt;soapenv:Body&gt;";
    body += "&lt;web:get_pstupanj&gt;";
    body += "&lt;web:param_in&gt;";
    body += "&lt;web:polica&gt;"+l_polica+"&lt;/web:polica&gt;";
    body += "&lt;web:reg_oznaka&gt;"+l_reg_oznaka+"&lt;/web:reg_oznaka&gt;";
    body += "&lt;web:ime_osiguranika&gt;"+l_ime_osiguranika+"&lt;/web:ime_osiguranika&gt;";
    body += "&lt;web:naziv_osiguranika&gt;"+l_naziv_osiguranika+"&lt;/web:naziv_osiguranika&gt;";
    body += "&lt;web:leasing&gt;"+l_leasing+"&lt;/web:leasing&gt;";
    body += "&lt;/web:param_in&gt;";
    body += "&lt;/web:get_pstupanj&gt;";
    body += "&lt;/soapenv:Body&gt;";
    body += "&lt;/soapenv:Envelope&gt;";
    SSLContext sslContext = null;
    try {
    sslContext = SSLContext.getInstance("TLS");
    X509TrustManager[] xtmArray = new X509TrustManager[|http://forums.oracle.com/forums/] { xtm };
    sslContext.init(null, xtmArray, new java.security.SecureRandom());
    } catch (GeneralSecurityException gse) {
    doc[0] = gse.toString();
    return -1;
    if (sslContext != null) {
    conn.setDefaultSSLSocketFactory(sslContext.getSocketFactory());
    try {
    conn.setDefaultHostnameVerifier(hnv);
    } catch (Exception ex) {
    doc[0] = ex.toString();
    return -1;
    try {
    URL st = new URL("https://services.huo.hr/web_ao/web_ao.asmx");
    conn = (HttpsURLConnection)st.openConnection();
    conn.setRequestMethod("POST");
    conn.setRequestProperty("Host", "services.huo.hr");
    conn.setRequestProperty("Content-Length", "" + body.length());
    conn.setRequestProperty("SOAPAction",
    "\"https://services.huo.hr/web_ao/get_pstupanj\"");
    conn.setRequestProperty("Content-Type", "text/xml;charset=UTF-8");
    conn.setDoOutput(true);
    OutputStreamWriter wr =
    new OutputStreamWriter(conn.getOutputStream());
    wr.write(body);
    wr.flush();
    BufferedReader in =
    new BufferedReader(new InputStreamReader(conn.getInputStream()));
    String inputLine;
    while ((inputLine = in.readLine()) != null) {
    sb.append(new String(inputLine.getBytes(),"UTF-8"));
    in.close();
    //System.out.println(new String(sb.toString().getBytes(),"ISO8559_2"));
    doc[0] = sb.toString();
    return 0;
    } catch (Exception e) {
    doc[0] = e.toString() + " ===&gt; " + body + " ==&gt;length= " + body.length();
    return -1;
    ====================================
    best regards
    Edited by: Peterv6i on Jan 6, 2009 8:34 AM
    Edited by: Peterv6i on Jan 6, 2009 8:40 AM

  • Error 504 DNS look up failed while calling web services using XML

    Hi, I am trying to call web service from Oracle using XML.
    Everything seems to be in place but im getting an error "The webserver for <My End URL> reported that an error occurred while trying to access the website. Please click here to return to the previous page."
    If I directly access the end url from my browser its accessible and seems to work fine.
    The http response receiveed is mentioned below:
    Status code: 403
    Reason phrase: Forbidden
    <html>
    <head>
    <title>504 DNS look up failed</title>
    </head>
    <body>
    <font size=2><table width="100%"><tr><td bgcolor=#3300cc align="center" colspan=2>504 DNS look up failed</td></tr></table><br><br>The webserver for 'My End URL' reported that an error occurred while trying to access the website. Please click <u>here</u> to return to the previous page.<br><br><hr></font></body>
    </html>
    Im using Oracle 9i
    Please help
    Edited by: 927814 on Apr 15, 2012 11:41 PM
    Edited by: 927814 on Apr 15, 2012 11:46 PM

    Without far greater details as to what you are doing, what you have installed, and what you have tried, not much can be offered. All that I can gather from the information you provided is that the server name you are trying to contact either is not responding or is invalid. If you have Forms installed on your local machine (for example using Developer Suite), try using localhost rather than the hostname. For example, http://localhost:port/forms/frmservlet?form=yourform
    http://www.checkupdown.com/status/E504.html

  • ABAP Proxy viewing of historical web service posts - XML files

    Hi there
    I have developed a web service that posts via an ABAP proxy.  The webservice posts successfully.  Where do I see the historical XML files of the posts of my executed webservices?
    Kind Regards
    Gustav Coleske

    Hello Torsten,
    It seems that the Web Service You are going to consume is a SOAP 1.2 one.
    It is apparently making use of the so-called "SOAP Web Method Feature" which is part of the SOAP 1.2 specification (see [Web Method Feature (W3C)|http://www.w3.org/TR/soap12-part2/#WebMethodFeature]).
    Unfortunately, SOAP 1.2 is, to the best of my knowledge, not supported as yet by the SOAP Adapter in SAP NW 7.0 / 7.1. That leaves You, in theory, with one of the following options:
    - It might be possible to consume that service with the help of Axis framework (see [Using the Axis Framework in the SOAP Adapter|http://help.sap.com/saphelp_nw04/helpdata/en/45/a4f8bbdfdc0d36e10000000a114a6b/frameset.htm]). SAP Help states that with the help of the Axis framework SOAP 1.2 can be used. However, there are no further details on that subject, especially whether Web Method feature can be utilised (btw - has anyone tried this?).
    - Ask service provider for a SOAP 1.1-compatible WSDL.
    - Attempt to reverse engineer the SAP SOAP proxy so that it is capable of consuming a SOAP 1.2 Web Method-based web service (has anyone done this before?).
    Would You be so kind to post whether, and how, You were able to consume this web service?
    Kind regards
    Wiktor Nyckowski

  • Web service security: XML signatures and encryption

    Hi users -
    I am trying to figure out how to implement XML signatures and encryption for my web service.  We are only on AS ABAP 7.0, SP 11 - we do not have SOAMANAGER yet.  Yet all documentation I can find on configuring encryption and signatures, references SOAMANAGER.
    Does anyone know of a guide anywhere on implementing XML signatures and encryption for web services pre-SOAMANAGER?  It's listed as supported - but I can't find a thing! Your help is much appreciated!
    Thanks so much!
    Abby

    Hi Users -
    I found the answer to this (although it wasn't one I liked.) It doesn't appear that encryption with XML signatures is supported prior to SP 14.
    I found this information at
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6d19c8ee-0c01-0010-619d-92af980436d7
    page 36
    Hope that saves somebody else some time...
    Thanks!
    Abby

  • Data entry form to submit to a web Service using webcenter

    Currently using Jdev 11.1.1.3, but have potential to upgrade to 11.1.1.4 or 5
    Most examples I see in the docs is using web services in webcenter is to display data but I need to pass data to a web service to process the data.
    Considering ways to show on a webcenter page a data entry form to send the entered data to a web service. Potential ways:
    1. Use Omniportlet that is based on a web service and define for each of the fields a parameter mapped to a displayed field. Submit the data to the web service to be processed.
    2. Use ADF syntax to create a web service proxy. Create a form with the needed fields, code a managed bean that uses the proxy code to submit the entered data in the form. Place the form on the webCenter page, but the webcenter already have a <af:form>, so a partialSubmit and autoSubmit set to "true" might be needed.
    Haven't used either and would greatly appreciate ideas and suggestions.
    Thanks

    With the omniportlet, you'll also have to test the form and so on :)
    My suggestion is indead an extra step but it is more flexible than just creation a DC from a WSDL. I already have done some implementation in Webcenter for web services and i started by just using the DC from a WSDL but soon i noticed that i needed more flexibility. That's why i suggest to create a proxy and create your own layer in front of it. This way you can easily control what you expose to your DC and do some initializations were needed. It offers a great deal of flexibility. That's why i suggest using the proxy + dc instead of wsdl + dc.
    When you should decide for migrating to Webcenter PS3, you can even expose datacontrols to your resource catalog. This way you can create your DC in JDeveloper and allow the business users to put the data controls on the page. a realy nice feature.

  • Problem accessing web service: unexpected XML tag

    Hi,
    I access a web service with SOAP 1.2 via HTTP 1.1. I used wsimport on the WSDL to generate the stubs (I only use Java 6).
    The web service is a php-Script running on a web server (maybe delegates this in the background, I have no access nor intimate knowledge of the server). This script provides both the WSDL (via GET) and the service (via POST). When I use my generated client I always end up with the same exception:
    Exception in thread "main" com.sun.xml.ws.streaming.XMLStreamReaderException: unexpected XML tag. expected: {http://www.w3.org/2003/05/soap-envelope}Envelope but found: {http://schemas.xmlsoap.org/wsdl/}definitions
         at com.sun.xml.ws.streaming.XMLStreamReaderUtil.verifyTag(XMLStreamReaderUtil.java:203)
         at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:186)
         at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:163)
         at com.sun.xml.ws.encoding.StreamSOAPCodec.decode(StreamSOAPCodec.java:135)
         at com.sun.xml.ws.encoding.SOAPBindingCodec.decode(SOAPBindingCodec.java:294)
         at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:173)
         at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:88)
         at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:595)
         at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:554)
         at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:539)
         at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:436)
         at com.sun.xml.ws.client.Stub.process(Stub.java:248)
         at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:134)
         at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:244)
         at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:224)
         at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:117)
         at $Proxy45.hello(Unknown Source)
         at client.Client.main(Client.java:37)The exception occurs in the line with the first use of a service method. Somehow the service seems to issue a GET rather than a POST and ends up requesting the WSDL file which generates parsing errors.
    So the code looks something like this:
    Service service = new Service();
    ServicePort port = service.getServicePort();
    port.soSomething(); // <- exceptionThe conversation is SSL encrypted so I can't look at the conversation in Wireshark or similar tools. Maybe there is a problem because the same URL is used for both WSDL and SOAP?

    My apologies. It was a server problem.

  • Web Service Return XML

    Hello,
    I am trying to build a chart using web services.
    I have a function like this
    private function
    dataRequestResultHandler(event:ResultEvent):void {
    myData = event.result as String;
    myXMLData = new XML(myData);
    In the dataProvider
    I am calling like this
    <mx:LineChart name="visitors" dataProvider="{myData}"
    id="chart" height="265" width="300">
    <mx:horizontalAxis>
    <mx:CategoryAxis dataProvider="{myData}"
    categoryField="name" />
    </mx:horizontalAxis>
    However when I run the code, it gives error
    faultcode: nosuchclientmethod
    faultstring:couldn't find 'send' in service 'faultDetail
    "null"
    Any help is highly appreciable.
    Thanks

    Have you seen this video: http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/adf-service-integ/adf-service-integ.html
    It explains how to integrate web services into your ADF applications.  There are also some pretty good tutorials here: Oracle JDeveloper 11g Release 2 (11.1.2) Tutorials
    One thing that will make the job easier is to create an XML schema for your returned data - the service provider may be able to give you an .XSD file for it, or you could download some typical results and JDeveloper can generate an XML Schema from XML.  If you generate your schema, be sure to edit it and improve what the generator does - no generator is as good as human intelligence. (at least not yet )  Of course, if this is a SOAP web service, it will probably come with a WSDL which includes the XSD.

  • Web Service Request Xml

    Hi,
    I have an web service deployed. I wanted to write a client which will show me an sample request xml for any particular operation. Is there any way by that we can generate the request xml by querying the WSDL file.
    Thanks.

    I have used XML BEANS option for generating client in my webservvices. In that there is
    System.err.println(document.xmlText()); which is basically a request Object for calling stub.
    Any way there should be option to get XML text in most of the clients (client types).
    Secondly for knowledge purpose if you want that XML then you may even try with default test utility provided in ECLIPSE.

Maybe you are looking for