Which Api..?

Hello everyone, as a newbie in xml, I would like your help :)
I would like to create an application, that allows a user to create/modify/save an xml file that follows a specific w3c xml-schema,not dtd (although if it gets much easier with dtd i will probably use that in the end). The user should be able to see the tree structure of the xml and to be able to navigate through it [in one frame(left)] and fill in values to the fields that he wants(e.g. add in the xml that "david" is the 'author') [in a second frame(right)]. Ideally, this should run on a web server, so that the user can create/modify/save the xml by visiting a webpage.
The procedure to do so (the way i have it in my mind right now) is this:
1)somehow parse my xml-sxhema and create a tree(?) data structure (on the memory(?)) that contains all the empty fields
2)present this structure to the user
3)when the user clicks on an a tree item [left frame], that has fields that can be filled, then I must find out(how?) which are these fields and present them to the user, to fill them in[right frame].
I have been searching on the subject on the web the last few days, but got myself really confused. I am not sure which API to use e.g. JAXB, JAXP, DOM, JDOM, SAX etc.Since random access of the xml is needed, will I need to create java classes that manipulate the xml file or a simple parser will be fine?
Which one would you recommend me to use and why? Please enlighten me :)
Thanx in advance, your help is greatlly appreciated!
-Orestis

The Price_Request procedure in the QP_PREQ_PUB package is the pricing engine API that is available for public use. However, you need to prepare data before and for calling this API. Here is a proposed structure
Qp_Attr_Mapping_Pub.Build_Contexts
...here you build the various data records (E.g. LINE_TBL_TYPE, CONTROL_RECORD_TYPE etc..)
QP_PREQ_PUB.PRICE_REQUEST -- to compute the price
I suggest you look at the price_line and price_order apis that order management uses. While these are not public apis, they will give you a sense for how to call the pricing engine.
Hope this helps.
Thanks.
Kannan

