Included XSD-File - defaulttable

Hello,
i have a xsd-file "metaddi.xsd" in which i have informations about the "main"-xsd-file. This metadata-xsd-file is included by other xsd-files:
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb" elementFormDefault="qualified" attributeFormDefault="unqualified">
     <xs:include schemaLocation="http://190.5.5.111:10000/home/schema/metaddi.xsd"/>
     <xs:element name="bookstore" type="bookstoreType" xdb:defaultTable="XML_BOOKSTORE">
          <xs:annotation>
               <xs:documentation>Comment describing your root element</xs:documentation>
          </xs:annotation>
     </xs:element>
     <xs:complexType name="bookstoreType" xdb:SQLType="XML_BOOKSTORE_TYPE">
          <xs:sequence>
               <xs:element name="metadata" type="metadataType"/>
               <xs:element name="content" type="contentType"/>
          </xs:sequence>
     </xs:complexType>
     <xs:complexType name="contentType">
          <xs:sequence maxOccurs="unbounded">
               <xs:element name="book" type="bookType"/>
          </xs:sequence>
     </xs:complexType>
</xs:schema>
I have e.g. 10 Main-xsd-files. So i have 10 different tables. When i make a select on elements in the metaddi.xsd so i have to address 10 tables. Is it possible to defina a defaulttable for the metaddi.xsd - so that i only have to address 1 table in a select-statement? I hope you understand my problem?
Thank you
Heidi

Hello Marco,
a view could be a solution. Defining a defaulttable is consequently not possible, isn´t it?
But how can i create a view based on several tables?
My metadata.xsd looks like:
<metadata>
<category1>country</category1>
<category2>state</category2>
<category3>city</category3>
</metadata>
The examples in the XDB Developer´s Guide are only with one table. Can you or someone else can give me please a little example how to do this?
I want a table with 3 columns:
category1 category2 category3
And the records of the different tables should be among each other. How can i do this?
Thank you very much
Heidi

