HL7 schema modification error with imported schema namespace

I have created a variant of one of the out of the box HL7 schemas.  The changes were made to the related Segments schema.  I have a custom namespace identified on both the "master" schema and one on the modified schema which is being
imported into the "master".  I have verified that the namespace of the imported schema matches the namespace identified in the import statement of the master schema.  However, I am getting the following error and I'm not sure how to proceed.
There was a failure executing the receive pipeline: "MyProject, MyProject.Pipelines, Version=1.0.0.0, Culture=neutral, PublicKeyToken=318a75bd6cda7207" Source: "BTAHL7 2.X Disassembler" Receive Port: "rp_ReceiveHL7" URI: "10.26.146.39:11001"
Reason: The namespace attribute 'http://MyProject/2XHL7/MDM/Segments_23' of an import should be the same value as the targetNamespace 'http://microsoft.com/HealthCare/HL7/2X/2.3/Segments' of the imported schema. 

Indeed, however, the namespace of the import is same as the value of the imported schema, but the namespace of neither schema is http://microsoft.com/HealthCare/HL7/2X/2.3/Segments,
since I changed it when I made the modification.  That namespace does not exist in my project, nor does it exist locally, so i'm not sure where this error message is trying to lead me.

Similar Messages

  • Wsimport with imported schemas

    Hi,
    I am using a WSDL which imports some external schemas
    however, when I run the wsimport tool I got this error
    error: undefined simple or complex type 'ebi:Service'
    line 0 of file:/D:/PROJECTS/webservices/servers/WSEBI/src/main/webapp/WSEBI.ws
    dl#types?schema1
    error: Element "{http://www.ebi.ac.uk/ws/WSEBI}getServices" not found.
    this is the type declaration in the WSDL
    <wsdl:types>
            <xsd:schema
                targetNamespace="http://www.ebi.ac.uk/ws/WSEBI"
                xmlns="http://www.w3.org/2001/XMLSchema"
                xmlns:tns="http://www.ebi.ac.uk/ws/WSEBI"
                xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
                xmlns:ebi="http://www.ebi.ac.uk/ws">
                <xsd:import
                namespace="http://www.ebi.ac.uk/ws"
                location="WSEBITypes.xsd"/>
                <xsd:element
                            name="getWSDL"
                            type="xsd:string"/>
                <xsd:element
                            name="getWSDLResponse"
                            type="xsd:string"/>
                <xsd:element
                            name="getServices"
                            type="tns:Void"/>
                <xsd:element
                            name="getServicesResponse"
                            type="tns:ServiceList"/>
                <xsd:complexType name="Service">
                    <xsd:sequence>
                        <xsd:element
                            maxOccurs="1"
                            minOccurs="1"
                            name="name"
                            type="xsd:string"/>
                        <xsd:element
                            maxOccurs="1"
                            minOccurs="1"
                            name="description"
                            type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>
                                    Name of the implementation of the server
                                </xsd:documentation>
                            </xsd:annotation>
                            </xsd:element>
                        <xsd:element
                            maxOccurs="1"
                            minOccurs="1"
                            name="wsdl"
                            type="xsd:string"/>
                    </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="ServiceList">
                  <xsd:sequence>
                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="ListElement" type="ebi:PollRequest"/>
                 </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="Void">
                    <xsd:sequence/>
                </xsd:complexType>
            </xsd:schema>
        </wsdl:types>the imported schema looks like this
    <xsd:schema
                targetNamespace="http://www.ebi.ac.uk/ws"
                xmlns:ebi="http://www.ebi.ac.uk/ws"
                xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:complexType name="Service">
                    <xsd:sequence>
                        <xsd:element
                            maxOccurs="1"
                            minOccurs="1"
                            name="name"
                            type="xsd:string"/>
                        <xsd:element
                            maxOccurs="1"
                            minOccurs="1"
                            name="description"
                            type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>
                                    Name of the implementation of the server
                                </xsd:documentation>
                            </xsd:annotation>
                            </xsd:element>
                        <xsd:element
                            maxOccurs="1"
                            minOccurs="1"
                            name="wsdl"
                            type="xsd:string"/>
                    </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="Data">
                    <xsd:sequence>
                        <xsd:element maxOccurs="1" minOccurs="1" name="type" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>
                                    Database for the search
                                </xsd:documentation>
                            </xsd:annotation>
                        </xsd:element>
                        <xsd:element maxOccurs="1" minOccurs="1" name="content" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>
                                    Database for the search
                                </xsd:documentation>
                            </xsd:annotation>
                        </xsd:element>
                    </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="Result">
                    <xsd:sequence>
                        <xsd:element maxOccurs="1" minOccurs="1" name="type" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>
                                    Database for the search
                                </xsd:documentation>
                            </xsd:annotation>
                        </xsd:element>
                        <xsd:element maxOccurs="1" minOccurs="1" name="content" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>
                                    Database for the search
                                </xsd:documentation>
                            </xsd:annotation>
                        </xsd:element>
                    </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="PollRequest">
                    <xsd:sequence>
                        <xsd:element maxOccurs="1" minOccurs="1" name="type" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>
                                    Database for the search
                                </xsd:documentation>
                            </xsd:annotation>
                        </xsd:element>
                        <xsd:element maxOccurs="1" minOccurs="1" name="content" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>
                                    Database for the search
                                </xsd:documentation>
                            </xsd:annotation>
                        </xsd:element>
                    </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="DataInputs">
                  <xsd:sequence>
                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="ListElement" type="ebi:Data"/>
                 </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="Results">
                  <xsd:sequence>
                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="ListElement" type="ebi:Result"/>
                 </xsd:sequence>
                </xsd:complexType>
    </xsd:schema> however, when I run the wsimport tool I got this error
    error: undefined simple or complex type 'ebi:Service' 
    line 0 of file:/D:/PROJECTS/webservices/servers/WSEBI/src/main/webapp/WSEBI.ws
    dl#types?schema1
    error: Element "{http://www.ebi.ac.uk/ws/WSEBI}getServices" not found.if instead of
      <xsd:complexType name="ServiceList">
                  <xsd:sequence>
                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="ListElement" type="ebi:Service"/>
                 </xsd:sequence>
                </xsd:complexType>I use the local type
      <xsd:complexType name="ServiceList">
                  <xsd:sequence>
                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="ListElement" type="tns:Service"/>
                 </xsd:sequence>
                </xsd:complexType>it works
    so it is not finding the reference to the type in the imported schema,
    can anybody help with this?
    thanks a lot
    PD. the whole WSDL is this
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions
        name="WSEBI"
        targetNamespace="http://www.ebi.ac.uk/ws/WSEBI"
        xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
        xmlns:tns="http://www.ebi.ac.uk/ws/WSEBI"
        xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
        xmlns:ebi="http://www.ebi.ac.uk/ws">
        <wsdl:types>
            <xsd:schema
                targetNamespace="http://www.ebi.ac.uk/ws/WSEBI"
                xmlns="http://www.w3.org/2001/XMLSchema"
                xmlns:tns="http://www.ebi.ac.uk/ws/WSEBI"
                xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
                xmlns:ebi="http://www.ebi.ac.uk/ws">
                <xsd:import
                namespace="http://www.ebi.ac.uk/ws"
                location="WSEBITypes.xsd"/>
                <xsd:element
                            name="getWSDL"
                            type="xsd:string"/>
                <xsd:element
                            name="getWSDLResponse"
                            type="xsd:string"/>
                <xsd:element
                            name="getServices"
                            type="tns:Void"/>
                <xsd:element
                            name="getServicesResponse"
                            type="tns:ServiceList"/>
                <xsd:complexType name="Service">
                    <xsd:sequence>
                        <xsd:element
                            maxOccurs="1"
                            minOccurs="1"
                            name="name"
                            type="xsd:string"/>
                        <xsd:element
                            maxOccurs="1"
                            minOccurs="1"
                            name="description"
                            type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>
                                    Name of the implementation of the server
                                </xsd:documentation>
                            </xsd:annotation>
                            </xsd:element>
                        <xsd:element
                            maxOccurs="1"
                            minOccurs="1"
                            name="wsdl"
                            type="xsd:string"/>
                    </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="ServiceList">
                  <xsd:sequence>
                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="ListElement" type="ebi:PollRequest"/>
                 </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="Void">
                    <xsd:sequence/>
                </xsd:complexType>
            </xsd:schema>
        </wsdl:types>
        <wsdl:message name="getServicesRequest">
            <wsdl:part element="tns:getServices" name="parameters"/>
        </wsdl:message>
        <wsdl:message name="getServicesResponse">
            <wsdl:part element="tns:getServicesResponse" name="parameters"/>
        </wsdl:message>
        <wsdl:message name="getWSDLRequest">
            <wsdl:part element="tns:getWSDL" name="parameters"/>
        </wsdl:message>
        <wsdl:message name="getWSDLResponse">
            <wsdl:part element="tns:getWSDLResponse" name="parameters"/>
        </wsdl:message>
        <wsdl:portType name="WSEBI">
            <wsdl:operation name="getWSDL">
                <wsdl:input message="tns:getWSDLRequest"/>
                <wsdl:output message="tns:getWSDLResponse"/>
            </wsdl:operation>
            <wsdl:operation name="getServices">
                <wsdl:input message="tns:getServicesRequest"/>
                <wsdl:output message="tns:getServicesResponse"/>
            </wsdl:operation>
        </wsdl:portType>
        <wsdl:binding name="WSEBIBinding" type="tns:WSEBI">
            <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
            <wsdl:operation name="getServices">
                <soap:operation soapAction=""/>
                <wsdl:input>
                    <soap:body use="literal"/>
                </wsdl:input>
                <wsdl:output>
                    <soap:body use="literal"/>
                </wsdl:output>
            </wsdl:operation>
            <wsdl:operation name="getWSDL">
                <soap:operation soapAction=""/>
                <wsdl:input>
                    <soap:body use="literal"/>
                </wsdl:input>
                <wsdl:output>
                    <soap:body use="literal"/>
                </wsdl:output>
            </wsdl:operation>
        </wsdl:binding>
        <wsdl:service name="WSEBIService">
            <wsdl:port binding="tns:WSEBIBinding" name="WSEBIPort">
                <soap:address location="http://localhost:8080/ws/WSEBI"/>
            </wsdl:port>
        </wsdl:service>
        <wsdl:documentation> Documentation for this service can be found at       http://www.ebi.ac.uk/Tools/webservices/WSEBI  </wsdl:documentation>
    </wsdl:definitions>

    Hi,
    I am using a WSDL which imports some external schemas
    however, when I run the wsimport tool I got this error
    error: undefined simple or complex type 'ebi:Service'
    line 0 of file:/D:/PROJECTS/webservices/servers/WSEBI/src/main/webapp/WSEBI.ws
    dl#types?schema1
    error: Element "{http://www.ebi.ac.uk/ws/WSEBI}getServices" not found.
    this is the type declaration in the WSDL
    <wsdl:types>
            <xsd:schema
                targetNamespace="http://www.ebi.ac.uk/ws/WSEBI"
                xmlns="http://www.w3.org/2001/XMLSchema"
                xmlns:tns="http://www.ebi.ac.uk/ws/WSEBI"
                xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
                xmlns:ebi="http://www.ebi.ac.uk/ws">
                <xsd:import
                namespace="http://www.ebi.ac.uk/ws"
                location="WSEBITypes.xsd"/>
                <xsd:element
                            name="getWSDL"
                            type="xsd:string"/>
                <xsd:element
                            name="getWSDLResponse"
                            type="xsd:string"/>
                <xsd:element
                            name="getServices"
                            type="tns:Void"/>
                <xsd:element
                            name="getServicesResponse"
                            type="tns:ServiceList"/>
                <xsd:complexType name="Service">
                    <xsd:sequence>
                        <xsd:element
                            maxOccurs="1"
                            minOccurs="1"
                            name="name"
                            type="xsd:string"/>
                        <xsd:element
                            maxOccurs="1"
                            minOccurs="1"
                            name="description"
                            type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>
                                    Name of the implementation of the server
                                </xsd:documentation>
                            </xsd:annotation>
                            </xsd:element>
                        <xsd:element
                            maxOccurs="1"
                            minOccurs="1"
                            name="wsdl"
                            type="xsd:string"/>
                    </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="ServiceList">
                  <xsd:sequence>
                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="ListElement" type="ebi:PollRequest"/>
                 </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="Void">
                    <xsd:sequence/>
                </xsd:complexType>
            </xsd:schema>
        </wsdl:types>the imported schema looks like this
    <xsd:schema
                targetNamespace="http://www.ebi.ac.uk/ws"
                xmlns:ebi="http://www.ebi.ac.uk/ws"
                xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <xsd:complexType name="Service">
                    <xsd:sequence>
                        <xsd:element
                            maxOccurs="1"
                            minOccurs="1"
                            name="name"
                            type="xsd:string"/>
                        <xsd:element
                            maxOccurs="1"
                            minOccurs="1"
                            name="description"
                            type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>
                                    Name of the implementation of the server
                                </xsd:documentation>
                            </xsd:annotation>
                            </xsd:element>
                        <xsd:element
                            maxOccurs="1"
                            minOccurs="1"
                            name="wsdl"
                            type="xsd:string"/>
                    </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="Data">
                    <xsd:sequence>
                        <xsd:element maxOccurs="1" minOccurs="1" name="type" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>
                                    Database for the search
                                </xsd:documentation>
                            </xsd:annotation>
                        </xsd:element>
                        <xsd:element maxOccurs="1" minOccurs="1" name="content" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>
                                    Database for the search
                                </xsd:documentation>
                            </xsd:annotation>
                        </xsd:element>
                    </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="Result">
                    <xsd:sequence>
                        <xsd:element maxOccurs="1" minOccurs="1" name="type" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>
                                    Database for the search
                                </xsd:documentation>
                            </xsd:annotation>
                        </xsd:element>
                        <xsd:element maxOccurs="1" minOccurs="1" name="content" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>
                                    Database for the search
                                </xsd:documentation>
                            </xsd:annotation>
                        </xsd:element>
                    </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="PollRequest">
                    <xsd:sequence>
                        <xsd:element maxOccurs="1" minOccurs="1" name="type" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>
                                    Database for the search
                                </xsd:documentation>
                            </xsd:annotation>
                        </xsd:element>
                        <xsd:element maxOccurs="1" minOccurs="1" name="content" type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>
                                    Database for the search
                                </xsd:documentation>
                            </xsd:annotation>
                        </xsd:element>
                    </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="DataInputs">
                  <xsd:sequence>
                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="ListElement" type="ebi:Data"/>
                 </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="Results">
                  <xsd:sequence>
                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="ListElement" type="ebi:Result"/>
                 </xsd:sequence>
                </xsd:complexType>
    </xsd:schema> however, when I run the wsimport tool I got this error
    error: undefined simple or complex type 'ebi:Service' 
    line 0 of file:/D:/PROJECTS/webservices/servers/WSEBI/src/main/webapp/WSEBI.ws
    dl#types?schema1
    error: Element "{http://www.ebi.ac.uk/ws/WSEBI}getServices" not found.if instead of
      <xsd:complexType name="ServiceList">
                  <xsd:sequence>
                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="ListElement" type="ebi:Service"/>
                 </xsd:sequence>
                </xsd:complexType>I use the local type
      <xsd:complexType name="ServiceList">
                  <xsd:sequence>
                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="ListElement" type="tns:Service"/>
                 </xsd:sequence>
                </xsd:complexType>it works
    so it is not finding the reference to the type in the imported schema,
    can anybody help with this?
    thanks a lot
    PD. the whole WSDL is this
    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions
        name="WSEBI"
        targetNamespace="http://www.ebi.ac.uk/ws/WSEBI"
        xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
        xmlns:tns="http://www.ebi.ac.uk/ws/WSEBI"
        xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
        xmlns:xsd="http://www.w3.org/2001/XMLSchema"
        xmlns:ebi="http://www.ebi.ac.uk/ws">
        <wsdl:types>
            <xsd:schema
                targetNamespace="http://www.ebi.ac.uk/ws/WSEBI"
                xmlns="http://www.w3.org/2001/XMLSchema"
                xmlns:tns="http://www.ebi.ac.uk/ws/WSEBI"
                xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
                xmlns:ebi="http://www.ebi.ac.uk/ws">
                <xsd:import
                namespace="http://www.ebi.ac.uk/ws"
                location="WSEBITypes.xsd"/>
                <xsd:element
                            name="getWSDL"
                            type="xsd:string"/>
                <xsd:element
                            name="getWSDLResponse"
                            type="xsd:string"/>
                <xsd:element
                            name="getServices"
                            type="tns:Void"/>
                <xsd:element
                            name="getServicesResponse"
                            type="tns:ServiceList"/>
                <xsd:complexType name="Service">
                    <xsd:sequence>
                        <xsd:element
                            maxOccurs="1"
                            minOccurs="1"
                            name="name"
                            type="xsd:string"/>
                        <xsd:element
                            maxOccurs="1"
                            minOccurs="1"
                            name="description"
                            type="xsd:string">
                            <xsd:annotation>
                                <xsd:documentation>
                                    Name of the implementation of the server
                                </xsd:documentation>
                            </xsd:annotation>
                            </xsd:element>
                        <xsd:element
                            maxOccurs="1"
                            minOccurs="1"
                            name="wsdl"
                            type="xsd:string"/>
                    </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="ServiceList">
                  <xsd:sequence>
                    <xsd:element maxOccurs="unbounded" minOccurs="0" name="ListElement" type="ebi:PollRequest"/>
                 </xsd:sequence>
                </xsd:complexType>
                <xsd:complexType name="Void">
                    <xsd:sequence/>
                </xsd:complexType>
            </xsd:schema>
        </wsdl:types>
        <wsdl:message name="getServicesRequest">
            <wsdl:part element="tns:getServices" name="parameters"/>
        </wsdl:message>
        <wsdl:message name="getServicesResponse">
            <wsdl:part element="tns:getServicesResponse" name="parameters"/>
        </wsdl:message>
        <wsdl:message name="getWSDLRequest">
            <wsdl:part element="tns:getWSDL" name="parameters"/>
        </wsdl:message>
        <wsdl:message name="getWSDLResponse">
            <wsdl:part element="tns:getWSDLResponse" name="parameters"/>
        </wsdl:message>
        <wsdl:portType name="WSEBI">
            <wsdl:operation name="getWSDL">
                <wsdl:input message="tns:getWSDLRequest"/>
                <wsdl:output message="tns:getWSDLResponse"/>
            </wsdl:operation>
            <wsdl:operation name="getServices">
                <wsdl:input message="tns:getServicesRequest"/>
                <wsdl:output message="tns:getServicesResponse"/>
            </wsdl:operation>
        </wsdl:portType>
        <wsdl:binding name="WSEBIBinding" type="tns:WSEBI">
            <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
            <wsdl:operation name="getServices">
                <soap:operation soapAction=""/>
                <wsdl:input>
                    <soap:body use="literal"/>
                </wsdl:input>
                <wsdl:output>
                    <soap:body use="literal"/>
                </wsdl:output>
            </wsdl:operation>
            <wsdl:operation name="getWSDL">
                <soap:operation soapAction=""/>
                <wsdl:input>
                    <soap:body use="literal"/>
                </wsdl:input>
                <wsdl:output>
                    <soap:body use="literal"/>
                </wsdl:output>
            </wsdl:operation>
        </wsdl:binding>
        <wsdl:service name="WSEBIService">
            <wsdl:port binding="tns:WSEBIBinding" name="WSEBIPort">
                <soap:address location="http://localhost:8080/ws/WSEBI"/>
            </wsdl:port>
        </wsdl:service>
        <wsdl:documentation> Documentation for this service can be found at       http://www.ebi.ac.uk/Tools/webservices/WSEBI  </wsdl:documentation>
    </wsdl:definitions>

  • Error in import schema

    I tried to import and remap a schema to new one. I have done these steps. almost there, but failed.
    Thanks.
    1. create a new schema
         create user hr_1 identified by hr_1;
         CREATE OR REPLACE DIRECTORY test_dir AS 'C:\oracle\backup';
         GRANT READ, WRITE ON DIRECTORY test_dir TO hr_1;
         ALTER USER hr_1 default tablespace USERS TEMPORARY TABLESPACE temp quota unlimited on USERS
      2. permission
         Grant create session to hr_1 ;
    Grant create table to hr_1 ;
    Grant create view to hr_1 ;
    Grant create trigger to hr_1 ;
    Grant create procedure to hr_1 ;
    Grant create sequence to hr_1 ;
    grant create synonym to hr_1 ;
      3.   impdp hr_1/hr_1@ORCL REMAP_SCHEMA=hr:hr_1 DIRECTORY=TEST_DIR DUMPFILE=HR.DMP LOGFILE=imp.logThe error message is
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Master table "HR_1"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
    Starting "HR_1"."SYS_IMPORT_FULL_01":  hr_1/********@ORCL REMAP_SCHEMA=hr:hr_1 DIRECTORY=TEST_DIR DUMPFILE=HR.DMP LOGFILE=imp.log;
    Processing object type SCHEMA_EXPORT/USER
    ORA-39083: Object type USER failed to create with error:
    ORA-31625: Schema SYSTEM is needed to import this object, but is unaccessible
    ORA-01031: insufficient privileges
    Failing sql is:
    CREATE USER "HR_1" IDENTIFIED BY VALUES 'S:4EFA7CA4D96DA9C229585F32BC0A3D31063FB79B8D1E51B6F77913B7B335;4C6D73C3E8B0F0DA' DEFAULT TABLESPACE "USERS" TEMPORARY TABLESPACE
    "TEMP"
    Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
    ORA-39083: Object type SYSTEM_GRANT failed to create with error:
    ORA-31625: Schema SYSTEM is needed to import this object, but is unaccessible
    ORA-01031: insufficient privileges
    Failing sql is:
    GRANT CREATE DATABASE LINK TO "HR_1"
    ORA-39083: Object type SYSTEM_GRANT failed to create with error:
    ORA-31625: Schema SYSTEM is needed to import this object, but is unaccessible
    ORA-01031: insufficient privileges
    Failing sql is:
    GRANT CREATE SEQUENCE TO "HR_1"

    806540 wrote:
    I tried to import and remap a schema to new one. I have done these steps. almost there, but failed.
    Thanks.
    1. create a new schema
         create user hr_1 identified by hr_1;
         CREATE OR REPLACE DIRECTORY test_dir AS 'C:\oracle\backup';
         GRANT READ, WRITE ON DIRECTORY test_dir TO hr_1;
         ALTER USER hr_1 default tablespace USERS TEMPORARY TABLESPACE temp quota unlimited on USERS
    2. permission
         Grant create session to hr_1 ;
    Grant create table to hr_1 ;
    Grant create view to hr_1 ;
    Grant create trigger to hr_1 ;
    Grant create procedure to hr_1 ;
    Grant create sequence to hr_1 ;
    grant create synonym to hr_1 ;
    3.   impdp hr_1/hr_1@ORCL REMAP_SCHEMA=hr:hr_1 DIRECTORY=TEST_DIR DUMPFILE=HR.DMP LOGFILE=imp.logThe error message is
    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Master table "HR_1"."SYS_IMPORT_FULL_01" successfully loaded/unloaded
    Starting "HR_1"."SYS_IMPORT_FULL_01":  hr_1/********@ORCL REMAP_SCHEMA=hr:hr_1 DIRECTORY=TEST_DIR DUMPFILE=HR.DMP LOGFILE=imp.log;
    Processing object type SCHEMA_EXPORT/USER
    ORA-39083: Object type USER failed to create with error:
    ORA-31625: Schema SYSTEM is needed to import this object, but is unaccessible
    ORA-01031: insufficient privileges
    Failing sql is:
    CREATE USER "HR_1" IDENTIFIED BY VALUES 'S:4EFA7CA4D96DA9C229585F32BC0A3D31063FB79B8D1E51B6F77913B7B335;4C6D73C3E8B0F0DA' DEFAULT TABLESPACE "USERS" TEMPORARY TABLESPACE
    "TEMP"
    Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
    ORA-39083: Object type SYSTEM_GRANT failed to create with error:
    ORA-31625: Schema SYSTEM is needed to import this object, but is unaccessible
    ORA-01031: insufficient privileges
    Failing sql is:
    GRANT CREATE DATABASE LINK TO "HR_1"
    ORA-39083: Object type SYSTEM_GRANT failed to create with error:
    ORA-31625: Schema SYSTEM is needed to import this object, but is unaccessible
    ORA-01031: insufficient privileges
    Failing sql is:
    GRANT CREATE SEQUENCE TO "HR_1"
    Hello,
    Why can't you use using SYSTEM user?
    Also make sure you have Either you have IMP_FULL_DATABASE (or) DBA role & then retry

  • Error while import schema in HANA DB

    Hi...
    I am trying to perform an export-import of a HANA DB user instance at schema level including all objects (in my case tables and synonyms) and data.
    Export and Import works very well except importing a schema which contains a synonym referred to other existing schema .
    Here is a test case
    - Schema A with a Table and Schema B to contain a synonym for schema A's table.
    - Exported both schemas to CSV which is done successfully and everything looked ok in export location.
    - Imported Schema A and then Schema B with the following command.
    Command:
    IMPORT "<bkup_schema>"."*" FROM '<bkp_location>' WITH RENAME SCHEMA <bkup_schema> TO <brand_new_schema>;
    The schema A (with table) imported fine.  Schema B (with synonym) gives the below error :
    "SAP DBTech JDBC: [2048]: column store error: table import failed:  [2003] An index already exists with the same name "
    When trying to use "REPLACE" clause in the command the error changes as below:
    SAP DBTech JDBC: [2048]: column store error: table import failed:  [30117] Binary import failed (cannot execute drop statement)
    Has anybody faced this type of error before??

    Folks, I am running into the same issue. What I figure out was the following:
    1) I turn off the autocommit
    2) I run the import for the first time
    import "<SCHEMA_NAME>"."*" as binary from '<location>' with replace;
    rollback;
    3) I get the error as described
    SAP DBTech JDBC: [2048]: column store error: table import failed:  [30117] Binary import failed (cannot execute drop statement)
    4) I run this import once again and commit and surprisingly the error is gone and the import is successful.
    import "<SCHEMA_NAME>"."*" as binary from '<location>' with replace;
    commit;

  • Error while importing schemas using datapump

    Hi,
    I am trying to import schema from qc to development. after importing i got the following error attached below:
    Processing object type SCHEMA_EXPORT/TABLE/GRANT/WITH_GRANT_OPTION/OBJECT_GRANT
    Processing object type SCHEMA_EXPORT/TABLE/GRANT/CROSS_SCHEMA/OBJECT_GRANT
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
    ORA-39065: unexpected master process exception in RECEIVE
    ORA-39078: unable to dequeue message for agent MCP from queue "KUPC$C_2_20090421161917"
    Job "SYS"."uat.210409" stopped due to fatal error at 20:15:13
    ORA-39014: One or more workers have prematurely exited.
    ORA-39029: worker 2 with process name "DW02" prematurely terminated
    ORA-31671: Worker process DW02 had an unhandled exception.
    ORA-39078: unable to dequeue message for agent KUPC$A_2_20090421161934 from queue "KUPC$C_2_20090421161917"
    ORA-06512: at "SYS.KUPW$WORKER", line 1397
    ORA-06512: at line 2
    ORA-39029: worker 3 with process name "DW03" prematurely terminated
    ORA-31671: Worker process DW03 had an unhandled exception.
    ORA-39078: unable to dequeue message for agent KUPC$A_2_20090421162030 from queue "KUPC$C_2_20090421161917"
    ORA-06512: at "SYS.KUPW$WORKER", line 1397
    ORA-06512: at line 2
    ORA-39029: worker 4 with process name "DW04" prematurely terminated
    ORA-31671: Worker process DW04 had an unhandled exception.
    ORA-39078: unable to dequeue message for agent KUPC$A_2_20090421162031 from queue "KUPC$C_2_20090421161917"
    ORA-06512: at "SYS.KUPW$WORKER", line 1397
    ORA-06512: at line 2
    Is my import completed successfully or not??. please help...

    When a datapump job runs, it creates a table called the master table. It has the same name as the job name. This is used to keep track of where all of the information in the dumpfile is located. It is also used when restarting a job. For some reason, this table got dropped. I'm not sure why, but in most cases, datapump jobs are restartable. I don't know why the original message was reported, but I was hoping the job woudl be restartable. You could always just rerun the job. Since the job that failed already created tables and indexes, if you restart the job, all of the objects that are dependent on those objects will not be created by default.
    Let's say you have table tab1 with an index ind1 and both table and index are anaylized. Since tab1 is already created, the datapump job will mark all of the objects dependent on tab1 to skip. This includes the index, table_statistics, and index_statistics. To get around this, you could say
    table_exists_action=replace
    but this will replace all tables that are in the dumpfile. Your other options are:
    table_exists_action=
    truncate -- to truncate the data in the table and then just reload the data, but not the dependent objects
    append -- to append the data from the dumpfile to the existing table, but do not import the dependent objects
    skip -- skip the data and dependent objects from the dumpfile.
    Hope this helps.
    Dean

  • Schema validation errors with Portal 10.3

    I downloaded, installed and configured a domain with an AdminServer and a ManagedServer for WebLogic Portal 10.3. When I start the AdminServer from NodeManager the following errors are reported:
    &lt;Sep 24, 2008 12:50:41 PM CDT&gt; &lt;Error&gt; &lt;Management&gt; &lt;BEA-141244&gt; &lt;Schema validation errors while parsing /opt/Oracle/WL10gR3/user_projects/domains/web/config/config.xml - Invalid xsi:type qname: 'wsrp:wsrp-identity-asserterType' in element realm@[http://www.bea.com/ns/weblogic/920/domain]&gt;
    &lt;Sep 24, 2008 12:50:41 PM CDT&gt; &lt;Error&gt; &lt;Management&gt; &lt;BEA-141244&gt; &lt;Schema validation errors while parsing /opt/Oracle/WL10gR3/user_projects/domains/web/config/config.xml - /opt/Oracle/WL10gR3/user_projects/domains/web/&lt;unknown&gt;:13:9: error: failed to load java type corresponding to t=wsrp-identity-asserterType@[http://www.bea.com/ns/wlp/90/security/wsrp]&gt;
    When I start the AdminServer using startWebLogic.sh there are no errors. Please advise.

    There is a special forum for WLP users:
    WebLogic Portal

  • Signature Schemas/Status values with Signature schemas need to be locked?

    I am tying to assign a signature schema to multiple values in a single status schema.  If I assign a signature schema to a status it automaticaly locks the document into that status so that no further changes to status can be made.  I need to have a signature schema  assigned to mutliple status values in the same status schema so I cant have A approved be locked because I still need the document to be B approved as well. 
    Does anyone know how I can adjust the setting so the status values with sig. schemas attached will not automatically be locked.
    Status Schema:
    Not Started
    A Approved  X signature schema
    B Approved  y signature schema

    Hello James,
    this is not possible. As I do not quite understand why you want to set up your status schema like that, it is difficult to propose another solution.
    If you want to stay with the schema you have mentioned, you will have to unlock a document which has been approved by A on the attribute dialog and set the new status "B Approved" there. But this means that the person who is doing that has to sign the document as first signee of the second signature process.
    Best regards
      Jürgen

  • Behaviour of read-write-backing-map-scheme in combination with local-scheme

    Hi,
    I have the following questions related to the distributed cache defined below:
    1. If I start putting unlimited number of entries to this cache, will I run out of memory or the local-scheme has some default size limit?
    2. What is default eviction policy for the local-scheme?
    <distributed-scheme>
    <scheme-name>A</scheme-name>
    <service-name>simple_service</service-name>
    <backing-map-scheme>
    <read-write-backing-map-scheme>
    <internal-cache-scheme>
    <local-scheme></local-scheme>
    </internal-cache-scheme>
    <cachestore-scheme>
    <class-scheme>
    <class-name>SomeCacheStore</class-name>
    </class-scheme>
    </cachestore-scheme>
    </read-write-backing-map-scheme>
    </backing-map-scheme>
    </distributed-scheme>
    Best regards,
    Jarek

    Hi,
    The default value for expiry-delay is zero which implies no expiry.
    http://wiki.tangosol.com/display/COH34UG/local-scheme
    Thanks,
    Tom

  • Getting error while importing schema with ORACLE TEXT

    IMP-00003: ORACLE error 20000 encountered
    ORA-20000: Oracle Text error:
    DRG-52204: error while registering index
    DRG-10507: duplicate index name: WORKORDER_Q, owner: SYS
    ORA-06512: at "CTXSYS.DRUE", line 160
    ORA-06512: at "CTXSYS.DRIIMP", line 115
    ORA-06512: at line 2
    IMP-00088: Problem importing metadata for index WORKORDER_Q. Index creation will be skipped
    Database version - Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    Os version - Linux nlxs1012.slb.atosorigin-asp.com 2.6.18-308.el5 #1 SMP Fri Jan 27 17:17:51 EST 2012 x86_64 x86_64 x86_64 GNU/Linux
    We have take export of schema from production db now importing data to qa environment..
    In import facing above error..

    I am importing objects from P20_MAXIMO to Q25_MAXIMO to another database..
    Below is import par file..
    USERID='/ as sysdba'
    FILE=exp_P20_MAXIMO_C2364781.dmp
    LOG=imp_P20_MAXIMO__Q25_MAXIMO_C2364781_1.log
    FROMUSER=P20_MAXIMO
    TOUSER=Q25_MAXIMO
    buffer=1000000
    feedback=100000
    Export parfile
    userid='/ as sysdba'
    owner=P20_MAXIMO
    FILE=exp_P20_MAXIMO_C2364781.dmp
    LOG=exp_P20_MAXIMO_C2364781.log
    buffer=10000000
    feedback=100000
    statistics=none

  • WS-I validation failes with imported schema

    I'm getting the following error from the WS-I validation checker (Basic Profile 1.1):
    faultCode=INVALID_WSDL: Unable to determine namespace of 'messages:SigReplyMessage'.:
    Any idea what I'm doing wrong?
    My wsdl file looks like this:
    <definitions targetNamespace="urn:S3SignatureGenerator"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:tns="urn:S3SignatureGenerator"
    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
    xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
    <types>
    <xsd:schema>
    <xsd:import id="Messages.xsd"
    schemaLocation="../../XSDDocument/Messages.xsd"
    namespace="messages"/>
    </xsd:schema>
    </types>
    <message name="ReturnSignature">
    <part name="SigAndExp" type="messages:SigReplyMessage"/>
    </message>
    <message name="RequestSignature">
    <part name="Keys" type="messages:SigRequestMessage"/>
    </message>
    <portType name="SigGenerator">
    <operation name="GetSignature">
    <input message="tns:RequestSignature"/>
    <output message="tns:ReturnSignature"/>
    <fault name="sigFault" message="tns:SigFault"/>
    </operation>
    </portType>
    <message name="SigFault">
    <part name="faultMessage" element="string"/>
    </message>
    <binding name="SigGenSoapHttp" type="tns:SigGenerator">
    <soap:binding style="document"
    transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="GetSignature">
    <soap:operation soapAction="urn:S3SignatureGenerator/GetSignature"/>
    <input>
    <soap:body use="literal" parts="SecretKey PublicKey"/>
    </input>
    <output>
    <soap:body use="literal" parts="Signature"/>
    </output>
    <fault name="sigFault">
    <soap:body use="literal" parts="SecretKey PublicKey"/>
    </fault>
    </operation>
    </binding>
    <service name="SignatureGenerationService">
    <port name="SigGenSoapHttpPort" binding="tns:SigGenSoapHttp">
    <soap:address location="tbd"/>
    </port>
    </service>
    </definitions>
    Messages.xsd looks like this:
    <?xml version="1.0" encoding="windows-1252" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://www.example.org"
    targetNamespace="http://www.example.org"
    elementFormDefault="qualified">
    <xsd:complexType name="sigRequestMessage">
    <xsd:sequence>
    <xsd:element name="publicKey" type="string"/>
    <xsd:element name="privateKey" type="string"/>
    </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="complexType1">
    <xsd:sequence>
    <xsd:element name="Signature" type="string"/>
    <xsd:element name="expiration" type="timeDate"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:schema>

    You need to distinguish between the namespace and the namespace prefix.
    Your WSDL imports Messages.xsd with namespace "messages",
    but the schema defines namespace "http://www.example.org".
    You should change the import to use the right namespace,
    then declare the messages prefix in your WSDL:
    <definitions ....
    xmlns:messages="http://www.example.org" >
    <xsd:import id="Messages.xsd"
    schemaLocation="../../XSDDocument/Messages.xsd"
    namespace="http://www.example.org"/>
    Mik

  • "Source file does not conform to XML Schema!" error at Import Server

    Dear SDN,
    When I run Import Server the import job stopped with the error "Source file does not conform to XML Schema!" in Log file. I used MDM SP05 Patch01 and HF1.
    Both of 2 Import Server have same problems. Of course it works in Import Manager.
    What do I have to check?
    Regards,
    Eric

    Hi Eric
    Just confirm this...
    One needs to load XML schema file in MDM and can be done by specifying this file in Port .
    Refer this link.
    http://help.sap.com/saphelp_mdm550/helpdata/en/fa/69b20ae0ae4b158a3f6d025b3d3847/content.htm
    Just make sure that corresponding XSD file is specified in the port
    Regards

  • Compare model with diferent schemas to database with diferent schemas

    Hi All,
    I have some tables in diferent schemas that are equal(i.e: country table, i need this table in all the schemas) name and structure are the same but with diferences in some properties like mandatory columns,
    the problem is when I try to compare with the database,
    Import from datadictionary swap target model,
    i select the model and select the diferent schemas in the database,
    in the result, the table with the same name is compared for all the schemas in my model with the table in only one schema of the database
    and at the end appears a table to be droped for the tables in the other schemas of my model,
    the table comparison is giving me differences in the schema but is not comparing with the correct schema table,
    I'm not sure if I'm doing something incorrectly or is just a limitation of the tool,
    Thanks in advance

    Hi Philip,
    You are righ, if a select this option in the compare tab options
    I could filter which elements of the model I will compare with the datadictionary,
    But is not too much friendly to change this property every time I want to compare the model,
    I mean, I have generated with DDL editor a file for some objects but the flag 'generated in DDL' is not changing so I need to do it manually,
    I don't know if I'm not doing correctly the generation or if I have some problem with the configuration,
    Could you confirm me that if I execute the generation of DDL with only one object this object will be the only one will have the flag checked??
    In my opinion if could be posible to include a step in the compare way to select the objects will be more friendly for the user but is still a solution to my problem, Thanks a lot

  • Object reference not set to an instance of an object error with Import data

    Hi Experts,
    We are using BPC 7.5M with SQL Server 2008 in Multiserver environment, I am getting an error "Object reference not set to an instance of an object." while running Import data package, earlier we use to get this error sometime(once in a month) but it goes away if we reboot the application server but this time I have rebotted the Application server multiple times but still getting the same error.
    Please Advice.
    Thanks & Regards,
    Rohit

    Hi Rohit,
    please see the sap note 1615837, maybe this help you.
    Best regards
    Roberto Vidotti

  • Error with import of new compiled java package

    Hi,
    in order to change some code in the java classes of the packages stored in the VV2-Content, 1.0 of SAP -> http://sap.com/xi/ISU-IDEX-GE/VV2 -> Mapping Objects -> Imported Archive, I exported all packages in this folder, extracted them, decompiled some classes (using jad), in which I would like to change some code, and imported these classes associated with other exported packages in a new project of eclipse. after changing the code and successfully compiling these java classes (with no error), I exported the ".class" from eclipse, replaced the old ".class" in the packages with the newly compiled ones(in a zip file) and at the end imported the changed packages (in zip files) in the folder "Imported Archive". After saving and activating the change, I sent an IDOC from R3 system to the XI system for test. In the monitor of the XI system, there was an error, which is
    "Inkompatible Versionen von Klassen (Linkage Error)" (in English "incompatible versions of classes (linkage error)"). Can anyone tell me, how I can do with this error? Thanks.

    Vishal,
    thanks for your reply. Actually I did change some code in the decompilied class "XEdixml2EdiConverter". I think this class does nothing with mapping(transformation), but it converts the tranformed edixml to final edifact. Can I test it in the repository as you said?
    regards
    Bin

  • Weird Error with imported (streamed) FLV

    The error being thrown is "The video player is in the connection error state. It enters this state when a video stream attempted to load but was unsuccessful. There are two possible reasons for the error: no connection to the server or the stream was not found."
    The reason it's weird is that the video plays just fine when the program is run.
    The error only pops up at random, generally when I'm doing other things (editing objects, drawing, selecting objects, navigating the timeline) and not when I'm actually compiling or running the application.
    The video is being streamed locally, so there's no issue connecting to a server, and the file exists, so it's not missing.
    WTH?

    I didn't say I've never done a drag/drop.... After learning how to use that option many years ago, I've just never chosen to use that method for any of my Web videos. The drag/drop as well as the Import Video wizard are very "Flash 101ish" and often present problems for inexperienced users..... as you are seeing.
    When I trouble shoot problems posted here I try to recreate the exact steps used in an attempt to replicate the problem so it can be solved. While you might find that frustrating to describe... it often resolves the problem.
    So I would venture to say that I have a little more experience than you in all aspects of Flash video.
    You may have missed it in my earlier response but I said that I could not replicate your problem (following the steps you describe), I was always presented with the option to choose between streaming server and local file.... which the links above pointed out.
    I stick by the reason I gave for the error, Flash is assuming you are attempting to connect to a streaming server and because no RTMP URL is listed, the connection always fails... hence the error message
    There was also the suggesting to place the FLVPlayback on the stage manually and set contentPath.... bypassing any Import Wizard problems..
    If those offers/suggestions don't satify you... oh well, I'll move on
    Best wishes,
    Adninjastrator

Maybe you are looking for

  • Maintaining styles in mail adapter

    Hi team, In my scenario the flow is :  EDI message -> PI -> Mail but customer wants to receive the mail , which includes different styles. ex: for some content , it should be in bold , some in rich text, some content in underline ..etc. Can you give

  • Business area correction in FSV

    Hi experts, we have some problem in Business area updation in Financial statement version. the problem arise because of the following reasons 1. After the Go Live we have created the 3KEH table & updated it in Productions server because of this cost

  • Three way switch

    I have three settings that I want to choose from. Is there a way to have a switch with three settings?

  • Macbook Pro doubt!

    Hello everyone, I recently bought this computer on the Apple Store: Macbook Pro 17" 2.66GHz Intel Core i7 8GB 1066MHz DDR3 SDRAM - 2X4GB 128GB Solid State Drive MacBook Pro 17-inch Hi-Resolution Antiglare Widescreen display Apple LED Cinema Display (

  • Printing via CUPS

    No device My printer (an HP ;-)) is not wireless. It is cabled to my Linux desktop, which serves it on the network for clients via CUPS (port 631). Can you give us a way to connect to it from the TP?