Repository Schema is null

Hi,
I am new to MDM.
While trying to fetch some record from MDM, the value returned for repositorySchema object comes as null.
The relevant code is :
GetRepositorySchemaCommand getRepositorySchemaCommand  = new GetRepositorySchemaCommand(con);
     getRepositorySchemaCommand.setSession(userSession);
     getRepositoryRegionListCommand.execute();
     RepositorySchema repositorySchema = getRepositorySchemaCommand.getRepositorySchema();
The "con" and  "getRepositoryRegionListCommand" are not null . I printed them and they contain some values.
However the  repositorySchema  object as declared in the above code is null. If I try to do any operation on this, I get  a null pointer exception.
Can someone help me sort out as to why repositorySchema  comes as null.
Thanks and Regards,
Himanshu

Hi Himanshu.
Some stuff to check from your landscape.
1. Since you are working on Webdynpro environment, check if you have the correct version of MDM API Jar files attached to the Webdynpro DC equal/less than to that of MDM Server's version.
2. Make sure you have the right MDM Connector deployed in the application server.
Regards
Bala

Similar Messages

  • Failed to open source schema file:null Error Xform File Creation - CustomerPartyEBM

    Hi All,
        We are creating a Provider ABCS which is generated by AIA Service Constructor with SyncCustomerPartyList Operation in CustomerPartyEBM, We are able to compile the process susccesfully but when we create a Trasformation file with source as CustomerPartyEBM and Target has Siebel ABM, then the xsl file in design view pops up a error message saying - "Failed to open source schema file:null". When tried with other EBM's its working fine its only for CustomerPartyEBM.
    Do anyone had idea on this?
    Thanks a lot,
    RR.

    Thank you both for your responses.
    You were on the right track.
    I was attempting to use a 'dodgy' brand (SKY-Silver) of DVD-R for the creation of the disk set.
    On changing over to TDK disks, the problem did NOT repeat.
    Strangely enough, the dodgy ones worked great for creating copies of the set once it was completed.
    Again, thanks to you both.

  • SRM MDM 3.0 BMECAT Repository Schema

    Hello at all,
    I have currently run the SRM-MDM 3.0 with the standard respository delivered as archive on the install CD. I still have created some data with the data manager and it runs all very well.
    Now I want to import a catalog based on BMECat 1.2 standard. I Have the complex catalog data XML from the vendor Bechtle and the images folder for the articles.
    When running the Import Manager there are many fields and tables in the source xml that do not excist in the destination hierachy (repository).
    My question is how do I create a repository based on the BMECat 1.2 standard to import the vendor catalog xml ?
    What I still tryed was. Creating a new repository. It's empty except of the standard table like Admin, Images, Products etc.
    Than go to Transport -> Import Repository Schema -> choose the vendor XML
    That doesn' work. I get the Error Message: "There are problems with the transport (XML) which prevent it from being processed"
    I have learned that an XML schema data is described with the ending .xsd but when I try to import the databrowser looks for .xml endings.
    Could someone please advice what's I have done wrong?
    Thanks a lot.
    Rico

    Hi Rico,
    I am not aware of BMEcat standard but in MDM terms you can take the backup of repository in two forms:
    1. Archive/UnArchive -> If you want to move the repository from one MDM server to another i.e. from dev to QA then you can Archive the repository which creates the .a2a file and place the file in the Archives folder of MDM Server installation directory which can then be copied and moved to Archives folder of target MDM server and you can UnArchive it on that MDM server.
    Archive = Repository Schema + Data
    2. Export / Import Repository Schema -> With this method you can export the schema of the repository and create the new repository on some other MDM Server using Create Repository from Schema command. When you perform the export repository schema command, it will ask for the file name and path. You can then copy this schema file and place in the file system of another server.
    Export / Import Repository schema = Repository Schema only
    Regards,
    Jitesh Talreja

  • Subject Area not showing for Single Logical Table Repository Schema

    Hi
    I'm trying to create a very simple OBIEE repository schema for a sales proof of concept. The schema consits of a single physical table, single BMM (logical) table and a single presentation table.
    I have created all the layers OK. However, when I check for global consistancy i get an error message 'Logical table SALES_POC does not join to any other logical table'. Now i understand this error, but in this case this is how the design is intended. However, if ignore this error i'm not seeing the new subject area after bouncing BI server & BI presentation services.
    Anyone know a way round this, or do i need to have at least 2 logical tables?
    Thanks
    James

    Yes I think RPD is in the correct folder & NQSConfig.INI is set correctly.
    RPD is called ethreeCustomv1.RPD & saved in /ora/biee/10.1.3.4/OracleBI/server/Repository
    NQSConfig.INI has the following definition:
    [ REPOSITORY ]
    BIEE = ethreeCustomv1.rpd, DEFAULT;
    [ CACHE ]
    ENABLE     =     NO;

  • Error while Importing customer repository schema

    Hi All,
    I want to import a customer repository schema into vendor repository so that i can have multiple main tables.
    I exported the customer repository schema and tried to import it in Vendor repository.
    In the pop up that apperas when we click the Import repository schema and select the file from the source location i selected the below options
    1. for all the modify operations i selected the operation as "Reject "
    2. For all the delete operations i selected the operation as "Reject"
    and
    3. for all the add operations i selected the Operation as "ADD"
    for Vendors table(main) the operation was to delete for which i selected the reject operation and for customers table(main) i selected the add operation.
    Now when select ok the system throws the below error
    "One or more selection Items require that you select additional Items. would you like to see the report".
    On clicking yes to see the report i get the below message
    *Transport operation failed:
    Dependency check failure.  A reference to object of type: MatchingStrategy named: Customers:MDM_CUSTOMERS cannot be resolved because the object is not being added.*
    Can anyone please help me in understanding where i am going wrong?
    regards,
    Sharma.

    Hi Sharma,
    I am quite sure that this problem is related to MDM Strategy only.If you delete your strategy and try u will be able to do so:
    Please check you strategy or check may be in strategy u have some lookup field and corresponding lookup table is not transported.
    See the error says:
    Dependency check failure. A reference to object of type: MatchingStrategy named: Customers:MDM_CUSTOMERS cannot be resolved because the object is not being added
    Regards,
    Neethu Joy

  • Error Importing Repository Schema Into Repository

    Hi,
    I am currently working on a project at a client and I am having an issue importing an XML Repository Schema into a repository.
    I have Development and Quality Repositories which are supposed to be nearly identical.  There have been quite a few changes made to the Quality Repository and the client wants me to export the Quality schema and import it into the Development repository and accept a few changes (I realize changes are typically migrated from Development to Quality).  This should be a relatively simple task however I keep receiving the following error: u201COne or more of the selected items requires that you select additional itemsu201D, when I attempt to change just one field.  I have scoured the SAP forums and exhausted the Reference Guide for MDM and I cannot find a solution.  Any help or suggestions would be greatly appreciated.
    Thanks,
    Don

    Hi,
    You are facing this issue because you are trying to import changes in an object, but rejecting changes for its dependent objects. For example, you are trying to import a new port with a new remote system, but not accepted change in the remote system table.
    I would suggest you to check the MDM log files. it will give you more details why your import repository schema is failing, and which dependent object need to be imported.
    Kindly check the log files and revert.
    Best Regards,
    Shiv

  • XML repository schema

    Hey all
    I downloaded the repository schema to desktop
    Edited it, meaning added couple of fields to a flat table and deleted some other tables
    When I upload the schema back into repository I don't see the field names
    To start with
    the repository schema doesnt have the tag field name
    I added it manually but the repository doesn't parse it/look for it  it seems
    So my question is did any one of you had a similar issue ( I use XML SPY BTW)
    And how do you by pass this , like how do you set the field names somewhere else and get it into the repository design ??
    Any suggestions would be highly appreciated.
    For now I get all the fields in to repository and then go in and put a name to each of the fields  really painstaking!!!!

    Hi,
       The Field name or the Table name should be in a tag ML, in your XML.
    Line: -
    for example
    <?xml version="1.0" encoding="UTF-8"?>
    <Repository description="Prototype">
      <Language name="English [US]" language="eng" country="US" inheritance="English [US]" />
      <Table type="MainTable" code="Products" description="" keyMapping="No" primaryDisplay="SKU" displayFields="SKU" uniqueFields="">
       <ML name="Products" lang="English [US]" /> 
      <Field type="FixedWidthTextField" code="SKU" description="Legacy Stock Number" required="No" writeableOnce="No" matrix="Normal" multilingual="Yes" keyword="Normal" sortIndex="Normal" width="50.0" mlDecimalPlaces="0.0">
         <ML lang="English [US]" name="SKU" />   
    </Field>
    </Table>
    </Repository>
    This is the format of the XML... if you use this the field name or the table name will be uploaded into the repository, not required to add it manually.
    Hope this helps.
    Thanks.

  • Redo the syndication map if the Repository schema changes?

    Hi ,
    We have changed the repository structure after creating the syndication map which is based on the repository schema.Now when I load the syndication map with the updated schema ,i am not seeing the newly added fields on the destination items,so we loaded the destination properties with new schema again but the map of all the fields are no more available which leaves us to redo the map again.Is there anyway that the destination is updated with new fields without redoing the map again.
    Thanks

    Hi Aravind,
    unfortunately there is no way to solve this issue but rebuilding the map. The reason is the way syndciation maps are stored in MDM 5.5. This is subject to change (and improve a lot!) in MDM 7.1. But in 5.5 you'll have to rebuild the syndication map completely if you change the repository schema, respectively the XSD file you use as a basis for XML distribution.
    Best regards
    Michael

  • How many domains can share a single set of database repository schemas?

    How many domains can share a single set of database repository schemas (created by the RCU)?
    What is the best practice in an environment with many domains/WLS servers/applications and a desire to manage minimum database MW repository schemas?

    Hi,
    You can't share the same repository for multiple domains.
    http://docs.oracle.com/cd/E23943_01/web.1111/e13716/understand_domains.htm#i1102627
    (Please mark question as answered or helpful)
    Arik

  • Get Work Repository Schema via odiref

    Hi all,
    Is it possible to get the name of the work repository schema (not the Work schema) using a call to one of the substitution APIs?
    Thanks,
    S.

    hmmmm , not sure if its possible to return it - most probably it is but in the meantime you can always import the schema into Topolology and reference it as you would any other.
    The other way would be to use a variable that refreshes against your master repos to grab the name.

  • EUL5_BATCH_REPOSITORY could not be found in the repository schema

    Hi Gurus
    I had created a new schema XXDISC to store the scheduled workbook results and executed the batchusr_app.sql to complete the necessary setups.
    I was able to schedule the workbooks as well.
    I have since dropped the XXDISC schema and now when i access the scheduling in disco plus i get the error message
    "Insufficient database privileges for scheduling: A workbook cannot be scheduled for the following reason(s) - The package
    EUL_BATCH_REPOSITORY could not be found in the Repository Schema XXDISC. Batchusr.sql should be run against the current EUL"
    Info:
    Discoverer 11.1.1.3
    Apps Mode EUL
    Regards
    Ariv

    Hi,
    Do you have a question here?
    did you try "Batchusr.sql should be run against the current EUL" ?
    the error is probably since your current EUL (DB USER) is missing the privilege to schedule, try to run the script and see if it helps
    I suggest you do that in a testing environment...
    Tamir

  • Repository schema diagram (pdf ) available for Process model ?

    Is there Repository schema diagram (pdf ) shipped/available for Process model metadata?

    Is there Repository schema diagram (pdf ) shipped/available for Process model metadata?

  • MDM - Import Repository schema

    Hi all,
    Have any one tried "Import Repository Schema" operation in MDM Console ?
    I want know the purpose and how this works.
    Please provide me the materails if you have any.
    Thanks in advance.

    Hi ArunParbhu,
    We perform "Import Repository schema"  in order to import i.e. define schema of the repository. We can import repository schema using an MDM schema file.For this operation ,the repository must be unloaded."Import repository schema" operation will create new tables and fields in the repository.
    U can get more details about how to import repository schema from console reference guide available at service market place.It is very well explained after page 210  onwards.
    Hope it will help u.
    Thanks,
    <b>
    Shiv Prashant Dixit</b>

  • Repository hangs while creating repository schema..

    Hi All,
    When i try to create the repository schema from console, the repository hangs and it is not creating schema too.
    the repository comes to normal only when i restart the server.
    Im using MDM 5.5 SP06 Patch 4
    Please help to solve this issue.
    Regards,
    Nimal

    Hello,
    Can you share your code on how yor get the repository schema?
    below is the code,
    GetRepositorySchemaCommand getRepositorySchemaCommand = new GetRepositorySchemaCommand(
                             connectionPool);
                   getRepositorySchemaCommand.setSession(repositorySessionId);
                   getRepositorySchemaCommand.execute();
                   repositorySchema = getRepositorySchemaCommand.getRepositorySchema();
    In general i notcied there is some performance issue with this getRepositorySchema() method,try avoid using it as it consumed almost 2 sec.
    Cheers
    Sabarinathan

  • Got this Error "oracle.ias.repository.schema.SchemaException"

    Hi..
    I want to start back the Application Portal(HTTP) Server that i shut down yesterday.
    So, i followed the steps..
    1)up the lsnrctl
    2)up the database
    3)up the oidmon
    4)up the oidctl
    5)up the dcmctl start -cl
    up the dcmctl -ct ohs
    up the dcmctl -ct oc4j
    But, when i did dcmctl getstate -v
    it gaves me this error.
    "ADMN-100999
    See base exception for details.
    Base Exception:
    oracle.ias.repository.schema.SchemaException:Unable to connect to Directory Serv
    er:javax.naming.CommunicationException: eroom.ctuzxm.com:4032 [Root exception
    is java.net.ConnectException: Connection refused]
    See base exception for details."
    Where i did wrong?
    Fyi, previously, it just ok..
    Thanks

    The command
    1)./lsnrctl start
    2)sqlplus
    startup
    3)./oidmon start
    4)./oidctl server=oidldapd instance=1 configset=1 start
    5)./dcmctl start -cl
    6)./dcmctl start -ct ohs
    7)./dcmctl start -ct oc4j
    8)when i type this, it gave error..
    ./dcmctl getstate -v
    Thanks.

Maybe you are looking for