FORMS6 - XML/DTD Sample Code???

Dear Sirs:
we are still developing FORMS 6 application. We would like to generate XML documents according to the definition contained in DTD files - a technology we still don't know.
Do You know whether sample PL/SQL code dealing with XML and DTDs is available somewhere?
Many Thanks
Cesare Brizio
Delta Informatica
[email protected]

Thank You for Your indications.
I will examine the documentation about the XML DEVELOPERS KIT.
I am not sure whether it works also with FORMS 6i, the elderly release we are still using. Presently, I must evaluate whether a viable FORMS 6i - based solution exists. If this is not the case, we will have to migrate to Forms 9i.
Thanks.

Similar Messages

  • Default XML element - Sample Code

    Hi,
    I am trying to use the sample code for the article "How to default an XML element in an XML document before inserting it into database".
    I am using database 9.2.0.3 and when I try to insert the record into the table, only up to "<Action>" part is inserted into the table and the rest of the XML document is truncated. I've tried inserting the record by disabling the trigger too - but it didn't help.
    Can someone please let me know what could be the problem? Thanks in advance.
    Regards,
    Jatinder

    Hi,
    Could you please tell me you have the queried the inserted record?
    I presume this happens when you issue the query from SQL*Plus to view the inserted record. Let me know if it is otherwise.
    Going by the same example used in the article, just do the following before you issue the query.
    -- you need to set the LONG environment variable to view the full contents in SQL*Plus.
    SQL> set long 20000
    SQL>SELECT VALUE(t) FROM purchaseorder t;
    Hope that helps.
    Savitha.

  • Request for sample code, Validating XML Schema

    Does anyone have some sample code to validate
    an XML Schema with the Oracle parser?
    Also, the classgen code seems to have more XML Schema classes in it. There is an xschema.jar full of XML Schema related code. Would it be possible to use this code?
    I've tried DOMSample.java with the v2 parser. It seems to happily echo Schema based XML files that are obviously wrong. (I use Tibco's XML Authority to verify the XML file and XML Schema).

    I do not have sample code but it is not a difficult API to call. I have worked on it before, so if you have a specific question on it, happy to help out if I can.

  • Any sample code on XML parsing

    Hi,
    I am writing an application that has to read and to generate XML (using schemas). Unfortuantely, I cannot find any sample code on how to do it using the Oracle supplied libraries (packages oracle.xml.* . Can anyone point me to some sample code, documentation or alternative?
    Thanks a lot!

    Hello Bert,
    I didnt get your question very clearly.
    1) Do you want to generate XML using Java classes based on XSD?
    or
    2) You want to parse XML that has a XSD specified with it?
    For both these thing, we have sample codes. For the first option, there are Class Generators that does this for you. There are some samples provided with the XDK download. Look into the folder <xdk_home>xdk\demo\java\classgen.
    For option 2, there are many samples on OTN itself. To name one.... AQSample downloaded from http://otn.oracle.com/sample_code/tech/dataint/content.html.
    There is a sample with the JDK download also. The folder is <xdk_home>\xdk\demo\java\schema
    Hope this helps.

  • How to insert XML/dtd data into oracle db

    Hi,
    I have posted this question on couple
    sites and unfortunately I haven't received
    any response. Hopefully this time,
    someone can at least direct me to the
    website/document/sample codes which can provide me solutions of my question.
    My question is:
    Given a DTD, can the XML SQL Utility generate
    the database schema?
    I am trying to find out how the XML data can
    be loaded into the oracle database.
    Thanks in advance,
    Judy
    null

    A DTD does not contain enough information to do a good job at creating a database schema. It contains no datatype information, no field length information for starters, so a table created by a hypothetical DTD->to->Tables utility would be at best able to create a table with all VARCHAR2(4000) columns. Not that useful.
    My book contains lots of examples of techniques for loading XML data into Oracle, include lots of sample code and a whole chapter devoted to building a flexible "XMLLoader" utility for loading XML of arbitrary size into the database.
    Steve Muench
    Development Lead, Oracle XSQL Pages Framework
    Lead Product Manager for BC4J and Lead XML Evangelist, Oracle Corp
    Author, Building Oracle XML Applications
    null

  • Pleasee Help , URGENTT , Need sample code

    We should upload Sales Order XML File into OA Tables everyday .
    As I am very new to XML I request to give complete sample code ( giving just the logic needs time to understand, very urgent..)
    The current XML File can have mutilpe one sales order and each sales order can have many lines .Each line can have multiple taxes.
    Pls give the sample Code which you think is the best approach.
    I have used xpath(may not be right)
    I want to insert Parent Node / Child Node / Grand Child Done as one set of data.
    I used Xpath syntax , when I give the Parent node path in for loop, it inserts all parent nodes data at one time into the table , similarly all child nodes at one time .
    So I am unable to link grand child record with child record and parent record.
    To be specific , I am unable to trace these are the tax records for this line from this order.
    I have used xpath. I have loaded the xml file into table with clob variable
    l_OrderRequest_nodelist := xslprocessor.selectNodes(xmldom.makeNode(l_doc), '/Recordset');
    FOR rec IN 0 .. xmldom.getlength(l_OrderRequest_nodelist) -1 loop l_OrderRequest_node := xmldom.item(l_OrderRequest_nodelist,
    rec);
    end loop;
    we are not validating Sales order XML File with DTD or XSD .
    Please give sample code for parent / child /grandchild .
    Below is the sample file.
    - <Recordset>
    - <Header dueDate="2007-01-17T16:09:05" orderDate="2004-01-17" orderID="0009" transactionID="1389" type="new">
    <KeyIndex>2</KeyIndex>
    - <BillTo>
    - <Address addressID="5619" isoCountryCode="US">
    <Name>fMat</Name>
    - <PostalAddress name="default">
    <Street>34545</Street>
    <City>dfgfg</City>
    <State>AZ</State>
    <PostalCode>85086-1693</PostalCode>
    <County>Maricopa</County>
    <Country>US</Country>
    </PostalAddress>
    <Email name="default">[email protected]</Email>
    </Address>
    </BillTo>
    <PromotionCode />
    - <SubTotal>
    <Money currency="USD">32.49</Money>
    </SubTotal>
    - <Tax>
    <Money currency="USD">2.32</Money>
    <Description />
    </Tax>
    - <Shipping>
    <Money currency="USD">8.95</Money>
    <Description />
    </Shipping>
    </Header>
    - <Detail lineNumber="1" quantity="1">
    - <ItemDetail>
    - <UnitPrice>
    <Money currency="USD">29.99</Money>
    </UnitPrice>
    <ShortName>Little;reg; pxxxx® Learning System</ShortName>
    </ItemDetail>
    - <Tax>
    <Money currency="USD">1.68</Money>
    <Description />
    - <TaxDetail category="sales">
    - <TaxAmount>
    <Money currency="USD">1.68</Money>
    </TaxAmount>
    <TaxLocation>AZ</TaxLocation>
    </TaxDetail>
    </Tax>
    </Detail>
    - <Detail lineNumber="2" quantity="1">
    - <ItemDetail>
    - <UnitPrice>
    <Money currency="USD">29.99</Money>
    </UnitPrice>
    <ShortName>Little;reg; pxxxx® Learning System</ShortName>
    </ItemDetail>
    - <Tax>
    <Money currency="USD">1.68</Money>
    <Description />
    - <TaxDetail category="sales">
    - <TaxAmount>
    <Money currency="USD">1.68</Money>
    </TaxAmount>
    <TaxLocation>AZ</TaxLocation>
    </TaxDetail>
    </Tax>
    - <Tax>
    <Money currency="USD">0.68</Money>
    <Description />
    - <TaxDetail category="sales">
    - <TaxAmount>
    <Money currency="USD">0.68</Money>
    </TaxAmount>
    <TaxLocation>DISTRICT</TaxLocation>
    </TaxDetail>
    </Tax>
    </Detail>
    </Recordset>
    We are working on Oracle9i Enterprise Edition Release 9.2.0.6.0
    Thanks in Adv
    Kal

    Hi
    here is a quick demo:
    DATA: a,b, result(10).
    IF a IS Initial.
      Result = 'yes'.
    ELSEIF NOT a IS Initial AND NOT b is initial.
      Result = 'no'.
    Else.
    RESULT = 'abc'.
    ENDIF.

  • Report Engine SDK sample code questions

    Hello,
    I've been able to view a boxi report in an iframe via the Enterprise SDK by modifying the sample code in the HowToViewWebiReports_VB example.
    I'm not totally happy with the way that's working, so I'm looking at using the Report Engine SDK, although I understand it's performance and scalability isn't quite as good as the Enterprise SDK.
    I'm a VB.NET guy, not a C# guy, and I'm not clear on how the wssdk_net2.0_portal_sample_12.0_en example is supposed to work.
    I don't have one and my CMS server is running Tomcat, not IIS so there's not going to be an ASP.NET web service running there.
    In the dsws.config for the wssdk_net2.0_portal_sample_12.0_en example I put the name of the CMS server, but it's looking for a web service at http://cmsservername:8080/dswsbobje/services/Session, but I get a 404 when i try to hit that. 
    I'm not familiar with Tomcat, but in searching around on the server, I see a dswsbobje directory under the webapps in my Tomcat installation, but I don't see a services or a Session folder underneath that.  In the dswsbobje folder I see the following folders:
    BOAR-INF
    META-INF
    WEB-INF
    xsd
    Is there something else that needs to be installed on the Tomcat server to get the web service running?
    -Eric

    It looks like I have something there.  When I launch launch http://servername:8080/dswsbobje,  I see:
    Apache-AXIS
    Hello! Welcome to Apache-Axis.
    What do you want to do today?
    Validate the local installation's configuration
    see below if this does not work.
    To enable the disabled features, uncomment the appropriate declarations in WEB-INF/web.xml in the webapplication and restart it.
    Validating Axis
    If the "happyaxis" validation page displays an exception instead of a status page, the likely cause is that you have multiple XML parsers in your classpath. Clean up your classpath by eliminating extraneous parsers.
    I clicked on the "Validate" link and I see:
    Axis Happiness Page
    Examining webapp configuration
    QaaWS Configuration
    QaaWS Servlet is not valid.
    ErrorServer servername not found or server may be down
    See Web Application log to get more info or read QaaWS v2 documentation starting with section
    Perhaps this environment needs some additional configuration?

  • Need Sample code to upload the data to Application Server

    Hi ,
    I need to upload the data to application server.
    The output should be an XML file.
    Can anybody send me sample code for this.
    Reward points are assured.
    Best Regards
    Bhagat.

    may be this code wil help ,first to downjload the XML fine -
    1)
    REPORT  zhr_test2_tk.
    TYPE-POOLS: ixml.
    TYPES: BEGIN OF xml_line,
            data(256) TYPE x,
           END OF xml_line.
    DATA: l_ixml            TYPE REF TO if_ixml,
          l_streamfactory   TYPE REF TO if_ixml_stream_factory,
          l_ostream         TYPE REF TO if_ixml_ostream,
          l_renderer        TYPE REF TO if_ixml_renderer,
          l_document        TYPE REF TO if_ixml_document.
    DATA: l_element_position TYPE REF TO if_ixml_element,
          l_element_title    TYPE REF TO if_ixml_element,
           l_element_flight  TYPE REF TO if_ixml_element,
           l_element_from    TYPE REF TO if_ixml_element,
           l_element_to      TYPE REF TO if_ixml_element,
            l_element_dummy   TYPE REF TO if_ixml_element,
             l_value           TYPE string.
    DATA: l_xml_table       TYPE TABLE OF xml_line,
          l_xml_size        TYPE i,
          l_rc              TYPE i.
    DATA: lt_erec TYPE TABLE OF hrp5126,
          l_erec TYPE hrp5126.
    DATA: date(10),
          time(4),
          filepath TYPE string.
    CONSTANTS: filedir TYPE string VALUE 'C:\tmp\',
               filename TYPE string VALUE 'ZHR_test'.
    START-OF-SELECTION.
    fill internal table
      SELECT * FROM hrp5126 INTO TABLE lt_erec.
    Start filling xml DOM object from internal table lt_erec.
      LOOP AT lt_erec INTO l_erec.
    *Create the root node 'position'
        IF sy-tabix EQ 1.
        create an ixml factory
          l_ixml = cl_ixml=>create( ).
        create Document Object Model
          l_document = l_ixml->create_document( ).
       Fill root node with value 'position'
          l_element_position = l_document->create_simple_element(
                         name   = 'position'
                         parent = l_document ).
        ENDIF.
        IF sy-tabix GT 1.
        create element jobtitle as child of position
          l_value = l_erec-jobtitle.
          l_element_title = l_document->create_simple_element(
                             name   = 'job_title'
                             parent = l_element_position
                             value  = l_value ).
          l_value = l_erec-empl_start_date.
          l_element_dummy = l_document->create_simple_element(
                             name   = 'StartDate'
                             parent = l_element_title
                             value  = l_value ).
          l_value = l_erec-empl_end_date.
          l_element_dummy = l_document->create_simple_element(
                             name   = 'EndDate'
                             parent = l_element_title
                             value  = l_value ).
        ENDIF.
      ENDLOOP.
      IF sy-subrc NE 0.
        WRITE: 'No data in table hrp5125'.
      ENDIF.
    create a stream factory
      l_streamfactory = l_ixml->create_stream_factory( ).
    connect internal XML table to streamfactory
      l_ostream = l_streamfactory->create_ostream_itable(
                      table = l_xml_table ).
    render the document
      l_renderer = l_ixml->create_renderer( ostream  = l_ostream
                                            document = l_document ).
      l_rc = l_renderer->render( ).
    Get time and date
      WRITE sy-uzeit2(2) TO time2(2).
      WRITE sy-uzeit0(2) TO time0(2).
      WRITE sy-datum4(2) TO date0(2).
      WRITE sy-datum6(2) TO date2(2).
      WRITE sy-datum0(4) TO date4(4).
    *Build filename with date and time reference
    CONCATENATE filedir filename date time '.xml' INTO filepath.
    <i>* This is the code I hope to modify in order to save the xml structure on the application server, with a specified filepath.</i>
    <b>  OPEN DATASET filepath FOR OUTPUT IN BINARY MODE.
      LOOP AT lt_erec into l_erec.
        TRANSFER  l_erec TO filepath.
      ENDLOOP.
      CLOSE DATASET filepath.</b>
    save XML document
      l_xml_size = l_ostream->get_num_written_raw( ).
    *This is the code for download to local computer
    CALL METHOD cl_gui_frontend_services=>gui_download
       EXPORTING
         bin_filesize            = l_xml_size
         filename                = filepath
         filetype                = 'BIN'
       CHANGING
         data_tab                = l_xml_table
       EXCEPTIONS
         file_write_error        = 1
         no_batch                = 2
         gui_refuse_filetransfer = 3
         invalid_type            = 4
         no_authority            = 5
         unknown_error           = 6
         header_not_allowed      = 7
         separator_not_allowed   = 8
         filesize_not_allowed    = 9
         header_too_long         = 10
         dp_error_create         = 11
         dp_error_send           = 12
         dp_error_write          = 13
         unknown_dp_error        = 14
         access_denied           = 15
         dp_out_of_memory        = 16
         disk_full               = 17
         dp_timeout              = 18
         file_not_found          = 19
         dataprovider_exception  = 20
         control_flush_error     = 21
         OTHERS                  = 22.
    IF sy-subrc <> 0.
       MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
               WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    2) uploading tht PC XML file to APPliaction server -
    DATA rec like QISRS_XML_LINE.
    OPEN DATASET filepath FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
    LOOP AT l_xml_table into rec.
    TRANSFER rec TO filepath.
    ENDLOOP.
    CLOSE DATASET filepath.

  • XML/DTD to be converted to XSD

    Hi ,
    I have requirement that i am getting xml file as input which i need to read through inbound file adaptor and write another delimited file.
    The challenge i am facing is i am not able to transmit xml file to xsd file trough native format builder.
    Can you please provide solution for generating xsd file for xml files.
    Note: There is format type called "DTD to be converted to XSD" under native format builder wizard.Is it like that first we need to convert xml to DTD then XSD?
    If so can you please geve me small example of demonstrating these steps,because whenever i try with sample dtd file i am getting error: "No element found in DTD Specified"
    My sample file "note.dtd" is <?xml version="1.0"?>
    <!DOCTYPE note [
    <!ELEMENT note (to,from,heading,body)>
    <!ELEMENT to (#PCDATA)>
    <!ELEMENT from (#PCDATA)>
    <!ELEMENT heading (#PCDATA)>
    <!ELEMENT body (#PCDATA)>
    ]>
    <note>
    <to>Tove</to>
    <from>Jani</from>
    <heading>Reminder</heading>
    <body>Don't forget me this weekend</body>
    </note>
    Thanks in advance.

    U can use Document Editor tool to convert XML file to DTD. The steps are
    File-->Import-->Chose DTD from XML file option and give ur file as input-->It will convert ur XML file into ECS file-->File-->Export-->select XML DTD option and this will convert the ECS file to DTD file
    U can use BPEL to convert DTD file to XSD. The steps are
    Tools-->Convert DTD to XSD and give ur DTD file as Input-->It will convert ur DTD file to XSD file
    I hope it will help.
    Thanks,
    Saravana
    Edited by: user10635261 on Nov 20, 2008 9:41 AM

  • Forms 6i sample code

    i download forms6i samplecode and i have oracle 8i rel 2 every thing installing will
    except that when i impot koow.dmp they say
    IMP-00008: unrecognized statement in the export file
    is that bug in sample code ???????

    I was having the same problem. Check the version of the imp80.exe. If I remember right we were using the importer for 8.0.5 (had your problem) and the one for 8.1.5 was different.
    Dan
    null

  • Problems with using sample code for WebService client

    Hi <br /><br />Ive downloaded the sample code from the Adobe <br />website but when i run the client i get an error which i dont understand:<br /><br />client side:<br />ERROR: java.lang.NullPointerException<br />AxisFault<br /> faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException<br /> faultSubcode: <br /> faultString: java.lang.NullPointerException<br /> faultActor: <br /> faultNode: <br /> faultDetail: <br />     {http://xml.apache.org/axis/}hostname:GRFNZTS1SRV<br /><br />java.lang.NullPointerException<br />     at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)<br />     at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)<br />     at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:10 87)<br />     at weblogic.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1411)<br />     at weblogic.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:16 13)<br />     at weblogic.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumen tScanner.java:1174)<br />     at weblogic.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:399 )<br />     at weblogic.apache.xerces.framework.XMLParser.parse(XMLParser.java:1138)<br />     at weblogic.xml.jaxp.WebLogicXMLReader.parse(WebLogicXMLReader.java:135)<br />     at weblogic.xml.jaxp.RegistryXMLReader.parse(RegistryXMLReader.java:133)<br />     at javax.xml.parsers.SAXParser.parse(Unknown Source)<br />     at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)<br />     at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)<br />     at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)<br />     at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62) <br />     at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)<br />     at org.apache.axis.client.Call.invokeEngine(Call.java:2784)<br />     at org.apache.axis.client.Call.invoke(Call.java:2767)<br />     at org.apache.axis.client.Call.invoke(Call.java:2443)<br />     at org.apache.axis.client.Call.invoke(Call.java:2366)<br />     at org.apache.axis.client.Call.invoke(Call.java:1812)<br />     at com.adobe.livecycle.samples.pdfgenerator.axis.PdfGenSoapBindingStub.getConfigurationXML(P dfGenSoapBindingStub.java:373)<br />     at com.adobe.livecycle.samples.pdfgenerator.webserviceclient.WebServiceClient.generatePDF(We bServiceClient.java:174)<br />     at com.adobe.livecycle.samples.pdfgenerator.webserviceclient.WebServiceClient.main(WebServic eClient.java:95)<br /><br />and on the server side:<br /><Error> <com.adobe.idp.um.businesslogic.authentication.AuthenticationManagerBean> <000000> <UserM:GENERIC_ERROR:     [Thread: ExecuteThread: '58' for queue: 'default', hc: 735284715 ]No Auth Providers found > <br /><Sep 17, 2007 8:27:43 PM IDT> <Warning> <com.adobe.idp.common.errors.exception.IDPLoggedException> <000000> <UserM:GENERIC_WARNING:     [Thread: ExecuteThread: '58' for queue: 'default', hc: 735284715 ]| [AuthenticationManagerBean] errorCode:12801 errorCodeHEX:0x3201 message:No Auth Providers found in Config>

    i get this exception
    C:\Program Files\JMF2.1.1e\bin\video>javac FrameAccess.java
    C:\Program Files\JMF2.1.1e\bin\video>java FrameAccess C:\Program Files\JMF2.1.1e
    \bin\video\gtrevor.avi
    Failed to create a processor from the given url: javax.media.NoProcessorExceptio
    n: Cannot find a Processor for: C:\Program
    how to solve it

  • Sample code for offline PDF forms submit to workflow

    Hi,
    I have a XDP form which needs to be submitted offline by the user. So i have saved the XDP as dynamic PDF. On submit of this PDF the code flows to the servlet. I am getting the following error:
    "com.adobe.formServer.interfaces.ProcessFormSubmissionException: RequestBuffer not specified at com.adobe.formServer.client.EJBClient.processFormSubmission(EJBClient.java:454) at samples.triggerworkflow.servlet.ProcessFormServlet.doPost(ProcessFormServlet.java:54) at samples.triggerworkflow.servlet.ProcessFormServlet.doGet(ProcessFormServlet.java:28) at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:237) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) at.... "
    Finally i need to trigger the workflow from the servlet.
    Please help me fix this error. Pleas eprovide a sample code if you have.
    My servelt code is:
    package samples.triggerworkflow.servlet;
    import java.io.IOException;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import com.adobe.formServer.client.*;
    import com.adobe.formServer.interfaces.*;
    import com.adobe.idp.*;
    import com.adobe.workflow.client.*;
    import com.adobe.workflow.manager.*;
    import samples.util.*;
    * @version 1.0
    * @author
    public class ProcessFormServlet extends HttpServlet implements Servlet {
    private static String failedHTML = "Process Invocation Failed. See Log";
    * @see javax.servlet.http.HttpServlet#void (javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    public void doGet(HttpServletRequest req, HttpServletResponse resp)
    throws ServletException, IOException {
    doPost(req, resp);
    * @see javax.servlet.http.HttpServlet#void (javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    public void doPost(HttpServletRequest req, HttpServletResponse resp)
    throws ServletException, IOException {
    EJBClient formServer = new EJBClient(Util.getInitContext(getServletContext()));
    IOutputContext form = null;
    try {
    IOutputContext outputContext =formServer.processFormSubmission(req,"OutputType=0");
    // Determine the content type -- make sure it is text/xml
    String ct = outputContext.getContentType();
    if ((ct.equals("text/xml"))||(ct.equals("application/vnd.adobe.xdp+xml")))
    // Get the length of the output stream
    int outLength = outputContext.getOutputContent().length;
    // Create a byte array and allocate outLength bytes
    byte[] formOutput = new byte[outLength];
    // Populate the byte array by invoking getOutputContext
    formOutput = outputContext.getOutputContent();
    System.out.println("coming in post 5555***********");
    } catch (ProcessFormSubmissionException e1) {
    System.out.println("coming in exception 123***********");
    e1.printStackTrace(resp.getWriter());
    return;
    String returnHtml = triggerWorkflow(form);
    resp.setContentType("text/html");
    resp.setContentLength(returnHtml.length());
    resp.getWriter().print(returnHtml);
    private String triggerWorkflow(IOutputContext form) {
    System.out.println("coming in triggerWorkflow 1111***********");
    QLCSession session = null;
    String html = null;
    try {
    System.out.println("coming in try of triggerWorkflow 2222***********");
    session = QLCSessionFactory.createSession("Localhost");
    Context wkfContext = session.login("administrator", "password");
    session.setContext(wkfContext);
    System.out.println("coming in try of triggerWorkflow 3333***********");
    ProcessManager manager = session.getProcessManager();
    System.out.println("coming in try of triggerWorkflow 4444***********");
    manager.setContext

    Figured out how to set an event parameter in the function:
        CALL METHOD event_container->set
          EXPORTING
            name                          = 'Item'
            value                         = wa_eban-bnfpo

  • Correction for Nested XML Data Sample

    I found an error in the sample code on the
    Nested
    XML Data Sample under "Using Nested Data Sets." Line 8 has
    var dsToppings = new Spry.Data.NestedXMLDataSet(dsItems1,
    "toppings");, but it should be
    var dsToppings = new Spry.Data.NestedXMLDataSet(dsItems1,
    "topping"); in order to match the XML file.
    Another suggestion for us newbies would be to have the
    samples start with a comment about any additional scripts we need
    to insert into our files. It took me a long time to realize I
    needed to include
    <script type="text/javascript"
    src="scripts/SpryNestedXMLDataSet.js"></script> with
    the others in the head.
    Thanks for your work!
    Jonathan

    Hi Jonathan,
    Thanks for catching that. I corrected the doc and the change
    will appear when we release 1.5.
    Also, regarding <script> includes sample, yes, we
    should definitely be doing that.
    Thanks!!!
    --== Kin ==--

  • Error in compiling Berkeley xml database sample...

    hi,
    I try a sample code found in "Apress- The Definitive Guide to Berkeley DB XML"
    here is the code:
    #include <iostream>
    #include "dbxml\DbXml.hpp"
    using namespace std;
    using namespace DbXml;
    int tmain(int argc, TCHAR* argv[])
         XmlManager myManager;
         try
              XmlContainer myContainer =
                   myManager.openContainer("Customers.dbxml");
         catch (XmlException &xe)
              cout << xe.what() << endl;
         return 0;
    and it gives me this errors...
    Error     1     error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall DbXml::XmlManager::~XmlManager(void)" (__imp_??1XmlManager@DbXml@@QAE@XZ) referenced in function __catch$_wmain$0     BerkeleyDemo.obj     
    Error     2     error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall DbXml::XmlContainer::~XmlContainer(void)" (__imp_??1XmlContainer@DbXml@@QAE@XZ) referenced in function _wmain     BerkeleyDemo.obj     
    Error     3     error LNK2019: unresolved external symbol "__declspec(dllimport) public: class DbXml::XmlContainer __thiscall DbXml::XmlManager::openContainer(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_?openContainer@XmlManager@DbXml@@QAE?AVXmlContainer@2@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) referenced in function _wmain     BerkeleyDemo.obj     
    Error     4     error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall DbXml::XmlManager::XmlManager(void)" (__imp_??0XmlManager@DbXml@@QAE@XZ) referenced in function _wmain     BerkeleyDemo.obj     
    Error     5     fatal error LNK1120: 4 unresolved externals     
    What am I doing wrong??BTW my OS is window Vista...is Vista compatible to berkeley db xml??

    I added all the required path in m references path but still it give me that error
    This is all that I've included in my reference
    C:\Program Files\Oracle\Berkeley DB XML 2.3.10\bin
    C:\Program Files\Oracle\Berkeley DB XML 2.3.10\xerces-c-src\src\xercesc
    C:\Program Files\Oracle\Berkeley DB XML 2.3.10\db-4.5.20\build_windows
    C:\Program Files\Oracle\Berkeley DB XML 2.3.10\include
    C:\Program Files\Oracle\Berkeley DB XML 2.3.10\include\dbxml
    and it gives this error...
    Error     1     error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall DbXml::XmlManager::~XmlManager(void)" (__imp_??1XmlManager@DbXml@@QAE@XZ)     BerkeleyDemo.obj     
    Error     2     error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall DbXml::XmlContainer::~XmlContainer(void)" (__imp_??1XmlContainer@DbXml@@QAE@XZ)     BerkeleyDemo.obj     
    Error     3     error LNK2001: unresolved external symbol "__declspec(dllimport) public: class DbXml::XmlContainer __thiscall DbXml::XmlManager::openContainer(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_?openContainer@XmlManager@DbXml@@QAE?AVXmlContainer@2@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)     BerkeleyDemo.obj     
    Error     4     error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall DbXml::XmlManager::XmlManager(void)" (__imp_??0XmlManager@DbXml@@QAE@XZ)     BerkeleyDemo.obj     
    Error     5     fatal error LNK1120: 4 unresolved externals     C:\Users\angel\Documents\Visual Studio 2005\Projects\BerkeleyDemo\Debug\BerkeleyDemo.exe
    Message was edited by:
    user582959

  • ARB PHP Sample Code SOAP Exception

    Hello Everybody
    I m using ARB PHP Sample Code.
    I m using it as it is provided with my login id and transaction key
    I m using PHP 5.2 version
    I m quite new to SOAP.
    Everything seems fine but the script is throwing following exception.
    SoapFault exception: [soap:Client] Server was unable to read request.
    ---> There is an error in XML document (2, 584). ---> Input string was
    not in a correct format. in /mysite//php_arb/PHP/
    api_authorize_net_soap_v1.php:1869 Stack trace: #0 /mysite//php_arb/
    PHP/api_authorize_net_soap_v1.php(1869): SoapClient-
    >__soapCall('ARBCreateSubscr...', Array) #1 /mysite//php_arb/PHP/
    subscription_create.php(24): AuthorizeNetWS-
    >ARBCreateSubscription(Object(ARBCreateSubscription)) #2
    May i please have some help on how to resolve this and get the code
    working for me?
    I m trying to trace out the issue but my efforts are in vain.
    I look forward to recieve some help from everybody in this group
    Pls reply
    Thanking You in advance

    Hello Devster,
    Thank you to post your question on TechNet forum.
    After reviewing the whole post, I have a question to you. You can access the report via the link, http://myServer/Reports_DEVPROJECT/Pages/Report.aspx?ItemPath=%2fData+Mgmt%2fSample+Letter.
    From the URL, I can see that the report is located at: /Data Mgmt/Sample Letter, instead of /DataMgmt/Sample Letter. In addition, I found that the target report is "/DataMgmt/Sample HAP Letter" instead of "/DataMgmt/Sample Letter" as the error described. I
    am not sure whether you post out the correct code segment.
    Please check the above things on your side, and hope it is helpful to you.
    Regards,
    Edward
    Edward Zhu
    TechNet Community Support

Maybe you are looking for

  • How to load .BBB file on windows 7?

    Basically my freind made a backup for my phone in is Mac and sent me that document through email. when i came home and tried opening the email, it wont open ? i would basically like to know how to see my contacts that have been saved in there because

  • Blocked invoices for SRM PO

    Dear All I have requirement in that i need to create blocked invoices for SRM PO's . I have created a PO in SRM portal . Now the invoice need to be done at R3 side but i am not aware how i can create a invoice for the SRM PO's . Any one help me on th

  • How to open framemaker files

    Hello All, I am looking for any kind of viewer to view adobe framemaker files. Have some old files which I want either convert them to pdf or view it some kind of open source packages, if someone know let me know the names. Thanks for your time and h

  • Idoc number have status  is   51     Error: Application document not posted

    hi friend i have error in idoc number status  51     Error: Application document not posted. basic type is  ORDERS05   Purchasing/Sales what i do for solve this issue with regards dinesh Edited by: code acess on Feb 9, 2011 4:35 AM

  • Help! Dreamweaver CS6 bug makes code disappear!

    I manage a dozen or so very stable websites in DW. Yesterday when I went to edit one, all the text was gone! I was able to workaround by pasting fresh text in Design mode from the web page. Today it's happening with another site. Both these sites hav