Collecting plug-in metrics using XML API from Perl?

Hi all,
We are building a plug-in to retrieve metrics over an XML API.
The QueryDescriptor of each metric will do a call to the Agent's Perl script. This Perl script will then do the actual XML API call, to retrieve the metric's values.
Does anyone have experience with this? We needed to install a few extra Perl modules from CPAN, to provide the high-level HTTP(s) communication. These modules are not in the Perl that’s used by the Oracle Agent, so I’m not sure if this is going to work when called by the Agent.
Did any of you use an XML API? Did you make this a prereq (installing modules) or is there an alternative solution?
Many thanks,
Ed

Thank you, Ash. I read the example quickly, and found (quoted)from the paper - "the Applet was designed as compact as possible in order to limit download time and to fit in a 50K jar file. The JAXP XML Parsing API package, including the SAX parser from SUN Project X (approximately 150K) is one of the smallest implementations we were able to use. It is, however, still too large to be downloaded for each session; therefore, it was installed locally to keep the download time as low as possible."
However, in my current design, I can not ask each customer to install the JAXP API locally, so it seems that the API needs to be downloaded during the run time (am I right?). So the same problem will occur as that stated in the paper - the jar file is still too large to be downloaded for each session. Is there any lightweight API to solve it?
BTW, as you might see, the paper was published in year 2000, I don't think the JDK plugin supported XML at that time, so it is quite reasonable to download JAXP API in that paper. But my current question is - as I posted in my previous message - whether the newest JDK plugin (JDK1.4) support Java XML API?
Many many thanks.
- Sun

