"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)

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

  • Error while trying to use BFILENAME during schema registration

    Hi,
    I'm having difficulty in understanding the BFILENAME function while trying to register a schema. The schema is physically present in the following location
    USERNAME: WEBUSER
    LOCATION: XML Schemas ---> MyHeaderSchema.xsd
    And I'm trying to register it as follows:
    declare
    V_XML_SCHEMA XMLTYPE := XMLType(BFILENAME('WEBUSER','MyHeaderSchema.xsd'),nls_charset_id('AL32UTF8'));
    begin
    DBMS_XMLSCHEMA.registerSchema
    SCHEMAURL => 'http://my.schemas.com/header.xsd',
    SCHEMADOC => V_XML_SCHEMA,
    LOCAL => TRUE,
    GENBEAN => FALSE,
    GENTYPES => TRUE,
    GENTABLES => FALSE,
    ENABLEHIERARCHY => DBMS_XMLSCHEMA.ENABLE_HIERARCHY_NONE
    end;
    I get the error:
    Error report:
    ORA-22285: non-existent directory or file for FILEOPEN operation
    ORA-06512: at "SYS.XMLTYPE", line 296
    ORA-06512: at line 2
    22285. 00000 - "non-existent directory or file for %s operation"
    *Cause:    Attempted to access a directory that does not exist, or attempted
    to access a file in a directory that does not exist.
    *Action:   Ensure that a system object corresponding to the specified
    directory exists in the database dictionary, or
    make sure the name is correct.
    Can you please help?

    I was curious if there was already some functionality in SQL Developer I might have missed. So I checked. Apparently SQL Developer still doesn't have any functionality to support XML Schema's in / for XMLDB (I keep them asking, but anyway).
    So an XML Schema is just treated as plain text. Still.
    However, the following worked for me. Is there a difference if I use XDBURIType Vs BFILENAME and do a getBLOB() Vs XMLType?XDBUriType is part of the URIType factory functionality and in this case, XDBUritype enables you to get the content stored out of the XDB Repository
    BFileName give you the possibility to get your content from the server via a BFile locator construct
    getBLOB is an operator on xdburitype and converts the uritype datatype into binary LOB datatype
    XMLType is the datatype that should be used for XML content
    If you use GENTYPES => TRUE then during registration via using DBMS_XMLSCHEMA objects and types will be created to "represent" the "format" of the XML defined by the XML Schema.

  • Error cpp xmlschema, unknown namespace

    Hello,
    I'm using cpp_xmlschema_nt_1_0_1 SDK.
    Using the namespace
    http://www.w3.org/2000/10/XMLSchema
    I got the error
    "? unknown namespace URI ..."
    What is wrong ?

    The namespace keeps changing each time the schema working draft gets updated. It was http://www.w3.org/2000/08/XMLSchema at the time the 1.0.1 schema processor was developed.

  • Oracle Service Registry: UDDI API v3 WSDL returns unknown-location-uri

    Hi,
    I've tried to access the UDDI API v3 wsdl and it's showing unknown-location-uri for all 3 APIs (security, publication, inquiry). I've tried updating tModels related to these 3 APIs and the results are the same. Does anyone know how to make it return a valid address location?
    WSDL link: http://192.100.1.1:8021/registry/uddi/doc/wsdl/uddi_api_v3.wsdl
    Result:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <definitions name="UDDI_API_V3" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:api_v3_binding="urn:uddi-org:api_v3_binding" xmlns:tns="urn:uddi-org:api_v3" targetNamespace="urn:uddi-org:api_v3">
    <documentation>Copyright 2001-2005 Systinet Corp. All rights reserved. Use is subject to license terms. WSDL SOAP/HTTP binding for UDDI V3 Security, Publication and Inquiry APIs.</documentation>
    <import namespace="urn:uddi-org:api_v3_binding" location="uddi_api_v3_binding.wsdl" />
    - <service name="UDDI_Security_SoapService">
    - <port name="UDDI_Security_PortType" binding="api_v3_binding:UDDI_Security_SoapBinding">
    <soap:address location="urn:unknown-location-uri" />
    </port>
    </service>
    - <service name="UDDI_Publication_SoapService">
    - <port name="UDDI_Publication_PortType" binding="api_v3_binding:UDDI_Publication_SoapBinding">
    <soap:address location="urn:unknown-location-uri" />
    </port>
    </service>
    - <service name="UDDI_Inquiry_SoapService">
    - <port name="UDDI_Inquiry_PortType" binding="api_v3_binding:UDDI_Inquiry_SoapBinding">
    <soap:address location="urn:unknown-location-uri" />
    </port>
    </service>
    </definitions>

    perhaps it may help others .
    It SSL handshake which is failing and that's because certificate is not trusted. certificates need be added to keystore of server.

  • Unknown Namespace when creating Client Proxy

    Hi,
    I'm trying to generate a client proxy using Local File.
    It gives error
    Incorrect value: Unknown Namespace urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2
    The wsdl file does not give any error.
    This error seems to be coming from XSD file  named UBL-CommonAggregateComponents-2.0.xsd
    Below is part of this XSD file.
    Can you tell me what is the problem here.
    <!-- ===== xsd:schema Element With Namespaces Declarations ===== --><xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                xmlns="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
                xmlns:cbc="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"
                xmlns:udt="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2"
                xmlns:ccts="urn:un:unece:uncefact:documentation:2"
                xmlns:qdt="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2"
                targetNamespace="urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2"
                elementFormDefault="qualified"
                attributeFormDefault="unqualified"
                version="2.0"><!-- ===== Imports ===== --><xsd:import namespace="urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2"
                   schemaLocation="UBL-CommonBasicComponents-2.0.xsd"/>
       <xsd:import namespace="urn:un:unece:uncefact:data:specification:UnqualifiedDataTypesSchemaModule:2"
                   schemaLocation="UnqualifiedDataTypeSchemaModule-2.0.xsd"/>
       <xsd:import namespace="urn:oasis:names:specification:ubl:schema:xsd:QualifiedDatatypes-2"
                   schemaLocation="UBL-QualifiedDatatypes-2.0.xsd"/>
    Thanks
    Girishkumar

    Hi ,
    Make sure no restriction from firewall on proxy settings.
    Namespace you are using for client proxy may not be available for consumption/not published.
    Also , Try to check connection.
    OSS note 944029 will give you SAP restrictions on name space.
    Regards
    Nagaraju

  • 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.

  • Unknown namespace error when generating a client proxy

    We are using WAS 7.0 and I'm trying to generate a client proxy for an inhouse webservice via Object Navigator (SE80). When using the Wizard I get an error message from the Librabry Handler saying: "Unknown namespace: http://schemas.xmlsoap.org/soap/encoding".
    A check by the colleagues who provide this Webservice says that the wsdl is ok.
    Any idea for this error message?
    Many Thanks.
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions targetNamespace="http://saphrmitarbeiterdaten.de.tnt.com" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://saphrmitarbeiterdaten.de.tnt.com" xmlns:intf="http://saphrmitarbeiterdaten.de.tnt.com" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <!--WSDL created by Apache Axis version: 1.2.1
    Built on Aug 08, 2005 (11:49:10 PDT)-->
    <wsdl:types>
      <schema targetNamespace="http://saphrmitarbeiterdaten.de.tnt.com" xmlns="http://www.w3.org/2001/XMLSchema">
       <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
       <complexType name="SAPHRMitarbeiterDatenMitarbeiter">
        <sequence>
         <element name="Bukrs" nillable="true" type="xsd:string"/>
         <element name="Werks" nillable="true" type="xsd:string"/>
         <element name="Kostl1" nillable="true" type="xsd:string"/>
         <element name="Kostl2" nillable="true" type="xsd:string"/>
         <element name="Persk" nillable="true" type="xsd:string"/>
         <element name="Pernr" nillable="true" type="xsd:string"/>
         <element name="Nachn" nillable="true" type="xsd:string"/>
         <element name="Vorna" nillable="true" type="xsd:string"/>
         <element name="Eintr" nillable="true" type="xsd:string"/>
         <element name="Austr" nillable="true" type="xsd:string"/>
         <element name="Sacha" nillable="true" type="xsd:string"/>
         <element name="Sachn" nillable="true" type="xsd:string"/>
         <element name="IAKen" nillable="true" type="xsd:string"/>
         <element name="IABeg" nillable="true" type="xsd:string"/>
         <element name="IAEnd" nillable="true" type="xsd:string"/>
         <element name="Level" nillable="true" type="xsd:string"/>
         <element name="Stelle" nillable="true" type="xsd:string"/>
         <element name="Abtlg" nillable="true" type="xsd:string"/>
         <element name="Mgr_Pernr" nillable="true" type="xsd:string"/>
         <element name="Mgr_Name" nillable="true" type="xsd:string"/>
        </sequence>
       </complexType>
       <complexType name="ArrayOfSAPHRMitarbeiterDatenMitarbeiter">
        <complexContent>
         <restriction base="soapenc:Array">
          <attribute ref="soapenc:arrayType" wsdl:arrayType="impl:SAPHRMitarbeiterDatenMitarbeiter[]"/>
         </restriction>
        </complexContent>
       </complexType>
      </schema>
    </wsdl:types>
       <wsdl:message name="ReadDataResponse">
          <wsdl:part name="ReadDataReturn" type="impl:ArrayOfSAPHRMitarbeiterDatenMitarbeiter"/>
       </wsdl:message>
       <wsdl:message name="ReadDataRequest">
          <wsdl:part name="in0" type="xsd:string"/>
          <wsdl:part name="in1" type="xsd:string"/>
          <wsdl:part name="in2" type="xsd:string"/>
          <wsdl:part name="in3" type="xsd:string"/>
       </wsdl:message>
       <wsdl:portType name="SAPHRMitarbeiterDatenRead">
          <wsdl:operation name="ReadData" parameterOrder="in0 in1 in2 in3">
             <wsdl:input message="impl:ReadDataRequest" name="ReadDataRequest"/>
             <wsdl:output message="impl:ReadDataResponse" name="ReadDataResponse"/>
          </wsdl:operation>
       </wsdl:portType>
       <wsdl:binding name="SAPHRMitarbeiterDatenReadSoapBinding" type="impl:SAPHRMitarbeiterDatenRead">
          <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
          <wsdl:operation name="ReadData">
             <wsdlsoap:operation soapAction=""/>
             <wsdl:input name="ReadDataRequest">
                <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://saphrmitarbeiterdaten.de.tnt.com" use="encoded"/>
             </wsdl:input>
             <wsdl:output name="ReadDataResponse">
                <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="http://saphrmitarbeiterdaten.de.tnt.com" use="encoded"/>
             </wsdl:output>
          </wsdl:operation>
       </wsdl:binding>
       <wsdl:service name="SAPHRMitarbeiterDatenReadService">
          <wsdl:port binding="impl:SAPHRMitarbeiterDatenReadSoapBinding" name="SAPHRMitarbeiterDatenRead">
             <wsdlsoap:address location="http://194.55.55.58:7001/SAPHRMitarbeiterDatenWebservice/services/SAPHRMitarbeiterDatenRead"/>
          </wsdl:port>
       </wsdl:service>
    </wsdl:definitions>

    Hi Michael,
    the use of soapenc:Array is not supported. There are other ways to declare arrays:
    -In a DESCRIPTION, array declarations MUST NOT extend or restrict the soapenc:Array type.
    -In a DESCRIPTION, array declarations MUST NOT use wsdl:arrayType attribute in the type declaration.
    -In a DESCRIPTION, array declaration wrapper elements SHOULD NOT be named using the convention ArrayOfXXX.
    -A MESSAGE containing serialized arrays MUST NOT include the soapenc:arrayType attribute.
    So you need to copy the WSDL file to a local file and edit it, afterwards, use it to generate the proxy.
    Maybe you should have a look at the following url:
    http://www.ws-i.org/Profiles/BasicProfile-1.0-2004-04-16.html#refinement16556272
    I hope this will help you to solve the problem.
    Edited by: Duhan Bernhard on Nov 7, 2008 12:29 PM

  • Removing Namespace URI from payload

    Hi All,
    I receive a payload into BPEL
    Payload contains some namespace URIs at header level
    I wanna remove them
    Is there any pre-bulit functions available to do that..?
    or any other way..?
    For Example
    <os:envelope xmlns:os="http://www.1sync.org" xmlns:sh="http://www.gs1.org/sh"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.1sync.org
    http://www.preprod.1sync.org/schemas/item/1.0/ResponseProxy.xsd">
    Now I want to remove all namspace URI
    Thanks
    -Praveen

    It possible use this stylesheet:
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:template match="comment()|processing-instruction()|/">
    <xsl:copy>
    <xsl:apply-templates/>
    </xsl:copy>
    </xsl:template>
    <xsl:template match="*">
    <xsl:element name="{local-name()}">
    <xsl:apply-templates select="@*|node()"/>
    </xsl:element>
    </xsl:template>
    <xsl:template match="@*">
    <xsl:choose>
    <!-- test namespace -->
    <xsl:when test="name() != ''xmlns''">
    <xsl:attribute name="{local-name()}">
    <xsl:value-of select="."/>
    </xsl:attribute>
    </xsl:when>
    </xsl:choose>
    </xsl:template>
    </xsl:stylesheet>

  • 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

  • Performance issues with respect scheme registration,select & insert query

    I am facing performance issues with respect to schema registration,Select & insert query towards 10.2.0.3 version.It is taking around 45 minutes to register schema and it is taking around 5 min to insert a single document into xml db where as it was taking less than min to insert a single document into xml db of 9.2.0.6 version.Would like to know the issue and solution to resolve this issue.Please help me out on this as it is very urgent for me

    Since it appears that this is an XML DB specific question, you're probably better off posting in the XML DB. The folks over there have much more experience with the ins and outs of that particular product.
    Justin

  • Duplicate vendor check during supplier registration

    Hi Gurus,
    Does SAP SRM ROS check for duplicate vendor during supplier registration?  if it is not done in standard, can it be enhanced to do so?
    Thanks and regards,
    Ranjan

    Hi Ranjan,
    Every supplier who registers will have a unique BP number in the ROS client. However checking for duplicacy by name is not supported in standard ROS.
    One option is that when a strategic purchaser accepts these suppliers and creates a BP in SRM, he notices a duplicacy and informs the vendor. However this will fail if there is a huge volume of vendors registering everyday.
    Possible workaround: When the new vendor fills in the registration form, he provides the name of organisation and this is stored in tables using BAPIBUS1006_CENTRAL_ORGAN. May be you can sit with an ABAP guy and find out in which table this entry sits. You can then have a Z table where you store all these organisation names whenever a new vendor registers and for checking duplicacy you could run a loop through this Ztable Column which stores the name and display a message on 'ROS_SELF_REG' BSP reg page whenever a duplicate entry is found.
    PS : Entries like 'IBM' and 'IBM Ltd' will still be created as 2 different entities even though they mean the same.
    Nikhil
    Edited by: Nikhil RGupta on Jun 21, 2011 11:31 AM

  • Web Application Designer -Unknown Error Occured during Portal Communication

    we are getting the below error while using the Web Application Designer .
    "Unknown Error Occured during Portal Communication"
    Vesrion
    SAPBW 700 SP14 on ABAP & SP12 on JAVA.
    Found the below error in the default trace
    Error 1
    Exception thrown Fri Aug 15 11:29:15,070:Exception thrown by application running in JCo Server
    java.lang.RuntimeException: Bean RSWR_PREEXECUTION_PROXYnot found on host smy14sap99, ProgId =SMY14SAP99_PORTAL_BD1: Object not found in lookup of RSWR_PREEXECUTION_PROXY.
    Error 2
    Error> occured >Fri Aug 15 11:29:12,413<
    RfcException:
    message: 'ashost' is missing
    Return code: RFC_INVALID_PARAMETER(19)
    error group: 101
    key: RFC_ERROR_PROGRAM

    Hello,
    Have a look at these Notes
    SAP Note 988484 RC=12 in after import method for objects BTMP and BITM
    SAP Note 916090 RFC-error messages in Web Application Designer 2004s
    Thanks
    Chandran

  • EAP-TLS or PEAP authentication failed due to unknown CA certificate during SSL handshake

    Hi All ,
                 I am trying to test EAP_TLS authentication on acs 4.2.1.15 running on Appliance 1120 , I have installed my server certficate along with CA certficate on my appliance box , I have enabled features of  EAP_TLS under golbal authentication setup .
                 I have downloaded client supplicant certficate file for my windows XP machine .
    When i tried to authenticated i am finding following error message under  failed attempts(EAP-TLS or PEAP authentication failed due to unknown CA certificate during SSL handshake) on my acs appliance box .
    Under certficate revocation list , I have forced my CA as CRL in use . Attached snap shot of all .
    Suggest me whether i need to enable all corresponding CA certficate undercertficate trust list , Kindly let me know were i am doing wrong on this ..

    Hello,
    I am NO expert on certificates but I have seen your error dozens of times from wireless clients on my Cisco ACS 4.2 Radius server.
    Through trial and error I wrote up this procedure for our Helpdesk for installing certs in Windows XP and Windows 7. These steps haven't failed me yet and the Helpdesk doesn't bother me as much anymore so see if this helps you:
    -          Manually install the Global CA under BOTH Trusted Root Certification Authorities\Certificates AND Intermediate Certification                      Authorities\Certificates
    -          Manually install the Intermediate CA under JUST the Intermediate Certification Authorities\Certificates
    -          Delete the wireless network from the computer
    -          REBOOT!!
    -          Open the Microsoft Management Console, “mmc”.
    -          Go FILE\Add Remove SnapIn. Select Certificates ..
    -          If promoted, do it for “My User Account”.
    -          Make sure the certificates are where you put them. 
    -          If you see any of these exact certificates out of place in either Trusted Root Certification Authorities\Certificates or Intermediate Certification                      Authorities\Certificates, remove them.
    -          Redo wireless network setup again
    I hope this helps you.
    Mike

  • Unknown namespace prefix Error - when using custom Aliases with RDF aliases

    I am getting unknown namespace prefix error when I use custome SEM_ALIAS with rdf SEM_ALIAS. It seems once you specify custom SEM_ALIAS, the default rdf alias is not recognized. Following are the details of queries
    I have a sem_Model "test" which has "event" as a class and "Merger" as a sub-class of event, with "acquiringorg" as a property having the domain "org". "Org" is also defined as a class with the literal attribute "hasname". I have added one instance of "merger" class with appropriate values for "acquiringorg" property. There is one instance or "Org" as well for reference in the instance above.
    the following query(return all objects having property "acquiringorg" and its .e. "hasName" attribute for the object) runs fine and returns appropriate resultset
    select x event,z acquiringorg ,l acquireeorg from table(SEM_MATCH(
    '(?x Evnt:AcquiringOrg ?y)(?k orgn:hasName ?l)',
    SEM_MODELS('test'),
    null,
    SEM_ALIASES(SEM_ALIAS('Evnt','http://www.abc.com/Event/Merger/'),
    SEM_ALIAS('orgn','http://www.abc.com/Org/')),
    null));
    However when I want to add another criteria i.e. show me events of type merger(?x rdf:type :Merger) , the query fails with the "unknown namespace prefix error" as above
    select x event,z acquiringorg ,l acquireeorg from table(SEM_MATCH(
    '(?x rdf:type :Merger)(?x Evnt:AcquiringOrg ?y)(?k orgn:hasName ?l)',
    SEM_MODELS('test'),
    null,
    SEM_ALIASES(SEM_ALIAS('Evnt','http://www.abc.com/Event/Merger/'),
    SEM_ALIAS('orgn','http://www.abc.com/Org/')),
    null));
    specifying "rdf" ALIAS explicitly also does not work
    select x event,z acquiringorg ,l acquireeorg from table(SEM_MATCH(
    '(?x rdf:type :Merger)(?x Evnt:AcquiringOrg ?y)(?k orgn:hasName ?l)',
    SEM_MODELS('test'),
    null,
    SEM_ALIASES(_SEM_ALIAS('rdf', 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'),_
    SEM_ALIAS('Evnt','http://www.abc.com/Event/Merger/'),
    SEM_ALIAS('orgn','http://www.abc.com/Org/')),
    null));
    I am unable to figure out why default namespace i.e. rdf is returning this error
    Stuck at this point badly!!Any pointers would be useful!!

    Full error details are as below
    ORA-29532: Java call terminated by uncaught Java exception: oracle.spatial.rdf.server.ParseException: Unknown namespace prefix ''
    ORA-06512: at "MDSYS.RDF_MATCH_IMPL_T", line 153
    ORA-06512: at "MDSYS.RDF_MATCH_IMPL_T", line 842
    ORA-06512: at "MDSYS.RDF_MATCH_IMPL_T", line 235
    ORA-06512: at line 1
    29532. 00000 - "Java call terminated by uncaught Java exception: %s"
    *Cause:    A Java exception or error was signaled and could not be
    resolved by the Java code.
    *Action:   Modify Java code, if this behavior is not intended.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Maybe you are looking for

  • Outlook tasks completed in iOS Reminders app regenerate 'orphaned' reminders endlessly in Outlook.

    Our small business runs up-to-date (iOS 8) Apple devices that sync via MS Exchange with our email, contacts, reminders, etc. I create a task in Outlook and include a reminder. The task and reminder sync to Reminders on my iPhone and iPad. When I mark

  • Sapinst stops with error while installing ess component for Java AS

    Dear experts, I really hope you can help me with this one, We are installing a ABAP/Java AS development system and sapinst has gone through 75% of all execution tasks nicely, but then stopped with error while deploying components for the Java AS: ERR

  • I lost all my music!

    Last night I was moving files around, deleting files and updating my external harddrive. All was fine last night. This morning when I checked out my iTunes, ALL my music was GONE! All my playlists deleted and podcasts disappeared. None of my purchase

  • How to create  Printable page in OAF using Jdev10g

    Hi, I tried to create a printable page in OAF using the following steps given in devguide of OAF Step 1: Add a page-level button as described in the Buttons (Action/Navigation) document. Step 2: Assuming your button label is the standard "Printable P

  • ERROR in Loan Application

    Dear All, I am getting an error while applying for a loan in ESS Error - "A Maximum of amount 0 can be approved for the employee no .XXXXXXXX  "  . I read the earlier thread on this but it does not work even after activating the BADI. I have activate