Namespace URIs Using Files

All,
Is it possible to reference a namespace to a file on your hard disk? All the examples I have seen use http addresses. I have tried the file URI but receive the message given below.
Thanks,
Brian
MSV Message:
start parsing a grammar.
namespace "file:///C:/Namespaces/basic_temporal.xsd" is reference
d but no schema definition of this namespace was found.
87@file:/C:/Namespaces/base_object.xsd
failed to load a grammar.

A namespace doesn't "reference" anything. It's just a name. For some unfortunate reason, people seem to use HTTP URI's as namespaces, although there does not need to be any physical document at that URI.
So in answer to your question: you can use any series of characters you like as your namespace URI. The only rule is that it must be a URI as defined by RFC 2396, so you could use a file: URI if you liked. It just needs to be different from any other namespace URI that has ever been used by somebody else, or will ever be used by somebody else. I suppose that was the idea behind using HTTP addresses.

Similar Messages

  • ORA-19202: Error occurred in XML processingLSX-00023: unknown namespace URI

    Hi there
    I am trying to register an XSD document as an XML schema on the database. I am using Oracle 9i release 9.2.0.5.0 and using the dbms_xmlschema.registerSchema method in PL/SQL.
    I am getting the following error when trying to register:
    ORA-19202: Error occurred in XML processing LSX-00023: unknown namespace URI
    The problem seems to be caused by a local simpleType declared outside of the root element. If I remove the simpleType from the xsd, I can register it successfully as a schema on the database. However, we need the simpleType there as it defines valid values for one of the elements in the xsd.
    The xsd follows the structure:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema targetNamespace="http://www.oracle.com/VFLOC.xsd"
    xmlns:vfloc="http://www.oracle.com/VFLOC.xsd"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xdb="http://xmlns.oracle.com/xdb">
         <xsd:element name="VisionDataExchange">
              <xsd:complexType>
                   <xsd:sequence>
                        <xsd:element name="Credentials">
    ...... etc. etc.
                   </xsd:element>
                   </xsd:sequence>
              </xsd:complexType>
         </xsd:element>
         <!-- Data Types Must complete data type values from database -->
         <xsd:simpleType name="TrueFalseType">
              <xsd:restriction base="xsd:string">
                   <xsd:enumeration value="1"/>
                   <xsd:enumeration value="0"/>
                   <xsd:enumeration value="True"/>
                   <xsd:enumeration value="False"/>
              </xsd:restriction>
              <!-- 1 and 0 are preferred -->
         </xsd:simpleType>
    </xsd:schema>
    Does anyone know how I can register a schema with a targetNamespace and the local simpleType below?
    Any help would be much appreciated.
    Thanks!
    Sonya

    Hi
    I wanted to know
    1)Hw to register a schema
    2) Associate xml files with the schema
    3) hw to do read the xml files
    If you could provide a small exampl, shall appreciate
    Thanks for your help in advance
    Sushil

  • Namespace-URI is wrong in the metadata.xml??

    Dear Captivate-Community,
    I am running into troubles importing SCORM packages from Captivate 6 into our LMS.
    Our LMS  (Viversa 7.1 from VIWIS) interprets SCORM 1.2 very strict.
    It seems that the namespace-URI is wrong in the metadata.xml!
    wrong is...
    Line 4:   xmlns:pkgprop="http://www.scorm.com/ScormEnginePackageProperties"
    correct is:
    Line 4:   xmlns:pkgprop="http://www.scorm.com/xsd/ScormEnginePackageProperties"
    Has anyone else the same experience? I don´t want to change each exported file by hand...
    Thx
    :-) michael

    Hi Michael,
    yes, currently I actually have the same problem, also using the LMS Viversa. The solution from RodWard was very helpful. I change the template in Line 67 and add the "xsd/". Now it works!
    Regards
    Katharina

  • JAXB NameSpace URI

    I am currently using JAXB for data binding to our schemas. However, we maintain our schemas in each of our environments (Dev, Test, and Production). In each environment the schemas contain different namespace URIs that are relative to their environment.
    Is there anyway to compile JAXB so that it doesn't care what NameSpace URI is? This is important when validation (via JAXP) occurs so it doesn't fail when unmarshaling an XML instance generated from a different environment.
    If this is not possible my only option would be to compile 3 sets of objects for dev, test, and production which would not be a great approach : (
    Thanks
    Brian

    Having different name spaces but wanting one set of objects seem contradictory. The motivation for wanting separate name spaces frequently justifies separate objects.
    You could try specifying the same value to -p when you compile each of the schemas. This would place the bindings in the same package. However, you might run into name collisions, which you then would need to resolve (with an external binding file, e.g.).
    Regards,
    -- Ed

  • How to change namespace in outbound file

    Hi,
    When I creates a outbound file using file adapter, BPEL or jDeveloper creates a file with its own namwspace like ns1: or ns15: or so on... But if I want to change it to my own tag say like tns: or its:, is it possible?
    example:
    the usual creation in BPEL:
    <?xml version="1.0" ?><ProvisionsInterface xmlns:ns1="http://www.mycomapny.com/ns/company/payments" xmlns="http://www.mycomapny.com/ns/company/payments">
    <ns1:Provider>
    <ns1:Id>1909909</ns1:Id>
    <ns1:Name>BASSETTS</ns1:Name>
    <ns1:Addr1>1 High Street</ns1:Addr1>
    I want to change it to:
    <?xml version="1.0" ?><ProvisionsInterface xmlns:tns="http://www.mycomapny.com/ns/company/payments" xmlns="http://www.mycomapny.com/ns/company/payments">
    <tns:Provider>
    <tns:Id>1909909</tns:Id>
    <tns:Name>BASSETTS</tns:Name>
    <tns:Addr1>1 High Street</tns:Addr1>
    Any idea, plase advice.
    Regards,
    Sreejit

    Hi,
    Thanks for reply.
    Actullay the requirement is that the target system doesn't want any namespace tag in front of the elements.
    I have got the answer and created a wrapper xsd, by which you can change or remove the namespace from the output file.
    example:
    <?xml version="1.0" encoding="utf-8" ?>
    <schema xmlns="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://www.mycompany.com/ns/suppliers" <!-- target namespace from actual xsd -->
    xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd" nxsd:version="DTD">
    <include schemaLocation="NameOfActualSchema.xsd"/>
    </schema>
    Regards,
    Sreejit

  • Writing XML files using file adapter

    Hi All,
    I am using Oracle file adapter to write xml files, I am poinitng it to an xsd while specifying schema.The XML files are getting generated with target namespace information and name space prefixes in the xml data elements. I have a specific requirement to create xml files without any namespace/name space prefix tags in it. Can we acheive it using file adapter?
    otherwise is there anyother way of doing this in bpel.
    Any suggestions are welcome.
    Thanks

    What is the name you have entered in sender channel, if you have entered.pdf only it process PDF files. select option skip empty file option in sender channel and enter name ..
    most probably this issue coming with empty files.

  • ERR: EXCEPTION_DURING_EXECUTE while using FILE CONTENT CONVERSION

    Hi,
    I'm trying a file to file scenario with File Content Conversion for Sender communication channel. But am getting the following error in SXMB_MONI
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area=<b>"MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code> </b>
      <SAP:P1>com/sap/xi/tf/_MM_ContentBased_</SAP:P1>
      <SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>
      <SAP:P3>RuntimeException in Message-Mapping transformatio~</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>During the application mapping com/sap/xi/tf/_MM_ContentBased_ a com.sap.aii.utilxi.misc.api.BaseRuntimeException was thrown: RuntimeException in Message-Mapping transformatio~</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    I tried the same message mapping for normal file to file scenario without using File Content Conversion. It went through fine.
    <b>Our file structure follows</b>
        <Header>
          <Sysnum>01</Sysnum>
       </Header>
       <Body>
          <Name>ABCDE</Name>
          <Age>25</Age>
          <Stream>XYZ</Stream>
       </Body>
      <b>The Sender Communication Channel Parameters follows:
    </b>
      Recordset Str:  Header,1,Body,1
      Header.fieldFixedLengths : 2
      Header.fieldNames : Sysnum
      Body.fieldFixedLengths : 5,2,3
      Body.fieldNames : Name,Age,Stream
      ignoreRecordsetName : true
      Looking for a solution
    Thanks,
    Ajay.

    Hi Ajay,
    your message mapping failed.
    Copy the XML message from monitoring and exectute the mapping in Integration Builder with maximal trace to get the reason.
    Regards,
    Udo

  • Posting XML using FILE adapter returns "HTTP_RESP_STATUS_CODE_NOT_OK"

    Hi,
    I am trying do very simple demo which reads a simple XML message from a ftp server and post that message directly to the same ftp server using FILE adapter.
    So, I add my xml message like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns:TxMessage xmlns:ns="http://bsa.sisl.com">
      <Name>Bibinu</Name>
      <Address>Kalyan</Address>
    </ns:TxMessage>
    but I get a error message back from the Integration Server as:
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>
      <SAP:P1>401</SAP:P1>
      <SAP:P2>Unauthorized</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt; &lt;html&gt; &lt;head&gt; &lt;title&gt;Error Report&lt;/title&gt; &lt;style&gt; td {font-family : Arial, Tahoma, Helvetica, sans-serif; font-size : 14px;} A:link A:visited A:active &lt;/style&gt; &lt;/head&gt; &lt;body marginwidth=&quot;0&quot; marginheight=&quot;0&quot; leftmargin=&quot;0&quot; topmargin=&quot;0&quot; rightmargin=&quot;0&quot;&gt; &lt;table width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; align=&quot;left&quot; height=&quot;75&quot;&gt; &lt;tr bgcolor=&quot;#FFFFFF&quot;&gt; &lt;td align=&quot;left&quot; colspan=&quot;2&quot; height=&quot;48&quot;&gt;&lt;font face=&quot;Arial, Verdana, Helvetica&quot; size=&quot;4&quot; color=&quot;#666666&quot;&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;401 &amp;nbsp Unauthorized&lt;/b&gt;&lt;/font&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr bgcolor=&quot;#3F73A3&quot;&gt; &lt;td height=&quot;23&quot; width=&quot;84&quot;&gt;&lt;img width=1 height=1 border=0 alt=&quot;&quot;&gt;&lt;/td&gt; &lt;td height=&quot;23&quot;&gt;&lt;img width=1 height=1 border=0 alt=&quot;&quot;&gt;&lt;/td&gt; &lt;td align=&quot;right&quot; height=&quot;23&quot;&gt;&lt;font face=&quot;Arial, Verdana, Helvetica&quot; size=&quot;2&quot; color=&quot;#FFFFFF&quot;&gt;&lt;b&gt;SAP J2EE Engine/6.40&amp;nbsp;&lt;/b&gt;&lt;/font&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr bgcolor=&quot;#9DCDFD&quot;&gt; &lt;td height=&quot;4&quot; colspan=&quot;3&quot;&gt;&lt;img width=1 height=1 border=0 alt=&quot;&quot;&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt; &lt;p&gt;&lt;font face=&quot;Arial, Verdana, Helvetica&quot; size=&quot;3&quot; color=&quot;#000000&quot;&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;User is locked.&lt;/b&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face=&quot;Arial, Verdana, Helvetica&quot; size=&quot;2&quot; color=&quot;#000000&quot;&gt;&lt;table&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;b&gt;&amp;nbsp;Details:&lt;/b&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;&lt;PRE&gt;No details available&lt;/PRE&gt;&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/font&gt;&lt;/p&gt; &lt;/body&gt; &lt;/html&gt;</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>HTTP response contains status code 401 with the description Unauthorized XML tag Envelope missing in SOAP message header (SAP XI Extension)</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Seems like I am missing the Envelope. What does the Envelope supposed to look like or should contain so that the scenario should work?
    Thanks !

    Did you resolve the problem?? I have the same problem, and there's no informatin about it.
    Thanks!!

  • Reading .pdx file using File Adapter

    Hi,
    I have .pdx file in the input directory of my BPEL process .Also i have the DTD of the pdx file.Using file Adapter wizard i converted tht DTD to the XSD.Now when I run my BPEL process i am getting this error.
    Failed to translate file : {C:\OraBPELPM_1\integration\jdev\jdev\mywo
    rk\TestWs\readPDX\inputDr\agile_20070621_050222833.pdx}
    <2007-07-06 23:08:38,137> <INFO> <default.collaxa.cube.activation> <File Adapter
    ::Inbound> Sending message to Adapter Framework for rejection to user-configured
    rejection handlers : {
    file=C:\OraBPELPM_1\integration\jdev\jdev\mywork\TestWs\readPDX\inputDr\agile_2
    0070621_050222833.pdx, Exception=ORABPEL-11207
    IO Failure in translator.
    IO failure because the translator failed to SAX Parse InputStream .
    Check the error stack and fix the cause of the error. Contact oracle support if
    error is not fixable.
    <2007-07-06 23:08:38,138> <WARN> <default.collaxa.cube.activation> <AdapterFrame
    work::Inbound> [Read_ptt::Read(ProductDataeXchangePackage)] - onReject: The reso
    urce adapter 'File Adapter' requested handling of a malformed inbound message. H
    owever, the following bpel.xml activation property has not been defined: 'reject
    edMessageHandlers'. Please define it and redeploy the business process. Will use
    the default Rejection Directory file://C:\OraBPELPM_1\integration\orabpel\domai
    ns\default\archive\jca\readPDX\rejectedMessages for now.
    <2007-07-06 23:08:38,138> <WARN> <default.collaxa.cube.activation> <AdapterFrame
    work::Inbound> [Read_ptt::Read(ProductDataeXchangePackage)] - onReject: Sending
    invalid inbound message to Exception Handler:
    <2007-07-06 23:08:38,138> <INFO> <default.collaxa.cube.activation> <AdapterFrame
    work::Inbound> Handing rejected message to DEFAULT rejection handler: file://C:\
    OraBPELPM_1\integration\orabpel\domains\default\archive\jca\readPDX\rejectedMess
    ages since none of the configured rejection handlers [] succeeded.
    <2007-07-06 23:08:38,142> <INFO> <default.collaxa.cube.activation> <File Adapter
    ::Inbound> Deleting file : C:\OraBPELPM_1\integration\jdev\jdev\mywork\TestWs\re
    adPDX\inputDr\agile_20070621_050222833.pdx after processing.
    Can somebody help me to find how to rectify this?
    Thanks in Advance

    Hi Anirudh,
    Please have a look at the answers for ur questions:
    (1)Is it a .pdf file?
    its a .pdx file.This file is generated from Agile PLM side.It consists of DTD information and the actual xml.If i rename it to .xml then its working fine.But i would be getting this file in .pdx format
    (2)Its size?
    It can be 73 MB
    (3)Using a file adapter to pick the file?
    Yes
    (4)Picking from the local box or a remote one?
    For the time being i am picking it up from the local box.But going fwd it shld be from remote
    (5)Any firewall being used?
    No
    (6)Is the schema correct and confirming with right namespaces?
    Yes
    (7)BPEL version?
    10.1.2
    Thanks
    Cheers
    Anirudh Pucha

  • Pooling data from an XML file to another XML file using File Adapter

    Hi,
    I am trying to Pool data from an XML file to another XML file using File Adapter. I have added "Target Namespace" in both the XML and XSD.The problem is "At the destination given in the FileAdapter" only a blank XML file is created and it doesnot have any data.
    Kindly suggest me some methods
    Thanks in Advance.

    Ok here is a solution with external tables.
    SQL> CREATE DIRECTORY my_xml_dir AS 'E:\oracle\Log_files\UTL_AKIVATST'
    2 /
    Directory created.
    SQL> DROP TABLE my_xml_et
    2 /
    Table dropped.
    SQL> CREATE TABLE my_xml_et
    2 ( EMPNO NUMBER,
    3 EMPNAME VARCHAR2(10),
    4 JOB VARCHAR2(10),
    5 HIREDATE DATE,
    6 SAL NUMBER
    7 )
    8 ORGANIZATION EXTERNAL
    9 (
    10 TYPE ORACLE_LOADER
    11 DEFAULT DIRECTORY my_xml_dir
    12 ACCESS PARAMETERS
    13 (
    14 records delimited by "</EMP>"
    15 badfile my_xml_dir:'empxt%a_%p.bad'
    16 logfile my_xml_dir:'empxt%a_%p.log'
    17 FIELDS
    18 (
    19 filler char(2000) terminated by "<EMP>",
    20 EMPNO char(2000) enclosed by "<EMPNO>" and "</EMPNO>",
    21 EMPNAME char(2000) enclosed by "<ENAME>" and "</ENAME>",
    22 JOB char(2000) enclosed by "<JOB>" and "</JOB>",
    23 HIREDATE char(2000) enclosed by "<HIREDATE>" and "</HIREDATE>",
    24 SAL char(2000) enclosed by "<SAL>" and "</SAL>"
    25 )
    26 )
    27 LOCATION ('emp.xml')
    28 )
    29 PARALLEL
    30 REJECT LIMIT UNLIMITED
    31 /
    Table created.
    SQL> SELECT * FROM my_xml_et
    2 /
    EMPNO EMPNAME JOB HIREDATE SAL
    7369 SMITH CLERK 17-DEC-80 800
    7499 ALLEN SALESMAN 20-FEB-81 1600
    This is the XML file i used emp.xml
    <EMPLOYEES>
    <EMP>
    <EMPNO>7369</EMPNO>
    <ENAME>SMITH</ENAME>
    <JOB>CLERK</JOB>
    <HIREDATE>17-DEC-80</HIREDATE>
    <SAL>800</SAL>
    </EMP>
    <EMP>
    <EMPNO>7499</EMPNO>
    <ENAME>ALLEN</ENAME>
    <JOB>SALESMAN</JOB>
    <HIREDATE>20-FEB-81</HIREDATE>
    <SAL>1600</SAL>
    <COMM>300</COMM>
    </EMP>
    </EMPLOYEES>
    Use this external table to insert into your table.
    Thanks,
    Karthick.

  • Polling xml file using file adapter

    Hi,
    when i am polling xml file using file adapter, xml file received properly.
    After receiving activity i am using assign activity to copy values to another variables, here i am getting error the values are not updated.
    My xml comes with out namespace, when we put namespace then only values are updated.
    What i need to do to update values.
    Regards,
    eeswar.

    after configuring the file adapter, define the interface of the BPEL using "based on the WSDL " option and select the wsdl of the file adapter , see whether it helps...

  • "unknown namespace URI" during schema registration

    I have an XML containing other XMLs, grouping them together. The contained XMLs namespaces are different.
    Anybody knows a way to register such an xml? (Except including the schemas into each other. I don't have the oppurtunity to change the xmls.)
    Here is the example:
    First the xml instance:
    <?xml version="1.0" encoding="UTF-8"?>
    <variables xmlns="http://www.wildom.com/neaddfel/2612">
    <folder_form_2613>
    <variables xmlns="http://www.wildom.com/neaddfel/2613">
    <form.id>4520</form.id>
    <form.type>folderform</form.type>
    <form.type_id>2613</form.type_id>
    <form.type_name>teszteset</form.type_name>
    <form.xslt>null</form.xslt>
    <t_comment/>
    <t_input>2222222222222222222222</t_input>
    </variables>
    </folder_form_2613>
    <folder_form_2614>
    <variables xmlns="http://www.wildom.com/neaddfel/2614">
    <form.id>4520</form.id>
    <form.type>folderform</form.type>
    <form.type_id>2613</form.type_id>
    <form.type_name>teszteset</form.type_name>
    <form.xslt>null</form.xslt>
    <t_comment/>
    <t_input>2222222222222222222222</t_input>
    </variables>
    </folder_form_2614>
    <folder.company_address_city>Bp.</folder.company_address_city>
    <folder.company_address_id>TuzeŠr utca 42.</folder.company_address_id>
    <folder.company_address_zip>1122</folder.company_address_zip>
    <folder.company_id>522</folder.company_id>
    <folder.company_name>Breona kft.</folder.company_name>
    <folder.hir_id>null</folder.hir_id>
    <folder.id>4521</folder.id>
    <folder.type_id>2612</folder.type_id>
    <folder.type_name>FSDTGSH</folder.type_name>
    <folder.userid>602</folder.userid>
    <folder.username>[email protected]</folder.username>
    <folder.xslt>FSDTGSH</folder.xslt>
    </variables>
    Now the xsds:
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.wildom.com/neaddfel/2613" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="variables" type="ns:variablesType" xmlns:ns="http://www.wildom.com/neaddfel/2613"/>
    <xs:complexType name="variablesType">
    <xs:sequence>
    <xs:element type="xs:string" name="form.id"/>
    <xs:element type="xs:string" name="form.type"/>
    <xs:element type="xs:string" name="form.type_id"/>
    <xs:element type="xs:string" name="form.type_name"/>
    <xs:element type="xs:string" name="form.xslt"/>
    <xs:element type="xs:string" name="t_comment"/>
    <xs:element type="xs:string" name="t_input"/>
    </xs:sequence>
    </xs:complexType>
    </xs:schema>
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.wildom.com/neaddfel/2614" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="variables" type="ns:variablesType" xmlns:ns="http://www.wildom.com/neaddfel/2614"/>
    <xs:complexType name="variablesType">
    <xs:sequence>
    <xs:element type="xs:string" name="form.id"/>
    <xs:element type="xs:string" name="form.type"/>
    <xs:element type="xs:string" name="form.type_id"/>
    <xs:element type="xs:string" name="form.type_name"/>
    <xs:element type="xs:string" name="form.xslt"/>
    <xs:element type="xs:string" name="t_comment"/>
    <xs:element type="xs:string" name="t_input"/>
    </xs:sequence>
    </xs:complexType>
    </xs:schema>
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.wildom.com/neaddfel/2612" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="variables" type="ns:variablesType" xmlns:ns="http://www.wildom.com/neaddfel/2612"/>
    <xs:complexType name="folder_form_2614Type">
    <xs:sequence>
    <xs:element ref="ns:variables" xmlns:ns="http://www.wildom.com/neaddfel/2614"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="variablesType">
    <xs:sequence>
    <xs:element type="ns:folder_form_2613Type" name="folder_form_2613" xmlns:ns="http://www.wildom.com/neaddfel/2612"/>
    <xs:element type="ns:folder_form_2614Type" name="folder_form_2614" xmlns:ns="http://www.wildom.com/neaddfel/2612"/>
    <xs:element type="xs:string" name="folder.company_address_city"/>
    <xs:element type="xs:string" name="folder.company_address_id"/>
    <xs:element type="xs:string" name="folder.company_address_zip"/>
    <xs:element type="xs:string" name="folder.company_id"/>
    <xs:element type="xs:string" name="folder.company_name"/>
    <xs:element type="xs:string" name="folder.hir_id"/>
    <xs:element type="xs:string" name="folder.id"/>
    <xs:element type="xs:string" name="folder.type_id"/>
    <xs:element type="xs:string" name="folder.type_name"/>
    <xs:element type="xs:string" name="folder.userid"/>
    <xs:element type="xs:string" name="folder.username"/>
    <xs:element type="xs:string" name="folder.xslt"/>
    </xs:sequence>
    </xs:complexType>
    <xs:complexType name="folder_form_2613Type">
    <xs:sequence>
    <xs:element ref="ns:variables" xmlns:ns="http://www.wildom.com/neaddfel/2613"/>
    </xs:sequence>
    </xs:complexType>
    </xs:schema>
    As you can see, the last xsd only refers to the "variables" element in the first two.
    When I register this xsd with:
    DBMS_XMLSCHEMA.RegisterSchema(schemaurl=>'http://www.wildom.com/neaddfel/2612',schemadoc=>acctschema,local=>false,gentypes=>true,genbean=>FALSE,gentables=>true,force=>false,owner=>'neaddfel_xml');
    I've got the error:
    ORA-31154: invalid XML document
    ORA-19202: Error occurred in XML processing
    LSX-00023: unknown namespace URI "http://www.wildom.com/neaddfel/2614"
    ORA-06512: at "XDB.DBMS_XMLSCHEMA_INT", line 3
    ORA-06512: at "XDB.DBMS_XMLSCHEMA", line 14
    ORA-06512: at line 35
    Is there any way to tell to XDB to use the first two xsd? I would like to store the contained xmls in the tables generated by the registration of the first two xsds.
    I think I need a registerschema syntax that accepts multiple source xsd schemaurls...
    Like in some validation APIs where one can define multiple xsds to validate the xml against...
    Any idea?
    TIA: gviczai

    Normally when you get an error like " "unknown namespace URI" during schema registration " you encountered one of the following issues:
    - The namespace is not registered in the XMLDB repository
    - The namespace is registered, but can not be found on the referred location
    - The namespace is registered, but you don't have the needed privileges to call it
    - You refer to an URI outside the database, which is not allowed (URI's must be registered in the repository)

  • Asdoc how to add a custom local namespace with manifest file?

    Hi there,
    I use the flex 4 beta1 sdk to test the following:
    I have:
    MainScreen.mxml:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:mx="library://ns.adobe.com/flex/halo"
        xmlns:views="com.xyz.core.view.components.*"
        >
        <views:AbcView id="abcView" right="20" />
    </s:Group>
    I tried to use a manifest file which seems to be how to handle this kind of situation (using ant):
        <arg line="-namespace views ${manifest.file}"/>
        <arg line="-doc-namespaces views"/>
    the manifest.xml contain the following:
    <?xml version="1.0" encoding="UTF-8"?>
    <componentPackage>
               <component id="AbcView" class="com.xyz.core.view.components.AbcView" />
    </componentPackage>
    when I compile asdoc return the following error:
    ...MainScreen.mxml(52):  Error: Type was not found or was not a compile-time constant: AbcView
    Any idea how I can force asdoc to add/recognize AbcView.mxml ? Is my use of manifest file correct in this situation?
    Thank you in advance for your help.
    Best regards.
    maddec

    Hello,
    >Do you have the source path defined?
    yes definitely.
    >and does it contains the folder that is parent of com.xyz.core.view.components ?
    yes absolutely
    >Can you post your complete call to asdoc?
    Please find below the ant task I use:
    Thank you very much for your help.
    <?xml version="1.0" encoding="UTF-8"?>
    <project name="asdoc" default="main" basedir=".">
    <!--
        Properties Definitions
    -->
        <!-- The Location of Flex on your Computer -->
        <property name="Flex.dir" location="C:\Program Files (x86)\Adobe\Flex Builder 3 Plug-in"/>
        <!-- The Location of FlexSDK on your Computer -->
        <property name="FlexSDK.dir" location="${Flex.dir}\sdks\4.0.0.7219"/>
        <!-- <property name="FlexSDK.latest.build.dir" location="${Flex.dir}\sdks\4.0.0.12412"/> -->
        <!-- The Location of ASDocs on your Computer -->
        <property name="asDocs.exe" location="${FlexSDK.dir}\bin\asdoc.exe"/>
        <!-- main path info -->   
        <!--
            The Location of your Application Classes on your Computer
            NOTE: This Path should be relative to the build.xml file.
            NOTE: ${basedir} is an ant property that represents the directory holding the build.xml file
            NOTE: I have encountered issues with this folder containing Spaces
        -->
        <property name="AppClasses.dir" value='-doc-sources "${basedir}/src"'/>
        <property name="asdoc.source.paths" value='-source-path "${basedir}/src/"' />
        <!-- configs -->
        <property name="asdoc.config" value='-load-config="${FlexSDK.dir}/frameworks/flex-config.xml"' />
        <property name="sp.config" value='-load-config+="${basedir}/conditionalCompil.xml"' />
        <!-- additional path info -->   
        <property name="source.path.srcShared" value='-source-path+="D:/analogdesign/Clients/Minsh/flash/GIT-sources/minsh-flex-widget/s rcShared"' />
        <property name="libs.path" value='-external-library-path="${basedir}/libs"' />
        <!-- custom components -->
        <property name="manifest.file" location="${basedir}\ant\customCpnsManifest.xml" />
        <!-- branding data -->
        <property name="window.title" value='-window-title="Minsh API Documentation"' />
        <property name="main.title" value='-main-title="Minsh API Documentation"' />
        <!--
            The Location you wish to output to on your Computer
            NOTE: I have encountered issues with this folder containing Spaces
            NOTE: This location gets DELETED and re-generated each time the build is run
        -->
        <property name="output.dir" location="${basedir}\output\AppDocs"/>
        <property name="asdoc.output" value='-output="${output.dir}"' />
    <!--
        Execute the ASDoc Compile
    -->
    <target name="main" depends="clean,compile" description="full build of asdocs"/>
    <!--
        DELETE the existing output folder and files and then re-generate the output folder
    -->
    <target name="clean">
        <delete dir="${output.dir}" failOnError="false" includeEmptyDirs="true"/>
        <mkdir dir="${output.dir}"/>
    </target>
    <!--
        Run the ASDoc executable and generate the ASDocs to the new output folder
    -->
    <target name="compile">
        <exec executable="${asDocs.exe}" failonerror="true">
            <arg line="${asdoc.config}"/>
            <arg line="${sp.config}"/>
            <arg line="${asdoc.source.paths}"/>
            <arg line="${AppClasses.dir}"/>
            <arg line="${libs.path}"/>
            <arg line="${source.path.srcShared}"/>
            <arg line="-namespace views ${manifest.file}"/>
            <arg line="-doc-namespaces views"/>
            <arg line="${window.title}"/>
            <arg line="${main.title}"/>
            <arg line="${asdoc.output}"/>
        </exec>
    </target>
    </project>
    Best regards.
    maddec

  • Namespace on inbound file

    Hello all,
    I initially had followed the tutorial for setting up inbound purchase orders via X12. Everything was working well. I then created a BPEL process based upon that configuration. Documents that were coming in via the IP_IN_QUEUE had a namespace of "http://www.edifecs.com/xdata/100," which was fine.
    I then decided to purge the configuration from the B2B server and start fresh so that I could document the setup steps. I created my own 850.ecs using the oracle B2B document editor and did an export to Oracle B2B format to get the xsd. I then manually edited the xsd to set the xmlns and targetNamespace to "http://www.edifecs.com/xdata/100"
    However, now my documents are coming in with a gibberish namespace "NS_31CA8D0F33324F95A0BF15D85539C27E20070827092703"
    I do know how to fix my bpel process WSDL, xsd, xsl, etc files, but I'd like it to work like it did before and have the namespace be http://www.edifecs.com/xdata/100 again.
    Is there any way to make this happen?
    John

    Hi Ramesh,
    I have just tried this with a completely fresh install of B2B with patch 6139949 installed. I did use the latest Document Editor as well (patch 5571764). The document editor generates an xsd with a namespace in the new format (urn:oracle:integration:b2b:4B6F....), but the message that is getting enqueued onto the internal delivery channel (IP_IN_QUEUE) has a namespace like NS_31CA8...
    It doesn't look even remotely similar to the namespace in the XSD file. Of course, I can make a copy of the XSD file and change the namespace for use in my BPEL process, but that seems kind of kludgy.
    To summarize:
    1). Using the latest B2B document editor, I have an ecs file and an xsd file. The xsd file has a namespace like urn:oracle:....
    2). When processing an inbound message (EDI X12), I get an XML message that has a namespace like NS_...
    3). The namespaces of the xsd file and the XML message do not match.
    By the way - I used the document editor from patch 5550097 and not patch 5193492 - I assume that this is OK, given that 5550097 is later?
    Am I missing something?
    An update. I just tried creating a new ECS file / XSD - the B2B engine is now sending the XML payload with a matching namespace...
    John

  • XPath function namespace-uri in Mediator raises ORAMED-01004

    Hi,
    In a mediator component (SOA Suite 11g) I try to use some XPath functions.
    "name" and "local-name" do just fine, but when I try to use "namespace-uri" I always get an ORAMED-01004 error.
    Like this:
    oracle.tip.mediator.infra.exception.MediatorException: ORAMED-01004:[Multiple source nodes]Source expression "namespace-uri($in.berichtPart/child::*)" resulted in multiple node for source message which is not supportedPossible Fix:Please check expression for correctness. Modify source expression based on the requirement otherwise contact Oracle for support
    I seems like a bug to me as namespace-uri should return a string, just like name and local-name...
    Xpath spec: Function: string namespace-uri(node-set?)
    Can anyone confirm? Am I missing something???
    Groeten,
    HJH

    Any solution to this?

Maybe you are looking for

  • No valid payment method found (T code F110 autoPayment)

    Dear All, When we define ranking order in bank determination for auto payment program. System issue no messages otherwise for not defining ranking order system issues error message No valid payment method found However, i have define payment method a

  • How can I lock content behind a paid gateway in Muse w /BC hosting?

    Does anyone know how I can lock content byhind a paid gateway within Muse with Business Catalyst hosting?

  • Re: Windows Recovery Partition is not working

    Hi All! My brother's Toshiba A500 laptop with Windows 7 32bit got antimalware doctor and after deleting it fully, got problems with the OS (such as programs slowing considerably after randomly minimising during operation) and so we backed up everythi

  • Adobe 10.1.2  crashes when attempting to print.

    Still expericing problem with printing in citrix enviroment running xenapp 4.5 on windows 2003 64 bit. Workaround to disable protection mode worked for a few day and they stopped also the shared printer name fix does not apply since the printer are a

  • Fire Portal Event to another User

    Hi there, is it possible to send a PortalEvent to a certain portal user ? I would like to send a message from one User / WD-Application in the EP6.0 to another User / WD-Application in the portal. Regards, Claus