Similar Messages

  • Can not use XML API from Sun (JAXP)

    Some of my EJBs and Servlets uses XML API from Sun (JAXP) but after deployment the J2EE Container uses its own XML engine (Oracle XML Parser....) instead.
    I try to add JAXP library to my deployment file and test again but this problem still occurred.
    My question is how to add my libraries to J2EE Container and these libraries can be shared by any applications.
    Regards,
    Narong

    Please post this in the misc or xml newsgroup.
    vipuld shah wrote:
    i have an application which is running through javaWebStart
    if u start the application first time(through clicking on
    link of .jnlp file), it will download necessary .jar files
    & it will store those files in javaWebStart's cache.
    when u will visit second time, it will check files in cache
    with the files in server, if both are same, then it will not
    download but will use from its cache.
    it works fine for .jar files, but is it possible for some .xml
    files which are changing very rarely.--
    Rajesh Mirchandani
    Developer Relations Engineer
    BEA Support

  • Using "XML Document from XML Schema" in JDeveloper

    Hi Experts,
    I have a requirement to generate XML Document from XML Schema.
    For this I have used "XML Document from XML Schema" feature in JDeveloper. It is found in File->New->General->XML Document form XML Schema.
    I have registered a schema with jdev and got an XML document output for that successfully.
    Now, I want to implement this feature in my code for generating XML documents when XSD files are provided.
    Can any one please provide me with pointers to do that? I am sure there should be some libraries which can implement this feature.
    Thanks,
    Dilbagh

    Create an XML document from a Schema with the Oracle SchemaClassGenerator.
    import oracle.xml.classgen.SchemaClassGenerator;
    XMLSchema schema=new XMLSchema();
    XSDBuilder builder = new XSDBuilder();
    URL    url =  new URL(schemaUrl);     
    schema = (XMLSchema)builder.build(url);
    SchemaClassGenerator generator = new SchemaClassGenerator();
    Generate the Java classes from the example XML Schema.
    generator.generate(schema);With the java classes construct an XML document.

  • [METASOLV XML AP]devolop JAVA client using XML API for metasolv application

    Hi All,
    I am new in this group, and I need to help me to develop a java client to communicate with metasolv application using XML API.
    I read "XML API Developer’s Reference" document, but I still not understand how can I setup the cllient.
    I still need:
    1- What API needed(jar files) I must use to build the client
    2- A sample of source code using java.
    3- detailed guide to communicate with metasolv application using XML API.
    Thanks&Best Regards
    RADOUANE Mohamed

    any help please!!!!

  • Using XML extraction from Oracle and XSLT data transformation

    Hi
    How can transfer data ie: Using XML extraction from Oracle and XSLT data transformation with java application?
    usually i use to do querying sql, getting data from table assinging to model class then send it to UI. how can i go for XML extraction form oracle?
    thanks

    Sorry, I don't understand what exactly you want to do. And I'm under the impression that you might not know exactly what you want to do as well. Could you explain a bit more detailed what you want to achieve?

  • Creating Job material using public API from WIP

    Take the entered component part number and search in the WIP job material requirements. This should use a WIP API. If the material is found, increment the quantity. If material is not found, create the job material using public API. (Provide WIP API details)
    The java object, oracle.apps.csd.schema.server .CsdHvWipJobPvtEO is a wrapper to call WIP API. This should be used to create material requirements is this the procedure to create job material Req.
    from OAF how we have to create Job material transaction

    Hi Pat,
    What is your SBO version? I've seen several cases in which the login/connection procedure (both in the client and via DI API) has become much slower after upgrading to SBO 2005.
    Do you experience the same slowness when connecting via DI API in a non-WebService setting?
    I would not recommend using DI API in a web service context in the first place. DI Server would give you a much more robust, stable and scalable infrastructure to build upon.
    Henry

  • Re-Using XML file from decode barcode + extract xml process

    I was hoping someone could put me in the right direction here. I am decodeing the information stored in a 2D Bar code and sending this information to an XML file, then I am trying to combine that xml file with a blank PDF template but the process is failing beacuse there are some additional tag fields the XML data from the  Decode->Extract XML process.
    The XML file from the decode process gives the structure below..notice therer some extra tags (lines 2- 4)
    <?xml version="1.0" encoding="UTF-8"?>
    <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/">
    <xfa:datasets>
    <xfa:data>
    <form1>
    The XML structure that is expected by the PDF template is as follows
    <?xml version="1.0" encoding="UTF-8"?>
    <form1>
    So the xml output of the Decode barcode + Extract XML process has three extra lines of tag. Is there a way I could use a process within liveCycle to clean out those three lines in real-time before sending the xml to be recombined with the PDF template.
    Thanks

    Hi,
    What you may do is to use the SetValue and its xpath builder functions to "serialize" the xml into string, "substring" to remove the extra tags, and "concat" to add the extra tags and then "deserialize" it again to an xml to be merged with your form.
    Greetings,
    Yasser

  • Why jdbc api ?why not use odbc api from java application?

    hi guys....am pretty confused abt these jdbc drivers...am unable to understand why we r using jdbc api when odbc api has been in market prior to jdbc.....please clarify my doubt

    chari wrote:
    hi guys....am pretty confused abt these jdbc drivers...am unable to understand why we r using jdbc api when odbc api has been in market prior to jdbc.....please clarify my doubtbecause jdbc is the way that java does it.
    use it or don't.
    C++ was in the market before java - why was java developed at all? cobol was in the market before C++ - why was C++ developed at all?
    %

  • How to use KeyChain API from client-side HTML scripting in Safari on iPad?

    I have a requirement where I need to add client-side scripting in an HTML page to be supported by Safari on iPad that creates a private / public key pair and that creates a CSR (Certificate Signing Request) in PKCS#10 or SPKAC format that can be sent to a certification authority server using form HTTP/POST that will then return the generated certificate.
    I initially thought that I could simply use the HTML 5 tag <keygen> which can do exactly what I need, but unfortunately this tag is not at all supported on mobile Apple devices like iPad or iPhone, so I have to look for another solution.
    I have noticed that the KeyChain tool should be available on iPad using the documented API, but I have no idea based on the documentation whether the API can be called from client-side HTML scripting on iPad.
    Question : is it technically possible using the functionalities and API's exposed on an iPad to implement what I just described in HTML client-side scripting? If so, do you have some links with useful information that can help me on my way?

    I have a requirement where I need to add client-side scripting in an HTML page to be supported by Safari on iPad that creates a private / public key pair and that creates a CSR (Certificate Signing Request) in PKCS#10 or SPKAC format that can be sent to a certification authority server using form HTTP/POST that will then return the generated certificate.
    I initially thought that I could simply use the HTML 5 tag <keygen> which can do exactly what I need, but unfortunately this tag is not at all supported on mobile Apple devices like iPad or iPhone, so I have to look for another solution.
    I have noticed that the KeyChain tool should be available on iPad using the documented API, but I have no idea based on the documentation whether the API can be called from client-side HTML scripting on iPad.
    Question : is it technically possible using the functionalities and API's exposed on an iPad to implement what I just described in HTML client-side scripting? If so, do you have some links with useful information that can help me on my way?

  • HT5239 Where can I get Apple FIPS Role guide for user so that I can use the APIs from my application

    I am trying to use Apple's FIPS certified crypto library's crypto APIs in my application to do the crypto operations. For that I was asked to refer the "Role Guide : User" in the nist document. But I couldn't find the same. Can I know where I can download the same.

    The OS X and iOS programming documentation is the Cryptographic Services Guide, and related manuals.
    AFAIK, what you're probably after is the Common Crypto stuff that's part of libSystem.  See man CC_crypto for some introductory details of that, and there's a sample program available.
    The devforums.apple.com developer forums and the developer.apple.com web site will be better resources for programming questions than are these ASC forums (and that includes my answer here!), and the Fed-Talk mailing list might be of interest for this question.
    Given the usual arc these security questions follow, I'd suggest ignoring what I've posted here and directly contacting the Apple Developer Technical Services (DTS) folks, and ask for formal help with this.  The folks I've worked with over the years that were looking for FIPS 140-2 crypto stuff and similar usually have a requirement for a paperwork trail involved, and that means direct contact with the vendor when you cannot local published formal statements.   Not unofficial stuff from random folks like me posted here in ASC.  (There's an Apple contact on that FIPS page, BTW.)

  • How to create folder inside User Meetings using XML API

    Hello,
    I have appreciative if some one help me on below task
         I have created on application for user meeting.
         In that I want dynamic folder creation as per user need or how to list folder that related to login user or say user session.
    Waiting for reply,
    Thanks,
    Gaurang Jadav
    Project Leader
    iFlair Web Technologies Pvt. Ltd.
    www.iFlair.com 
    US: +1-312-235-2876 UK: +44-020-7193-4712

    Hello buddy,
    https://yourdomain.na4.acrobat.com/api/xml?action=sco-update&type=folder&name=gaurang&url-path=gaurangfolder &folder-id=827379162&depth=1
    you need to change yourdomain & 827379162(folder id).
    Hope this will help you in further process
    Good luck
    Regrd,
    Gaurang Jadav

  • Calling DLL API from Perl script

    Hi, I'd developed a Perl script which calls NI Visa DLL API to search for available resources. I am calling NI VISA DLL function viFindRsrc() in my Perl. My script successfully finds all the resources I am looking for and completing its executuion. At the very end, I am getting windows exception showing something wrong in ntdll.dll. Please find attached snapshot of the same. Note that this exception is showing up only if I am calling viFindRsrc() in my script, else script is just working fine. Can you please let me know the reason on solution to remove this exception?
    Attachments:
    exception.JPG ‏53 KB

    The "POST" is needed because we are posting an XML document as part of the HTTP request.
    I actually just got this issue resolved though.  We had a hostname alias issue.
    So, for the record, the format of the URL I posted does work.  I tried it using the XacuteLoginName/XacuteLoginPassword and j_username/j_password and both ways seemed to work.
    Thanks,
    Mike

  • Web Target & XML API use

    Hello there,
    I am going to make process to create Lun on NetApp Simulator.
    I had NetApp simulator, NetApp SDK server up n running on my server ...i made web target as my SDK API server and my TEO also on same server..http://172.21.***.**:8088  << this is my target connection.
    1> i want to check : does my connection work succefully or not for that i created process "web HTTP request" but that was not hit my target...
    so, please anybody have information for creating web http request process..please share with me...i appreciate you....
    2> I also have one more question regrding to using XML API in the process....As i said i also want to make process to crete Lun on my simulator...
    so..does anybody have information that how to use this XML API in our process...
    I really appreciate for help...
    Regards,
    Krupesh Patel

    Hello Christopher.......
    Now this time i just want to do simple web service target ...i want to use web service execute activity with wsdl use...
    Here ..i created web target as http://www.weather.gov/
    My process is to execute the web service ..this is my Relative url : http://www.weather.gov/forecasts/xml/DWMLgen/wsdl/ndfdXML.wsdl in for web service execute activity as i show in the image..
    Now..i want to select method by veryfing the url but i didn't get success....and got error...i want to execute this service on the target and want weather according to zip code i get from method...
    please help...appreciate you for information....
    Here is that image :

  • Using APIs from other shema

    I need some special grant to use portal apis from other shema.
    I trying to use wwctx_api.get_user_id API of this way
    declare
    x number;
    begin
    x := portal30.wwctx_api.get_user_id();
    end;
    but dont work, because return this error
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "PORTAL30.WWCTX_SSO", line 562
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "PORTAL30.WWCTX_SSO", line 597
    ORA-06512: at "PORTAL30.WWCTX_API", line 82
    ORA-06512: at line 4
    null

    You need to run provsyns.sql. See the PDK on Portal Studio (PDK-PLSQL) for the download. It's also available on the iAS CD.

  • Any practical help about XML API for databases

    HI friends,
    I have a problem, i want to connect to my Database using JSP but by using XML api for database. I want to MAP my database tables, rows columns as xml elements to make it more flexible. Anyone who had practicaly worked on it, please help me out.
    I am waiting for a quick response.
    Thanks for any help in advance,
    Yours Truly,
    Khawaja Salman Sarfraz

    Some databases have a feature that allows you to output the result of a query as XML. But that's not standard SQL, and it probably varies from one DB to the next. Look up the documentation for your DB for more information.

Maybe you are looking for

  • ICloud Mail problems

    Hi, My Apple Mail program is just spinning on my iCloud mail and not pulling it in from the server, as it would usually do. Anyone know how to fix this?

  • How can I repair "an access violation has occurred"

    I found this message after you install the update of an audio software (Pro Tools 8.0.5) and after trying to listen to an audio recording "an access violation has occurred." In a later appeared to me the message "/ System / Library / Extensions / CDS

  • Interation between IBM CM MANAGER (Document management ) and Financial

    Hi,      We are in the process of implementing the middle ware. We have installed the 9iAS release 2 and its components. For integration we are using interconnect. We have oracle financials application and IBM applications, trying to integrate the IB

  • Export/Import between two separate SLD's

    Hello, We're facing the next issue. We want to move some single (custom created) Products with some single Software component versions (SWCVS) from 1 SLD (SLD1) to another SLD (SLD2) that are fysically separated. We do not want to create an export of

  • Call text element and command in smart forms

    Hi, I have create a smart form that have one text element and one command. The command is for do a page break. I have seen that you can call the smart form from a program doing: 1.-'SSF_FUNCTION_MODULE_NAME' 2.-call function fm_name That is not ok fo