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 :

Similar Messages

  • UCS XML API - clarification on values

    Hey folks,
    I look through the XML API used to query the UCS manager. Where can I get the possible values of a particular attribute?
    Let me rephrase,
    Consider I am querying for 'equipmentChassis' with <configResolveClass cookie="cookie" response="yes" classId="equipmentChassis">
    I got a value as follows
    <equipmentChassis adminState="acknowledged"  configState="ok" connPath="A,B" connStatus="A,B" dn="sys/chassis-1" fabricEpDn="fabric/server/chassis-1" fltAggr="0" fsmDescr="" fsmPrev="nop" fsmProgr="100" fsmRmtInvErrCode="none" fsmRmtInvErrDescr="" fsmRmtInvRslt="" fsmStageDescr="" fsmStamp="never" fsmStatus="nop" fsmTry="0" id="1" lcTs="1970-01-01T01:00:00.000" licState="license-ok" managingInst="A" model="N20-C6508" operQualifier="" operState="operable" operability="operable" power="ok" presence="unknown" revision="0"  serial="1"  thermal="unknown" vendor="Cisco Systems Inc" versionHolder="yes"/>
    Lets take the attribute licState, we got a value 'license-ok', what are all the possible values I can get in that place? Do Cisco provide any key guides for this? I searched, I am sorry I might have missed something.
    Thanks

    There are a few options here that occur to me:
    Go to either the web interface of one of your UCSMs or the emulator with something like:
       http:///visore.html  or https:///visore.html
    traverse the objects or search for what you want and follow the '?' link to the right of the Class name.
    You could also try to find what you need here: http://www.cisco.com/en/US/docs/unified_computing/ucs/sw/api/VScgIX.html

  • XML API Authentication Fails

    Trying to set up the XML API on an ASR 9K and find myself unable to authenticate with the XML API using Netcat.
    I've configured the box as below:
    Building configuration...
    !! IOS XR Configuration 5.1.2
    !! Last configuration change at Wed Apr 15 07:19:42 2015 by root
    username xml
    group sysadmin
    secret 5 $1$LY8B$39t3eTXf/ajMGWnX99.ux0
    password 7 07182E414C080D1657
    aaa authorization exec default group tacacs+ local
    interface MgmtEth0/RSP0/CPU0/0
    ipv4 address 10.2.100.1 255.255.0.0
    interface MgmtEth0/RSP0/CPU0/1
    shutdown
    interface TenGigE0/0/2/0
    shutdown
    interface TenGigE0/0/2/1
    shutdown
    interface TenGigE0/0/2/2
    shutdown
    interface TenGigE0/0/2/3
    shutdown
    router static
    address-family ipv4 unicast
    0.0.0.0/0 10.2.0.1
    ssh server v2
    xml agent ssl
    xml agent tty
    xml agent
    iteration on size 100
    end
    and RP/0/RSP0/CPU0:ios# xml echo Wed Apr 15 07:27:10.765 UTC XML>
    I've got two test users, root:root and xml, both of which I can connect to using SSH though the XML interface seems to reject them - using nc:
    alexanderturner@Alexanders-MacBook-Pro~/Downloads> nc -v 10.2.100.1 38751
    found 0 associations
    found 1 connections:
    1: flags=82<CONNECTED,PREFERRED>
    outif en0
    src 10.0.1.40 port 61066
    dst 10.2.100.1 port 38751
    rank info not available
    TCP aux info available
    Connection to 10.2.100.1 port 38751 [tcp/*] succeeded!
    User Access Verification
    Username: root
    Password: root
    User Access Verification
    Is this not authing against local?
    Thanks,
    Alex

    hey alex,
    it is likely failing tacacs author because of this line:
    aaa authorization exec default group tacacs+ local
    as long as the tacacs server is available, it will try against him and if that user doesnt exist in tacacs, it will fail that shell author.
    revise config to:
    aaa authentication login default local
    aaa authorization exec default local
    have a local username available that has cisco-support/root-system
    or you can also do a debug aaa author and debug tacacs and see what service is requested so taht the user profile can be updated providing that author if you like to leave the existing tacacs author in place.
    cheers!
    xander

  • [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!!!!

  • What web service & xml will be used for deleting the packged epub/pdf file from Admin Console

    What web service & xml will be used for deleting the packged epub/pdf file from Admin Console?
    I am able to delete the files from Admin console directy but not able to get which web service is calling on deleting the file from admin console:
    Mangal

    Hi Jim,
    I tired following web service and xml to delete the packaged ebook but it is giving me error instead of response:
    Web Service & XML
    http://myserver_url/admin/ManageResourceKey
    <request action="delete" auth="builtin" xmlns="http://ns.adobe.com/adept">
    <nonce>" . $nonce . "</nonce>
    <expiration>'. $expiration .'</expiration>
    <resourceKey>
    <resource>resource_id</resource>
    <resourceItem>1</resourceItem>
    </resourceKey>
    </request>
    Error Message
    <error xmlns="http://ns.adobe.com/adept"
    data="E_ADEPT_DATABASE http://myserver_url/admin/ManageResourceKey
    Cannot%20delete%20or%20update%20a%20parent%20row:%20a%20foreign%20key%20constraint%20fails %20(`adept`.`distributionrights`,%20CONSTRAINT%20`distributionrights_ibfk_2`%20FOREIGN%20K EY%20(`resourceid`)%20REFERENCES%20`resourcekey`%20(`resourceid`))"/>
    Magal Varshney

  • Web service XML use with Schema

    Hi!
    I have a Webservice working ok and a can see the xml, but, the after process for read this data(I do it trought pbl) take too time, then i go to try use of schema, as follow structure:
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
         <xsd:simpleType name="nombres" type="xsd:string"/>
         <xsd:simpleType name="paterno" type="xsd:string"/>
         <xsd:simpleType name="materno" type="xsd:string"/>
         <xsd:simpleType name="email" type="xsd:string"/>
         <xsd:simpleType name="codigo" type="xsd:string"/>
         <xsd:simpleType name="vigencia" type="xsd:string"/>
         <xsd:simpleType name="fecIni" type="xsd:string"/>
         <xsd:simpleType name="fecTer" type="xsd:string"/>
         <xsd:simpleType name="codCargo" type="xsd:string"/>
         <xsd:simpleType name="codGrado" type="xsd:string"/>
         <xsd:simpleType name="codPuesto" type="xsd:string"/>
         <xsd:simpleType name="codRepart" type="xsd:string"/>
         <xsd:simpleType name="codOrganismo" type="xsd:string"/>
         <xsd:simpleType name="descCargo" type="xsd:string"/>
         <xsd:simpleType name="descEscalafon" type="xsd:string"/>
         <xsd:simpleType name="descReparticion" type="xsd:string"/>
         <xsd:simpleType name="descEstamento" type="xsd:string"/>
         <xsd:simpleType name="descJerarquia" type="xsd:string"/>
         <xsd:group name="nombramientos">
              <xsd:sequence>
                   <xsd:element name="codigo" type="codigo"/>
                   <xsd:element name="vigencia" type="vigencia"/>
                   <xsd:element name="fecIni" type="fecIni"/>
                   <xsd:element name="fecTer" type="fecTer"/>
                   <xsd:element name="codCargo" type="codCargo"/>
                   <xsd:element name="codGrado" type="codGrado"/>
                   <xsd:element name="codPuesto" type="codPuesto"/>
                   <xsd:element name="codRepart" type="codRepart"/>
                   <xsd:element name="codOrganismo" type="codOrganismo"/>
                   <xsd:element name="descCargo" type="descCargo"/>
                   <xsd:element name="descEscalafon" type="descEscalafon"/>
                   <xsd:element name="descReparticion" type="descReparticion"/>
                   <xsd:element name="descEstamento" type="descEstamento"/>
                   <xsd:element name="descJerarquia" type="descJerarquia"/>
              </xsd:sequence>
         </xsd:group>
         <xsd:complexType name="Usuario">
              <xsd:sequence>
                   <xsd:choice>
                        <xsd:element name="nombres" type="nombres"/>
                        <xsd:element name="paterno" type="paterno"/>
                        <xsd:element name="materno" type="materno"/>
                        <xsd:element name="email" type="email"/>
                        <xsd:group ref="nombramientos"/>
                   </xsd:choice>
              </xsd:sequence>
         </xsd:complexType>
         <xsd:element name="usuario" type="Usuario"/>
    </xsd:schema>
    ... and the xml i using as the next:
    <usuario>
         <nombres>Oscar Hernan</nombres>
         <paterno>Pozo</paterno>
         <materno>Ortiz</materno>
         <email>[email protected]</email>
         <nombramientos class="list">
              <nombramiento>
                   <codigo>A110401412002</codigo>
                   <vigencia>1</vigencia>
                   <fecIni>2002-01-01 00:00:00.0</fecIni>
                   <fecTer>2002-12-31 00:00:00.0</fecTer>
                   <codCargo>N3A075</codCargo>
                   <codGrado>13</codGrado>
                   <codPuesto>A22004</codPuesto>
                   <codRepart>11040501</codRepart>
                   <codOrganismo>11040000</codOrganismo>
                   <descCargo>ANALISTA COMPUTACIONAL</descCargo>
                   <descEscalafon>N3A</descEscalafon>
                   <descReparticion>Dirección de Servicios de Tecnologías de Información</descReparticion>
                   <descEstamento>A</descEstamento>
                   <descJerarquia>Técnica</descJerarquia>
              </nombramiento>
              <nombramiento>
                   <codigo>A120200011978</codigo>
                   <vigencia>1</vigencia>
                   <fecIni>1978-09-15 00:00:00.0</fecIni>
                   <fecTer>2099-12-31 00:00:00.0</fecTer>
                   <codCargo>A2A001</codCargo>
                   <codGrado>05</codGrado>
                   <codPuesto>001767</codPuesto>
                   <codRepart>19012061</codRepart>
                   <codOrganismo>12060000</codOrganismo>
                   <descCargo>Académico Prof. Asociado</descCargo>
                   <descEscalafon>A2A</descEscalafon>
                   <descReparticion>Aporte Institucional Ciencias Físicas </descReparticion>
                   <descEstamento>A</descEstamento>
                   <descJerarquia>Prof. Asociado - Categ. Academica Ord.</descJerarquia>
              </nombramiento>
         </nombramientos>
    </usuario>
    As you see, i'm try retrieve data "nombramientos" in a group, but que schema is not charging in albpm with this structure.
    A need let "nombramientos" tag in a group to use it as correct.
    Please.. if any body can help me.
    Nathan Bernal

    I'm new to web services, but we are currently
    implementing a number of Web Services that all take
    as arguments a single parameter which is an XMLBean,
    which has been generated by a XML Schema.
    What I find surprising is that when I submit a SOAP
    message to the Web Service (through the http Web
    Service Tester inside eclipse), I can send any valid
    XML without getting a SOAP fault. Is there a way on
    the Web Service that I want the XML submitted to be
    validated against the XML Schema for that parameter?
    Bit surprised I have to implement my own input
    argument validation, and there doesn't appear to be a
    standard way to do this. I must be missing soemthing
    surely? Why else would the Schema be in the WSDL?
    Cheers
    JohnHas anyone found an answer to this, we have the same issue?

  • 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

  • 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

  • Making sure setting ojsp-init tags-reuse from orion-web.xml is used

    I'm facing a problem with the following setting in my application's orion-web.xml:
    <ojsp-init tags-reuse="compiletime-with-release"/>
    previously, we had this setting in global-web-application.xml, but we would like to specify it per application, to get rid of the OC4J post-installation step to manually add the following lines:
    <init-param>
    <param-name>tags_reuse_default</param-name>
    <param-value>compiletime_with_release</param-value>
    </init-param>
    However, the latter works, and the former doesn't seem to have any effect whatsoever. But as far as I can see, the orion-web.xml is correctly following the XSD:
    <?xml version="1.0"?>
    <orion-web-app
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/orion-web-10_0.xsd"      deployment-version="10.1.3.3.0"
         deployment-time="1198148775354"
         jsp-cache-directory="./persistence"
         jsp-cache-tlds="standard"
         jsp-taglib-locations=""
         temporary-directory="./temp"
         servlet-webdir="/servlet/"
         context-root="/messagecontrol"
    schema-major-version="10" schema-minor-version="0" >
         <!-- Uncomment this element to control web application class loader behavior.
              <web-app-class-loader search-local-classes-first="true" include-war-manifest-class-path="true" />
         -->
         <ojsp-init tags-reuse="compiletime-with-release"/>
    </orion-web-app>
    http://www.oracle.com/technology/oracleas/schema/orion-web-10_0.xsd
    Am I missing something here? Do we need to do something specific to make sure the ojsp-init values are actually used? The documentation seems to indicate that the two settings are equivalent:
    http://download.oracle.com/docs/cd/B32110_01/web.1013/b28961/devconfig.htm#BHCFICDA
    Any help would be appreciated.
    Jaap

    Update:
    In the meantime I've logged a SR for this. The settings "none" and "compiletime" do work and behave the same as their global-web-application.xml counterparts. It's just the "compiletime-with-release" that does not work as expected.

  • Error while saving xml file using PDFDocument API

    Hi,
    I am trying to save xml file using byte array obtained from interactive form element in webdynpro java.
    The file gets saved but I get fllowing error message when I open the file.
    The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    An invalid character was found in text content. Error processing resource 'http://uxjciesk.wdf.sap.corp:50000/irj/go/km/doc...
    The code I am trying to achieve the functionality is:
    byte[] byteArray  = wdContext.currentContextElement().getPdfSource();
    IWDPDFDocumentHandler pdfDocumentHandler = WDPDFDocumentFactory.getDocumentHandler();
    IWDPDFDocumentAccessibleContext documentAccessibleContext = pdfDocumentHandler.getDocumentAccessibleContext();
    documentAccessibleContext.setPDF(byteArray);
    IWDPDFDocument pdfDocument = documentAccessibleContext.execute();
    ByteArrayInputStream dataInputStream = (ByteArrayInputStream) pdfDocument.getPDFAsStream();
    further, the datainputstream is used to store the file. I am able to save same xdp template in pdf file format successfully, the error only occurs for xml file storage.
    Please, advise.
    Regards,
    Urvashi

    Hi Urvashi,
        Try this code
              String contentStr = getXMLData(wdContext.currentContextElement().getPdfSource().read(false));
              String data = "";
              ByteArrayOutputStream pdfSourceOutputStream = new ByteArrayOutputStream();
              try {
                   InputStream pdfSourceInputStream = wdContext.currentContextElement().getData().read(false);
                   BufferedInputStream bufferedInputStream = new BufferedInputStream(wdContext.currentContextElement().getData().read(false));
                   int aByte;
                   while ((aByte = bufferedInputStream.read()) != -1) {
                        pdfSourceOutputStream.write(aByte);
                   pdfSourceOutputStream.flush();
                   pdfSourceOutputStream.close();
                   IWDPDFDocument pdfDocument = null;
                   try {
                        // Create an instance for PDFDocumnetHandler
                        IWDPDFDocumentHandler pdfDocumentHandler = WDPDFDocumentFactory.getDocumentHandler();
                        //Create an Inatance for PDFDocumentAccessibleContext
                        IWDPDFDocumentAccessibleContext documentAccessibleContext =     pdfDocumentHandler.getDocumentAccessibleContext();
                        //set the pdf data as OutputStream to the PDFDocumentAccessibleContext instance
                        documentAccessibleContext.setPDF(pdfSourceOutputStream);
                        //call the server to get the data                      
                        pdfDocument = documentAccessibleContext.execute();
                        //get the xml data in a InputStream
                        ByteArrayInputStream dataInputStream = (ByteArrayInputStream) pdfDocument.getData();
                   } catch (Exception e) {
                        data = "Null";
              } catch (IOException e) {
    Regards,
    Mathan

  • How to create new XML file using retreived XML content by using SAX API?

    hi all,
    * How to create new XML file using retreived XML content by using SAX ?
    * I have tried my level best, but output is coming invalid format, my code is follows,
    XMLFileParser.java class :-
    import java.io.StringReader;
    import java.io.StringWriter;
    import javax.xml.transform.OutputKeys;
    import javax.xml.transform.Transformer;
    import javax.xml.transform.TransformerConfigurationException;
    import javax.xml.transform.TransformerException;
    import javax.xml.transform.TransformerFactory;
    import javax.xml.transform.dom.DOMResult;
    import javax.xml.transform.sax.SAXSource;
    import javax.xml.transform.sax.SAXTransformerFactory;
    import javax.xml.transform.sax.TransformerHandler;
    import javax.xml.transform.stream.StreamResult;
    import org.w3c.dom.Document;
    import org.xml.sax.Attributes;
    import org.xml.sax.InputSource;
    import org.xml.sax.SAXException;
    import org.xml.sax.helpers.XMLFilterImpl;
    public class PdfParser extends XMLFilterImpl {
        private TransformerHandler handler;
        Document meta_data;
        private StringWriter meta_data_text = new StringWriter();
        public void startDocument() throws SAXException {
        void startValidation() throws SAXException {
            StreamResult streamResult = new StreamResult(meta_data_text);
            SAXTransformerFactory factory = (SAXTransformerFactory) SAXTransformerFactory.newInstance();
            try
                handler = factory.newTransformerHandler();
                Transformer transformer = handler.getTransformer();
                transformer.setOutputProperty(OutputKeys.ENCODING, "UTF-8");
                transformer.setOutputProperty(OutputKeys.INDENT, "yes");
                handler.setResult(streamResult);
                handler.startDocument();
            catch (TransformerConfigurationException tce)
                System.out.println("Error during the parse :"+ tce.getMessageAndLocation());
            super.startDocument();
        public void startElement(String namespaceURI, String localName,
                String qualifiedName, Attributes atts) throws SAXException {
            handler.startElement(namespaceURI, localName, qualifiedName, atts);
            super.startElement(namespaceURI, localName, qualifiedName, atts);
        public void characters(char[] text, int start, int length)
                throws SAXException {
            handler.characters(text, start, length);
            super.characters(text, start, length);
        public void endElement(String namespaceURI, String localName,
                String qualifiedName) throws SAXException {
            super.endElement("", localName, qualifiedName);
            handler.endElement("", localName, qualifiedName);
        public void endDocument() throws SAXException {
        void endValidation() throws SAXException {
            handler.endDocument();
            try {
                TransformerFactory transfactory = TransformerFactory.newInstance();
                Transformer trans = transfactory.newTransformer();
                SAXSource sax_source = new SAXSource(new InputSource(new StringReader(meta_data_text.toString())));
                DOMResult dom_result = new DOMResult();
                trans.transform(sax_source, dom_result);
                meta_data = (Document) dom_result.getNode();
                System.out.println(meta_data_text);
            catch (TransformerConfigurationException tce) {
                System.out.println("Error occurs during the parse :"+ tce.getMessageAndLocation());
            catch (TransformerException te) {
                System.out.println("Error in result transformation :"+ te.getMessageAndLocation());
    } CreateXMLFile.java class :-
    Sax.startDocument();
    Sax.startValidation();
    Sax.startElement("", "pdf", "pdf", new AttributesImpl());
    Sax.startElement("", "basic-metadata", "basic-metadata", new AttributesImpl());          
    String xmp_str = new String(meta_data.getByteArray(),"UTF8");
    char[] xmp_arr = xmp_str.toCharArray();
    Sax.characters(xmp_arr, 0, xmp_arr.length);
    Sax.endElement("", "pdf", "pdf");
    Sax.endValidation();
    Sax.endDocument();
    Sax.endElement("", "basic-metadata", "basic-metadata");* In CreateXMLFile.java
    class, I have retreived the xml content in the meta_data object, after that i have converted into character array and this will be sends to SAX
    * In this case , the XML file created successfully but the retreived XML content added as an text in between basic-metadata Element, that is, retreived XML content
    is not an XML type text, it just an Normal text Why that ?
    * Please help me what is the problem in my code?
    Cheers,
    JavaImran

    Sax.startDocument();
    Sax.startValidation();
    Sax.startElement("", "pdf", "pdf", new AttributesImpl());
    Sax.startElement("", "basic-metadata", "basic-metadata", new AttributesImpl());          
    String xmp_str = new String(meta_data.getByteArray(),"UTF8");
    char[] xmp_arr = xmp_str.toCharArray();
    Sax.characters(xmp_arr, 0, xmp_arr.length);
    </code><code>Sax.endElement("", "basic-metadata", "basic-metadata");</code>
    <code class="jive-code jive-java">Sax.endElement("", "pdf", "pdf");
    Sax.endValidation();
    Sax.endDocument();     
    * I HAVE CHANGED MY AS PER YOUR SUGGESTION, NOW SAME RESULT HAS COMING.
    * I AM NOT ABLE TO GET THE EXACT OUTPUT.,WHY THAT ?
    Thanks,
    JavaImran{code}

  • Generating multiple target xmls from one source xml using xslt mappings

    Hi,
    I need to create more than one xml file from one source xml file using xslt mappings in file to file scenario.
    Can you please let me know how this can be achieved.
    Thanks,
    Rajesh

    Rajesh,
    If you must use the XSL Transformation then you can find a nice simple example here.  It's based on the Xalan XSLT Processor which to my knowledge is incorporated in PI7.1.  I've not actually tried this but it makes for an interesting mapping case so please let us know the results: 
    [XSLT Split for multiple XML file output|http://abbeyworkshop.com/howto/xslt/xslt_split/index.html]
    The XSL file will require a namespace addition:
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:redirect="http://xml.apache.org/xalan/redirect" extension-element-prefixes="redirect" version="1.0">
    The redirect prefix is used for the write tags in the XSL file.
    The details cover the transformation of the source file:
    1:<student_list>
       2:    <student id="1">
       3:        <name>George Washington</name>
       4:        <major>Politics</major>
       5:        <phone>312-123-4567</phone>
       6:        <email>gw_at_example.edu</email>
       7:    </student>
       8:    <student id="2">
       9:        <name>Janet Jones</name>
      10:        <major>Undeclared</major>
      11:        <phone>311-122-2233</phone>
      12:        <email>janetj_at_example.edu</email>
      13:    </student>
      14:    <student id="3">
      15:        <name>Joe Taylor</name>
      16:        <major>Engineering</major>
      17:        <phone>211-111-2333</phone>
      18:        <email>joe_at_example.edu</email>
      19:    </student>
      20:</student_list>
    Using this transformation:
    2:<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    3:    xmlns:redirect="http://xml.apache.org/xalan/redirect"
    4:    extension-element-prefixes="redirect"
    5:    version="1.0"
    6:>
    7:<xsl:output method="xml"/>
    8:
    9:<xsl:template match="/">
    10:    <xsl:apply-templates />
    11:</xsl:template>
    12:
    13:<xsl:template match="student_list">
    14:    <xsl:apply-templates />
    15:</xsl:template>
    16:
    17:<xsl:template match="student">
    18:    <xsl:variable name="filename" select="concat(@id,'.xml')" />
    19:    <redirect:write select="$filename">
    20:        <student id="{@id}">
    21:            <xsl:apply-templates />
    22:        </student>
    23:    </redirect:write>
    24:</xsl:template>
    25:
    26:<xsl:template match="name | major | phone | email">
    27:    <xsl:copy-of select="." />
    28:</xsl:template>
    29:
    30:</xsl:stylesheet>

  • How to use HTTP / XML API

    Hi,
    I have to communicate with a product . The product has HTTP / XML API . The API has some functions. The examples in the product docs ,
    If you send a HTTP request to URL of the product with function name and some input parameters , It returns XML response , this response corresponds to some DTD.
    Now from java Application I have to send some HTTP requests and do some things according to obtained responses.Some times I have to parse the XML responses returned to show the user some results.
    How can I do this in Java , I have not worked with this kind of requirements.
    Thanks,
    pandu

    I wanted to do both , from the java Application to server.
    1.Send HTTP (post) request
    2.Parse the returned XML response from the server.

  • Web Cache target not found in targets.xml

    A colleague of mine is in Turkey and is getting this error when trying to install grid control on a windows XP pro server. It is a clean install.
    the targets.xml file is
    <Targets AGENT_TOKEN="f04d4e849c1e838b19c3e20ed579e9dcd03c15b9">
         <Target TYPE="oracle_emd" NAME="10.10.10.63:3872"/>
         <Target TYPE="host" NAME="10.10.10.63"/>
         <Target TYPE="oracle_database" NAME="emrep">
              <Property NAME="OracleHome" VALUE="C:\OracleHomes\db10g"/>
              <Property NAME="UserName" VALUE="6f3598cb6f944bc6" ENCRYPTED="TRUE"/>
              <Property NAME="MachineName" VALUE="10.10.10.63"/>
              <Property NAME="Port" VALUE="1521"/>
              <Property NAME="SID" VALUE="EMREP"/>
              <Property NAME="ServiceName" VALUE="emrep"/>
              <Property NAME="password" VALUE="21de4ab415cd3024c57856f7b1bc2dcb" ENCRYPTED="TRUE"/>
         </Target>
         <Target TYPE="oracle_listener" NAME="LISTENER_10.10.10.63">
              <Property NAME="ListenerOraDir" VALUE="C:\OracleHomes\db10g\network\admin"/>
              <Property NAME="LsnrName" VALUE="LISTENER"/>
              <Property NAME="Machine" VALUE="10.10.10.63"/>
              <Property NAME="OracleHome" VALUE="C:\OracleHomes\db10g"/>
              <Property NAME="Port" VALUE="1521"/>
         </Target>
         <Target TYPE="oracle_csa_collector" NAME="10.10.10.63_oms_csa_collector" DISPLAY_NAME="10.10.10.63_oms_csa_collector">
              <Property NAME="recvFileDir" VALUE="C:\OracleHomes\oms10g\oms_csa\results"/>
         </Target>
         <Target TYPE="oracle_emrep" NAME="Management Services and Repository" VERSION="1.0">
              <Property NAME="ConnectDescriptor" VALUE="(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=ENIGMA4)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=emrep)))"/>
              <Property NAME="UserName" VALUE="e8f757a39036b54d" ENCRYPTED="TRUE"/>
              <Property NAME="password" VALUE="21de4ab415cd3024c57856f7b1bc2dcb" ENCRYPTED="TRUE"/>
         </Target>
    </Targets>
    I have referenced metalink note 352357.1 but am note sure how to look at symbolic links in windows.
    any help is appreciated.
    regards
    Alan

    Hi
    This is the host of your GC enviroment, and in this hosts you have two targets.xml files:
    - The AGENT_HOME\sysman\emd\targets.xml file, that is the file that you show in this posts.
    But in the OMS_HOME\sysman\emd\targets.xml file you find the Oracle Application Server and his components (OC4J, http server, Webcache)
    Regards

  • TEO Target ( How to use web target )

    Hello there,
    I want to know how this web target work in TEO Target....
    I want to assign target with IP address...
    Regards....

    Hello Chris...thax for reply...i did those steps but may be i am wrong somewhere or may be i am not....here is my case...
    I just want to create dataset on NetApp Manag. Console.First,i created web target as you mentioned with runtime user and my url is http://172.21.54.171:8088 ..now here i confuse..when i ping 172.21.54.171..it reply back but when i was try 172.21.54.171:8088 nothing back..ok after that i made process for that to create dataset on NetApp and also define string variable for dataset name and storage service id. i also insert image here..i target as web target in my process but at web http request ..my process failed.....so this is my issue actually..
    once again i am very thankful for yr each and all reply...and sorry if i keep disturbing you because i am very new for this application...
    regards...

Maybe you are looking for

  • TimeID column length is wrong - Add a new appln Vs copy an appln

    Hi Folks, We have a requirement to add a new application, which should have the design as of an existing Reporting type finance application. When we completed this new application creation, by using "Add an application" option from the admin console

  • Customer Ageing - Report Painter

    Hi,    Can any tell whether we can achieve the customized reports for the customer ageing (Txn: S_ALR_870121276) through report painter. If so can i get any help for the steps to be followed /material regarding this. Regards, Nagendra Prasad.J

  • Problem Exporting - Append to PDF?

    Hi I have a heavy InDesign doc - Full color, many graphics etc. Size is 60MB We decided to change the size of the book, so I export to PDF, then import the pdf to new doc with new size and fit it to page. The new doc size is 80 MB For some reason, wh

  • Access child clips of loded SWF

    I have a class (Main.as) that uses a Loader object to load an external SWF in to the root of my main app. I then want to pass a reference to the loaded SWF to another class in my main app so that it can access clips on the main timeline of the loaded

  • Need download of 3.5 or 3.6 for a G4 processor with Leopard 10.5.8

    Since 4.0 won't run on this processor and 3.5 was the last Firefox that was running but used to crash. There are a lot of users that have this configuration. The G4's work better than Intel's with Windows Vista or 7. To much layering and cluttering w