Similar Messages

  • Which API can use to save PDF document with Adobe Reader 9?

    Hello,
        which API can use to save PDF document with Adobe Reader 9? It is said that "CosDocSaveWithParams" can't be used.
    thanks!
    jimmy

    Unless the PDF file is "READER ENABLED for SAVE" (see the adobe product pages on LiveCycle Reader extensions server)
    You are not able to call a Save at all, if the document is reader enabled then you need to use the JavaScript call to save the document,
    As you appear to be wanting to do this in a plug-in you would need to call the script from a plug-in, this can be done using the AFExecuteThisScript () function call.
    Please note that this does will fail if the document is not reader enabled for save and you need to include the Forms HFT in your plug-in,
    This plug-in would also have to be approved by Adobe to be used with the reader and as you are implementing a function that is available in the full Acrobat product this may not be a straight forward approval.
    HTH
    Malky

  • Which API can be used to write to an XML file(web.xml) programmatically

    Hi,
    I wish to write to the web.xml file programmatically.Could anyone point me to the
    API that is to be used.
    I am aware of the API to be used for extracting the node and the tag values - com.bea.p13n.xml.util.DomHelper
    but this class has only getters and I wish to know which API should be used to set
    the xml nodes.
    It is important and am looking forward to pointers.
    Thanks in advance!
    Regards,
    Shikha

    S. Bajaj
    org.w3c.dom Api
    Deepak
    shikha wrote:
    Hi,
    I wish to write to the web.xml file programmatically.Could anyone point me to the
    API that is to be used.
    I am aware of the API to be used for extracting the node and the tag values - com.bea.p13n.xml.util.DomHelper
    but this class has only getters and I wish to know which API should be used to set
    the xml nodes.
    I am unable to find answer to this.
    Looking forward to pointers and help.
    Thanks in advance!
    Regards,
    Shikha

  • Which API updates employee info

    Hi,
    we are working in oracle applications 11i
    I need update /add existing employee info in PER_ALL_PEOPLE_F table . Especially EMAIL_ADDRESS column. I can see that we add or update email address from Office Details Tab in People -> Enter and Maintain form.
    So which API can I use to update employee emails???
    thank you...

    Hi,
    this is a sample of updating Person API:
    hr_person_api.update_person
    (p_validate => FALSE
    ,p_effective_date => TRUNC(SYSDATE)
    ,p_datetrack_update_mode => 'CORRECTION'
    ,p_person_id => l_person_id
    ,p_object_version_number => l_object_version_number
    ,p_national_identifier => lcursor.national_id
    ,p_employee_number => l_employee_number
    ,p_effective_start_date => l_effective_start_date
    ,p_effective_end_date => l_effective_end_date
    ,p_full_name => l_full_name
    ,p_comment_id => l_comment_id
    ,p_name_combination_warning => l_name_combination_warning
    ,p_assign_payroll_warning => l_assign_payroll_warning
    ,p_orig_hire_warning => l_orig_hire_warning
    regards,
    taha

  • Which API is invoked by coherence when a object meets it's expiry interval

    Hi,
    Need an Information about which API is invoked by Coherence Internally when an cached object meets it's expiry delay time or interval?
    Will Coherence invokes CacheFactory. releaseCache(NamedCache map) API or CacheFactory.destroyCache()?
    We need this details because we see increase in size(byte) of object and count as 0 in our JMX stats. expiry-delay is 10 sec.

    Hi Jonathan,
    Thanks a lot for the response. We've observed that cached objects size shrinks and it's sporadic and for expired cache objects we see increase in size of the object. We are using following code to calculate size of cache object in bytes.
    import com.vladium.utils.ObjectProfiler;
         * Returns the size of near cache
         * @param cache
         * @return size of near cache
         int getSizeInBytes(){
    NamedCache cache = CacheFactory.getCache(cacheName);
              return ObjectProfiler.sizeof(((NearCache) cache)
              .getFrontMap());
         }

  • Which API should i use... ???

    I want to store an image into databse. Which API is used for this purpose.

    JDBC. There's a forum for that too if you have more specific questions about it.

  • Which API for Additional Assignment Details?

    Hi All
    I have two segments for the Additional Assignment Details DFF, first 'Mobile Provided' and second 'Food Allowance'. For this i want to pass 'yes' or 'no' for the employees.
    Which API I can use for this?
    Regards
    Rahman

    Use the 'hr_assignment_api.update_emp_asg' API and pass the values for the DFF in the attributes depending on the attributes you choose while registering a DFF...
    Ex:
    p_ass_attribute1 => 'Mobile Provided',
    p_ass_attribute2 => 'Food Allowance'
    Best Regards
    Arun Kumar S.R
    Apps Associates

  • Which API need to call to update oracle database

    Hi,
    Does anybody know which APIs should be called in which order to update the oracle database base on the payroll run result conducted by 3rd party payment system?
    reply to [email protected] will be highly appreciated!
    Thankss

    Hi,
    Sorry for misleading. The scenario is client only install HR, payroll be run by third party system . they need me to handle the backfeed the payroll data to oracle system. Can I use API to do that ? What is the whole procedure?
    Thanks a lot for help me out!
    S

  • Can I use api which API docs doesn't describe

    I have a simple question.
    WebLogic 7.0 has many classes which aren't explained in API Docs.
    Can I use them?
    For example "weblogic.servlet.internal.*" and so on.
    Regards,

    Technically speaking, I don't think anything could stop from using
    public methods of this package as long as the classes are in classpath
    and so you can.
    Vimala
    Yuji Sakata wrote:
    I have a simple question.
    WebLogic 7.0 has many classes which aren't explained in API Docs.
    Can I use them?
    For example "weblogic.servlet.internal.*" and so on.
    Regards,

  • Which API for jdk1.4

    i have jdk 1.4 installed on my system..which version of Java Mail API will work best? also, how to set the path after installation..
    thanks....

    My suggestion is get the latest one 1.3. The package contains the README.txt file. Read that for setup.
    Hope this helps.

  • Which API to update supplier site VAT registration number?

    I am using the AP_VENDOR_PUB_PKG.Create_Vendor_SITE API call to populate the VAT_REGISTRATION_NUM field, whcih then appears as the "Default Reporting Registration Number" under the Tax Details page of the supplier screens.
    Unfortunately the call to AP_VENDOR_PUB_PKG.Update_Vendor_Site does not seem to update the value in this field even though I am passing a new VAT_REGISTRATION_NUM value into the API. Does anybody know of any other API I could use to update this field?

    Hi,
    I'm also facing similar kind of problem when I'm trying to update VAT_CODE through this API,it's not updating.Colud you please share how you had fixed this if so.
    Thanks,
    Abhilash

  • External Operations: which API?

    Hi all..
    I have a console application that uses the Server API and I'd like to run it as an external operation. However, as I look into it, it appears that the job must run on the automation server... will the server API still work? I'm guessing not... seems to just hang when attempting a Reconnect().
    OK, so maybe I can use the PRC... but what value do I use for the first argument in GetTokenContext()? the URI endpoint... ????
    What's the best reference for writing external operations? Can't seem to find anything via plumtree.com searching... :(Jesse

    Your post partially answered my question. I am looking into using the PRC Collab Java API (to add calendar tasks programmatically) and want to know if that could be called as an external operation. It would probably be possible if the latest version edk.jar with the Collaboration API was on the Automation Portal Server. We have Automation Portal 5.0.4 installed and it comes with ans older version of the EDK.jar.
    Any comments and recommendations on on the best method way to accomplish what I am trying to do?
    Thanks.
    Vanita------- HP SupportTeamLux wrote on 8/18/04 4:20 AM -------
    Hi Jesse,
    I'm also doing a console application that uses the PRC and is called as an external operation.
    For the URI endpoint, I specify a URL in the application.config file. It contains the URL to the Plumtree Web Services, usually like http://portalserver/ptapi/QueryInterfaceAPI.asmx. Forthe second parameter, the login token, I use what the external operation passes me as parameter (). Works nicely...
    HTH, Fred

  • Which API to get Annotation Authoer information?

    Hi, I read through the API document but I cannot find an API to extract the Author information.
    I can find PDAnnotGetTititle, PDAnnotGetSubType, PDAnnotGetDate.
    Is there a PDAnnotGetAuthor?

    If there isn't a direct API, get the Cos object, and use the Cos API
    to get the dictionary entries. The PDF Reference will tell you what
    keys are used to store specific items.
    Aandi Inston

  • Which API is recomanded -SOAP JAXM communication

    Hi,
    There are two implementation of SOAP APIs
    1) import javax.xml.soap.SOAPEnvelope;
    2) import org.apache.soap.Envelope;
    Do both have same functionalities ?
    DO both can send attachments ?
    What's the different??what's the purpose of having two packages
    Thanks for your time

    My understanding is that the SOAP protocol/specification comes from W3C. Both Sun and Apache have released their own implementations of this specification. Hence, you have 2 different packages.
    As to their respective adherence and peformance differences, I don't have an answer for you.

  • On which API the JVM is based

    Well I am new to Java, but I am a .NET developer. I am sure that .NET is a wrapper for the WinAPI32 on Windows, but what about Java? Is the Java VM also a wrapper for the WinAPI running on Windows or is it built up by different technolgies. If it is not a wrapper, can you tell how lots of Java Apps look like native XP apps ( I speak about the e.g. Control Center for Java).
    What about the difference between Swing and SWT?
    I am looking forward to hearing from you?

    Wow! Big respect to Sun Microsystems for the fast
    answers! It is great!Sun Microsytems had nothing to do with the content of the replies. I don't work for Sun. Jschell doesn't work for Sun (at least I don't think he does).
    We are Java developers who volunteer our time to answer questions here. You will rarely if ever run into Sun employees in these forums.
    The
    VM is written in C++ if that is what your question
    is. Really? The VM is written in C++! This would be maybe
    a quite silly question but: Most C++ compilers are
    written in C++, why not to write the Java interpreter
    or JVM in Java? Why did you use C++ instead of the
    assembler or better machine code?As indicated above "i" didn't do this. I suspect jschell can give you a clearer reason for this decision so I will just leave it there.
    >
    >
    Here another question: Is there a RAD IDE for Java
    like Visual Studio, where I can find a designer likeThere are a large number of Java IDE's with a variety of features. Many are free (open source etc) and some you pay for (but often get free trials).
    If you search this forum you will find this topic is discussed ad nauseaum. I would suggest looking at a couple and seeing if the feature set and interfaces are what you are looking for.
    As a start (just suggestions)look at Eclipse and Netbeans.

Maybe you are looking for