Similar Messages

  • Problems including XSD File

    Hello,
    i am trying to import a .xsd file into my wsdl file which I need as a partner link in my bpel process. I include the .xsd file in the following way: <xsd:include schemaLocation="../NPSSchema.xsd" />, but if I try to start the whole system I get this failure message:
    ERROR: Successful execution of Deploy: D:\Masterstudium\Internetapplikationen\Assignment2\Assignment2ProcessApp/dist/Assignment2ProcessApp.zip
    WARNING: (JBIMA0404) Deployment of service assembly Assignment2ProcessApp succeeded partially; some service units failed to deploy.
    * Component: sun-http-binding
    ERROR: (SOAPBC_DEPLOY_2) HTTPBC-E00201: Deployment failed. javax.wsdl.WSDLException: WSDLException (at /wsdl:definitions/wsdl:types/xs:schema): faultCode=OTHER_ERROR: An error occurred trying to resolve schema referenced at ''../NPSSchema.xsd'', relative to ''file:/C:/Users/stefan/.personalDomain/personalDomain/jbi/service-assemblies/Assignment2ProcessApp/Assignment2ProcessApp-sun-http-binding/sun-http-binding/Assignment2/numberportingservice.wsdl''.: java.io.FileNotFoundException: This file was not found: file:/C:/Users/stefan/.personalDomain/personalDomain/jbi/service-assemblies/Assignment2ProcessApp/Assignment2ProcessApp-sun-http-binding/sun-http-binding/NPSSchema.xsd
    The .xsd file exists, I have really no idea why it doesn't work. Could anybody help??
    Thanks a lot!
    Steve

    Hey,
    Can you try this? open BEPL-Structure Panel >>Expand Schemas>>import Schema>> you will get any URL in this point your .xsd file.
    And Also copy the .xsd file in your project folder.
    Thanks,
    Ariraj S
    Edited by: arirajs on Dec 16, 2008 6:59 AM

  • Problem with import tag in xsl files and include in xsd files

    Hello,
    I've been developing an application using JBoss as server. Then, i created an especific path for xsd and another path for xsl files. In both cases, i created a main file that include (xsd) or import (xsl) the other files. My problem is that i have to specify the exactly path where the imported xsl or the included xsd files are, even though they are in the same path as the main file. What i want to know is how i say that the other xsd and xsl files are in the same path that the main file that is importing them?
    here's an example of my import and include declarations:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0"
         xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
         <xsl:import href="../server/jboss/deploy/application.ear/pack.jar/xsl/transformer1.xsl"/>
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
              elementFormDefault="qualified">
         <xsd:include schemaLocation="../server/jboss/deploy/application.ear/pack.jar/xsd/schema1.xsd"/>
    thanks for your help

    yes, thats not the value returned of
    URL url = this.getClass().
                        getResource("/xsl//transformer.xsl");the expression i posted is an string i'm using to test.... but i think it's not incorrect, because if the files i'm trying to open are not in the path, he throws the following exception:
    java.io.FileNotFoundException: C:\cpqd\isp\tools\third-party\jboss\server\jbossISP1\deploy\cpqd-ispeng-EngEJB-3.3.0.0.ear\cpqd-ispinv-ServiceEJB.jar\xsl\isp_transformer_manufacturer.xsl
        at org.jboss.net.protocol.file.FileURLConnection.connect(FileURLConnection.java:80)
        at org.jboss.net.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:89)
        at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
        at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.apache.xalan.processor.ProcessorInclude.parse(ProcessorInclude.java:323)
        at org.apache.xalan.processor.ProcessorInclude.startElement(ProcessorInclude.java:192)
        at org.apache.xalan.processor.StylesheetHandler.startElement(StylesheetHandler.java:668)
        at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
        at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
        at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
        at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
        at org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:972)
        at org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:788)
        at br.com.cpqd.oss.isp.service.adapter.FrameworkAdapter.createExternalData(FrameworkAdapter.java:131)
        at br.com.cpqd.oss.isp.service.message.ExternalDataMDBBean.onMessage(ExternalDataMDBBean.java:92)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(MessageDrivenContainer.java:458)
        at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
        at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:62)
        at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
        at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:284)
        at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:150)
        at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:90)
        at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
        at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
        at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:372)
        at org.jboss.ejb.Container.invoke(Container.java:709)
        at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:928)
        at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1205)
        at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:276)
        at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:904)
        at org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:159)
        at org.jboss.mq.SpySession.run(SpySession.java:351)
        at org.jboss.jms.asf.StdServerSession.run0(StdServerSession.java:200)
        at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:180)
        at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
        at java.lang.Thread.run(Thread.java:534)and when the files are in the path, he throws the other exception... thats why i think the problem it's not the URL....

  • Register XSD-Files which includes Other XSD-Files

    Hallo
    i have two XML-Schemata. One is included by the other.
    Here is an example:
    This is the XSD, which is included by the other (metadata.xsd):
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
         <!-- Metadatenbereich für das xml-Dokument selbst-->
         <xs:element name="metadata" type="metadataType">
              <xs:annotation>
                   <xs:documentation>ROOT ELEMENT von Metadata</xs:documentation>
              </xs:annotation>
         </xs:element>
         <!-- Glossar: Metadatenbereich + Glossarinhalt als Liste von Glossareinträgen -->
         <xs:complexType name="metadataType">
              <xs:sequence>
                   <xs:element ref="identifier"/>
                   <xs:element ref="category"/>
                   <xs:element ref="creator"/>
                   <xs:element ref="creation_date"/>
                   <xs:element ref="publisher"/>
                   <xs:element ref="language"/>
                   <xs:element ref="title"/>
                   <xs:element ref="basic_year"/>
                   <xs:element ref="statistic"/>
    This is the XSD, which include the other XSD (lexikon.xsd):
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb" elementFormDefault="unqualified" attributeFormDefault="unqualified">
         <!-- Includieren der Metadaten-->
         <xs:include schemaLocation="metadata.xsd"/>
         <!-- ROOT Element von Lexikon-->
         <xs:element name="lexikon" type="lexikonType" xdb:defaultTable="LEXIKON">
              <xs:annotation>
                   <xs:documentation>ROOT ELEMENT</xs:documentation>
              </xs:annotation>
         </xs:element>
         <xs:complexType name="lexikonType">
              <xs:sequence>
                   <xs:element ref="metadata"/>
                   <xs:element ref="lexikonEntries"/>
              </xs:sequence>
              <xs:attribute name="lexikonKat" type="xs:integer">
                   <xs:annotation>
                        <xs:documentation>für spezielle UnterkategorienTypen zu den Lexikas</xs:documentation>
                   </xs:annotation>
              </xs:attribute>
         </xs:complexType>
         <!---->
         <!-- GLOSSAR-ELEMENTE -->
         <!---->
         <!-- ExplicationTxt-->
         <xs:element name="explicationTxt" type="explicationType"/>
         <xs:complexType name="explicationType">
              <xs:choice>
                   <xs:element ref="verweis"/>
                   <xs:element ref="txt"/>
                   <xs:element ref="para"/>
    Both documents have i copied to a webdav-folder. Now i want register the documents.
    BEGIN
    DBMS_XMLSchema.registerSchema(
    schemaurl=>'http://190.1.1.148:8080/home/DEV/xsd/lexikon.xsd',
    schemadoc=>sys.UriFactory.getUri('/home/DEV/xsd/lexikon.xsd'));
    END;
    The following error-message is displayed:
    ERROR at line 1:
    ORA-31000: Resource 'metadata.xsd' is not an XDB schema document
    ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 0
    ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 166
    ORA-06512: at line 2
    I made the XSD-Files by XMLSpy. The Documents are well-formated and valid.
    When i make a new XML-File based ONLY (of course) on lexikon.xsd everything works fine with XMLSpy.
    How must i register these documents? Is it possible? Or can´t i register XSD-Files which includes others?
    Thank you very much
    cu
    Heidi

    Heidi,
    register the metadata.xsd first inthe same way and then register the lixikon.xsd.
    it should work.

  • How to register a schema use a .xsd file which has lots of includes schema

    Hello, All,
    Does someone have the experience to register a schema use a .xsd file which contains several tags like <xs:include schemaLocation="../dt/somedatatypes.xsd"/>?
    I tried both the OEM and command line dbms_xmlschema.registerSchema(), although the whole file structure already in the repository, seems like Oracle can't automatically search and find the includes and register it. should I register those includes first? the actual error I got is "ORA-31000: Resource '../dt/somedatatypes.xsd' is not an XDB schema document.ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 0 ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 26 ORA-06512: at line 2" .
    Any suggestion? thanks in advance...

    We do not (currently) support relative references in included XML Schemas.
    In order to use an include or import the target Schema must first be registered with XML DB under some known location. The schemaLocation argument needs to the 'Docuemnt Location Hint', or URL, that was passed to registerSchema when the included schema was registered.
    If you have cyclic dependancies between schemas you can use the force option of registerSchema to register the first Schema. This will then allow registration of the second schema to succeed. Once the second schema has been successfully registed the first schema must be explicitiy recompiled using dbms_xmlschema.compileSchema().

  • Best practice for how to access a set of wsdl and xsd files

    I've recently beeing poking around with the Oracle ESB, which requires a bunch of wsdl and xsd files from HOME/bpel/system/xmllib. What is the best practice for including these files in a BPEL project? It seems like a bad idea to copy all these files into every project that uses the ESB, especially if there are quite a few consumers of the bus. Is there a way I can reference this directory from the project so that the files can just stay in a common place for all the projects that use them?
    Bret

    Hi,
    I created a project (JDeveloper) with local xsd-files and tried to delete and recreate them in the structure pane with references to a version on the application server. After reopening the project I deployed it successfully to the bpel server. The process is working fine, but in the structure pane there is no information about any of the xsds anymore and the payload in the variables there is an exception (problem building schema).
    How does bpel know where to look for the xsd-files and how does the mapping still work?
    This cannot be the way to do it correctly. Do I have a chance to rework an existing project or do I have to rebuild it from scratch in order to have all the references right?
    Thanks for any clue.
    Bette

  • Error during import of XSD file in message mapping

    When i try to import an XSD file from desktop during message mapping I am getting a following error 'display problem'.
    "Root element not found. Root Schema only describe type defintions. Cannot opent this XSD."
    Is there any direct or work around way to import the file?
    Any help would be appreciated.
    Thanks
    Prem

    Thanks Alexey
      Let me specify some more detail. I got the following XSD file from a third party vendor. I am using XML spyeditor to edit the file. When i tried to add the global element it says the schema is not validated. How can it fix this?
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
         <xs:include schemaLocation="http://www.ABC.com/schemas/ABCXMLlibrary.xsd"/>
         <xs:complexType name="sesType">
              <xs:sequence>
                   <xs:element name="eserviceNumber" type="xs:string">
                   <xs:element name="SAPPurchaseOrder" type="SAPPurchaseOrderType" minOccurs="0"/>
                   <xs:any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>
              </xs:sequence>
         </xs:complexType>
    </xs:schema>
    Thanks
    Prem

  • How do I include XSD definition inside WSDL?

    Hello,
    I am pasting the WSDL and XSD (They were sent as a seperate files)
    The Name space that was mentioned in the WSDL is different from where I am currently developing .
    I would like to do the following 3 things
    1. Include XSD inside WSDL definition
    2. Change the existing Name space to the ones created now.
    (the current name space is *http://abcd.com/SPAG*)
    3. Is there any other free software that works like XML SPY?
    The reference in the WSDL to the XSD is provided at "schema....... "
    If I copy the XSD in place of <xsd schema></xsd schema> tabs
    its generating me no message present  or null exception
    please help ....
    The WSDL and XSD are as follows :
    *WSDL* :
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions xmlns="http://schemas.xmlsoap.org/wsdl/"
                 xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
                 xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                 xmlns:n="http://www.abcd.com/application/ws/network"
                 xmlns:svc="http://www.abcd.com/application/ws/network/service"
                 targetNamespace="http://www.abcd.com/application/ws/network/service">
         <types>
              <xsd:schema>
                   <xsd:import namespace="http://www.abcd.com/application/ws/network" schemaLocation="../schema/Network.xsd"/>
              </xsd:schema>
         </types>
         <message name="NetworksRequest">
              <part name="request" element="n:Networks"/>
         </message>
         <portType name="NetworkPortType">
              <operation name="importNetworks">
                   <input message="svc:NetworksRequest"/>
              </operation>
              <operation name="deleteNetworks">
                   <input message="svc:NetworksRequest"/>
              </operation>
         </portType>
         <binding name="NetworkBinding" type="svc:NetworkPortType">
              <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
              <operation name="importNetworks">
                   <soap:operation soapAction="importNetworks"/>
                   <input><soap:body use="literal"/></input>
              </operation>
              <operation name="deleteNetworks">
                   <soap:operation soapAction="deleteNetworks"/>
                   <input><soap:body use="literal"/></input>
              </operation>
         </binding>
         <service name="Network">
              <port name="NetworkPort" binding="svc:NetworkBinding">
                   <soap:address location="http://localhost:8080/axis/services/Network"/>
              </port>
         </service>
    </definitions>
    XSD :
    <schema xmlns="http://www.w3.org/2001/XMLSchema"
              xmlns:n="http://www.abcd.com/application/ws/network"
              xmlns:nt="http://www.abcd.com/application/ws/networkType"
            xmlns:att="http://www.abcd.com/application/ws/entityAttribute"
            targetNamespace="http://www.abcd.com/application/ws/network"
            elementFormDefault="qualified">
         <import namespace="http://www.abcd.com/application/ws/entityAttribute" schemaLocation="../schema/EntityAttribute.xsd"/>
         <import namespace="http://www.abcd.com/application/ws/networkType" schemaLocation="../schema/NetworkType.xsd"/>
         <!-- Global Element Declarations -->
         <element name="Networks" type="n:Networks"/>
         <!-- Complex Types -->
         <complexType name="Networks">
              <sequence>
                   <element name="Network" type="n:Network" minOccurs="0" maxOccurs="unbounded"/>
              </sequence>
         </complexType>
         <complexType name="Network">
              <sequence>
                   <element name="description" type="n:descriptionString" minOccurs="0"/>
                   <element name="CustomAttributes" type="n:CustomAttributes" minOccurs="0"/>
              </sequence>
              <attribute name="name" type="n:nameString" use="required"/>
              <attribute name="type" type="nt:nameString" default="General"/>
              <attribute name="indenture" type="int"/>
         </complexType>
         <complexType name="CustomAttributes">
              <sequence>
                   <element ref="att:CustomAttribute" minOccurs="0" maxOccurs="8"/>
              </sequence>
         </complexType>
         <!-- Simple Types -->
         <simpleType name="descriptionString">
              <restriction base="string">
                   <maxLength value="64"/>
              </restriction>
         </simpleType>
         <simpleType name="nameString">
              <restriction base="string">
                   <maxLength value="64"/>
              </restriction>
         </simpleType>                      
    </schema>
    1. Please guide me how do I include XSD in the above structure
    2. do I need to change NS in all the places in the above structure in order to change the existing name space to the current one?
    3. Is there a free software that works like XML Spy in looking at webservice definitions?
    Regards,
    Nikhil
    All useful replies will be rewarded ****

    Hi Nikhil,
    first include the following code into u r XSD.
    <?xml version="1.0" encoding="UTF-8" ?>
    - <xsd:schema targetNamespace="http://abcd.com/SAPAG" xmlns="http://abcd.com/SAPAG" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    please follow the below steps.
    - <complexType name="Networks">
    make it as <XSD:complexType name="Networks">
    -<element name="Networks">
    make it as  <XSD:element name="Networks">
    and similarly -<sequence>
    in any XSD the following tag will be there
    i.e -<xsd:annotation>
    but it's not mandotory...with out that aslo we can import it as data type.
    if possible, please check with alredy exiting xsd definations.
    regards
    mahesh.

  • PI 7.1: Importing a wsdl file with references to other xsd files

    Hi Experts,
    I am trying to import a wsdl file that has got references to other xsd files. When i do this with SOAP UI, i can get the full message structure for the other xsd files. But when i try to import the same wsdl in the ESR, i only get to the messages and not the referenced xsd.
    Any ideas!
    Thank you in Advance,
    Danny

    Hi,
    First convert your main WSDL in to XSD,use Stylus or any XML editors to convert the same,thecn check the genarated XSD refering sun XSD tsrutures.then zip the all xsd in to one File and import in PI,then select you main xsd in the folder,and select root element.
    Normally withour converting in to XSD only if you group al import it in to PI,it wil work.
    or
    if you have some good knowledge about XSD then convert WSDL in to XSD and remove referece tags and include XSD content of sub xsds in to main XSD,and validate that one,and imnprt one XSD.
    Regards,
    Raj

  • How to compare two XSD files programmatically

    Hi
    I want to compare two XSD files programmatically to find out whether one XSD is a sub set of another XSD(Means checking all the elements and attributes of one schema to be present in another schema).
    Please let me know how this can be done in an efficient way.
    Thanks in advance.
    Mithun K

    Or simply apply an oracle text index on your pdf column:
    SQL>  create table t (id integer primary key, bl blob)
    Table created.
    SQL>  declare
    bf bfile := bfilename('TEMP','b32001.pdf');
    bl blob;
    begin
    dbms_lob.createtemporary(bl,true);
    dbms_lob.open(bf,dbms_lob.lob_readonly);
    DBMS_LOB.LOADFROMFILE(bl, bf,dbms_lob.getlength(bf));
    insert into t values (1,bl);
    commit;
    dbms_lob.close(bf);
    dbms_lob.freetemporary(bl);
    end;
    PL/SQL procedure successfully completed.
    SQL>  create index t_idx on t (bl) indextype is ctxsys.context parameters ('filter ctxsys.auto_filter')
    Index created.
    SQL>  declare
       mklob   clob;
    begin
       ctx_doc.filter ('t_idx', '1', mklob, true);
       dbms_output.put_line (substr (mklob, 1, 250));
       dbms_lob.freetemporary (mklob);
    end;
    Oracle® Database
    Release Notes
    11
    g
    Release 1 (11.1) for Linux
    B32001-04
    November 2007
    This document contains important information that was not included in the
    platform-specific or product-specific documentation
    PL/SQL procedure successfully completed.This generates a text only version of your pdf and standard text comparison methods can be applied ....

  • JAXB : Issue with include XSDs

    Hi..
    I fail to generate JAXB Schema Driven Classes when I try to use a XSD which has xsd:include tag inside. Due to this include XSD, I am getting compilation error while I try to generate files using xjc command.
    Hope JAXB will have solution for handling include tags in XSD Schemas.
    Pl provide me the solution.
    Thanks in advance.
    Venkki.

    Thanx for ur quick response.
    Can u pl send me the xjc command to generate JAXB Schema Driven Classes?
    sothat I can verify whether any changes I need to do with that command for including schemas?
    Regards,
    Venkatesan R

  • External dependency on remote dtd and xsd files

    The question bugs me for years, please help.
    Should we download external dtd and xsd files declared for web.xml and faces-config.xml and pack them in the war files to eliminate the external dependency.
    e.g.
    http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd
    http://java.sun.com/dtd/web-facesconfig_1_0.dtd
    Thanks

    Hi Srikanth,
    Have you done this?
    SAP HELP
    <i>You want to import an XSD document myMessage to the Integration Repository; this document references three other XSD documents myStr1, myStr2, and myStr3 by using the <include> statement. One option is to first import myMessage. The External References tab page then shows that three documents are referenced and that these documents are not yet in the Integration Repository.  Next, create further external definitions for myStr1, myStr2, and myStr3 in the same namespace and specify the source for each of these documents. If the source is not contained in the document itself, you will find it in the referencing document. If you refresh the display of the external definition for myMessage, the External References tab page shows that the documents have been found in the Integration Repository. You can then navigate to the other referenced external definitions in the Integration Repository by double clicking.</i>
    Also, try activating just in case you haven't.
    Regards
    Vijaya

  • Export Definitions (XSD Files)

    Hi Experts,
    I'm working with integration(PI 7.1) of the Web Services and when import Export Definitions(XSD file) on "External References"  tab have one row with column source xxxx and name "null".
    Where I change the column name? Because this reference is necessary for element's type in XSD.
    Can anyone help me?
    Thank you,
    Bruno

    Hello Bruno,
    In your external definition for the referenced XSD,you would have following fields:
    1) Category: Here you select xsd
    2) File: xsdname.xsd (you select referenced xsd)
    3) Source : enter above xsd name with location as mentioned in statement include schemaLocation="\xsdname.xsd"
    Then your name under main XSD Name column should be populated.
    Please let us know if it works.
    Thanks.
    Regards,
    Shweta

  • Getting response object field value as null when importing xsd file in wsdl

    I have created a java webservice using X-Fire 1.2.6 framework and deployed on Tomcat 6.0 server. The response of the service is a java object named LoginDetail.
    Inorder to reuse the basic elements and types we have defined them in a separate Types.xsd file which have been imported in the WSDl file using xsd:import by giving the path to the xsd file.
    Below you can see the portion of the wsdl file
         <wsdl:types>
              <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                   attributeFormDefault="qualified" elementFormDefault="qualified"
                   targetNamespace="http://webservices.gtl.de/xsd">
                   <xsd:import namespace="http://webservices.gtl.de/xsd"
                        schemaLocation="file:///D:/wsdl/LoginTypes.xsd"></xsd:import>
              </xsd:schema>
         </wsdl:types>
    After deploying the application on Tomcat I could access the WSDL using a web browser and after that I could successfully generate webservice client code using using XFire wsgen ant build.
    But when tried to call the service the fields of the response object(in my case it is LoginDetail object) returns null.
    Follwing are the main class used for running the client and the output received as webservice respone.
    Main class
    public static void main(String[] args) {
    CCLoginNewClient client = new CCLoginNewClient();
    CCLoginNewPortType service     = client.getCCLoginNewHttpPort();                         
    LoginDetail loginDetail = service.getLogin("CCLoginNew", "DE", "DE", "100", "0", "CC", "15","9344");
    System.out.println("service got in response : "+loginDetail.getService());                    
    Output
    service got in response : null
    is this the right way to import an xsd file in a wsdl file?
    Any input would be appreciated!
    Thanks in advance

    PramodDas wrote:
    Output
    service got in response : nullCheck with Apache TCPMonitor what response you are receiving from web service.
    is this the right way to import an xsd file in a wsdl file?Make sure that you really need import, not the include. However, I guess it has nothing do with the actual issue. It just to make sure that you are using right option.

  • XML Validation with multiple XSD files (referenced)

    Hello,
    I know that XML validation with version 7.1 is possible now. However I was provided with a set of XSD files that have references to each other and need to be placed in a hierachical file system order so that references can be resolved.
    An element <xsl:include schemaLocation="../../baseSchemas/baseSchema.xsd" /> is used for example. How can I handle that for XSD validation in PI? Can I create the same folder structure or do I need to put all XSD files in one directory and change the import manually?
    But most important question: Is it possible it all to use more than one XSD for schema validation?

    Dear Florian,
    I had encountered such case in a project.
    I was given 3 files. One main file and 2 others called Schema1.xsd and Schema2.xsd.
    This happens because your data type is not in single namespace, but is being referred across namespaces and software components.
    I am assuming that you have read the How to Guide for XML validations on PI 7.1
    Best way to do this quickly is as follows.
    1. Enable XML validation at adapter engine in the sender agreement.
    2. Post a message using HTTP post. (http://sappihttpclient.codeplex.com)
    3. Check communication channel in runtime workbench. There will be an error saying which is missing at what path.
    4. Create the path mentioned and place the file at that path.
    5. Repeat steps 2,3,4 for all the files.
    When you are done with this, you will get a proper validation error in case XML file is not correct. And remember to generate XSD from message type and not data type.
    Regards,
    Vikas
    Edited by: Vikas Aggarwal on Sep 2, 2009 8:45 PM
    Edited by: Vikas Aggarwal on Sep 2, 2009 8:48 PM

Maybe you are looking for