DI Server Schema discrepancies?

Hi,
I am busy implementing some web service for DI server on SBO 2007A PL47, specifically for updateobject. The idea is to develop a generic class that will take any business object data, apply the schema for that object and perform the update.This works fine on servicalls for example. The following response however happens on updating a quote:
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
  <env:Body>
    <env:Fault>
      <env:Code>
        <env:Value>env:Receiver</env:Value>
        <env:Subcode>
          <env:Value>-5002</env:Value>
        </env:Subcode>
      </env:Code>
      <env:Reason>
        <env:Text xml:lang="en">Item no. is missing  [QUT1.ItemCode][line: 1]</env:Text>
      </env:Reason>
      <env:Detail>
        <Object>23</Object>
        <ObjectIndex>1</ObjectIndex>
        <Command>UpdateObject</Command>
        <SessionID>0AA94C25-0784-4B6B-9A4E-468FD4AD6391</SessionID>
      </env:Detail>
    </env:Fault>
  </env:Body>
</env:Envelope>
One would think the item code is not specified but it is as seen below:
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
  <env:Header>
    <SessionID>0AA94C25-0784-4B6B-9A4E-468FD4AD6391</SessionID>
  </env:Header>
  <env:Body>
    <dis:UpdateObject xmlns:dis="http://www.sap.com/SBO/DIS">
      <BOM xmlns="http://www.sap.com/SBO/DIS">
        <BO>
          <AdmInfo>
            <Object>oQuotations</Object>
            <Version>2</Version>
          </AdmInfo>
          <QueryParams>
            <DocEntry>3</DocEntry>
          </QueryParams>
          <Documents>
            <row>
              <DocNum>3</DocNum>
              <DocType>dDocument_Items</DocType>
              <HandWritten>tNO</HandWritten>
              <DocDate>20100223</DocDate>
              <DocDueDate>20100323</DocDueDate>
              <CardCode>CCH001</CardCode>
              <CardName>Christopher Wren Jr</CardName>
              <DocCurrency>ZAR</DocCurrency>
              <DocRate>1.000000</DocRate>
              <DocTotal>11.400000</DocTotal>
              <Reference1>3</Reference1>
              <JournalMemo>Sales Quotations - CCH001</JournalMemo>
              <PaymentGroupCode>4</PaymentGroupCode>
              <DocTime>1341</DocTime>
              <SalesPersonCode>3</SalesPersonCode>
              <TransportationCode>-1</TransportationCode>
              <Confirmed>tYES</Confirmed>
              <ImportFileNum>0</ImportFileNum>
              <SummeryType>dNoSummary</SummeryType>
              <ContactPersonCode>0</ContactPersonCode>
              <ShowSCN>tNO</ShowSCN>
              <Series>11</Series>
              <TaxDate>20100223</TaxDate>
              <PartialSupply>tYES</PartialSupply>
              <DocObjectCode>23</DocObjectCode>
              <ShipToCode>ets</ShipToCode>
              <DiscountPercent>0.000000</DiscountPercent>
              <Form1099>0</Form1099>
              <RevisionPo>tNO</RevisionPo>
              <BlockDunning>tNO</BlockDunning>
              <Pick>tNO</Pick>
              <PaymentBlock>tNO</PaymentBlock>
              <PaymentBlockEntry>0</PaymentBlockEntry>
              <MaximumCashDiscount>tNO</MaximumCashDiscount>
              <WareHouseUpdateType>dwh_No</WareHouseUpdateType>
              <Rounding>tNO</Rounding>
              <InternalCorrectedDocNum>0</InternalCorrectedDocNum>
              <DeferredTax>tNO</DeferredTax>
              <NumberOfInstallments>1</NumberOfInstallments>
              <ApplyTaxOnFirstInstallment>tNO</ApplyTaxOnFirstInstallment>
              <DocumentsOwner>6</DocumentsOwner>
              <FolioNumber>0</FolioNumber>
              <DocumentSubType>bod_None</DocumentSubType>
              <BPChannelContact>0</BPChannelContact>
              <Address2>SOUTH AFRICA</Address2>
              <UseShpdGoodsAct>tNO</UseShpdGoodsAct>
              <IsPayToBank>tNO</IsPayToBank>
              <BPL_IDAssignedToInvoice>0</BPL_IDAssignedToInvoice>
              <DownPayment>0.000000</DownPayment>
              <ReserveInvoice>tNO</ReserveInvoice>
              <LanguageCode>8</LanguageCode>
              <SequenceCode>0</SequenceCode>
              <SequenceSerial>0</SequenceSerial>
              <SequenceModel>0</SequenceModel>
              <UseCorrectionVATGroup>tNO</UseCorrectionVATGroup>
              <DownPaymentAmount>0.000000</DownPaymentAmount>
              <DownPaymentPercentage>0.000000</DownPaymentPercentage>
              <DownPaymentType>dptInvoice</DownPaymentType>
              <DownPaymentAmountSC>0.000000</DownPaymentAmountSC>
              <DownPaymentAmountFC>0.000000</DownPaymentAmountFC>
              <VatPercent>0.000000</VatPercent>
              <RoundingDiffAmount>0.000000</RoundingDiffAmount>
            </row>
          </Documents>
          <Document_Lines>
            <row>
              <LineNum>1</LineNum>
              <ItemCode>MIC001</ItemCode>
              <ItemDescription>Microphone</ItemDescription>
              <Quantity>1.000000</Quantity>
              <Price>10.000000</Price>
              <PriceAfterVAT>11.400000</PriceAfterVAT>
              <Currency>ZAR</Currency>
              <Rate>0.000000</Rate>
              <DiscountPercent>0.000000</DiscountPercent>
              <WarehouseCode>01</WarehouseCode>
              <SalesPersonCode>3</SalesPersonCode>
              <CommisionPercent>0.000000</CommisionPercent>
              <TreeType>iNotATree</TreeType>
              <AccountCode>400000</AccountCode>
              <UseBaseUnits>tNO</UseBaseUnits>
              <VatGroup>O1</VatGroup>
              <Height1>0.000000</Height1>
              <Hight1Unit>0</Hight1Unit>
              <Height2>0.000000</Height2>
              <Height2Unit>0</Height2Unit>
              <Lengh1>0.000000</Lengh1>
              <Lengh1Unit>0</Lengh1Unit>
              <Lengh2>0.000000</Lengh2>
              <Lengh2Unit>0</Lengh2Unit>
              <Weight1>0.000000</Weight1>
              <Weight1Unit>0</Weight1Unit>
              <Weight2>0.000000</Weight2>
              <Weight2Unit>0</Weight2Unit>
              <Factor1>1.000000</Factor1>
              <Factor2>1.000000</Factor2>
              <Factor3>1.000000</Factor3>
              <Factor4>1.000000</Factor4>
              <BaseType>-1</BaseType>
              <BaseEntry>0</BaseEntry>
              <BaseLine>0</BaseLine>
              <Volume>0.000000</Volume>
              <VolumeUnit>4</VolumeUnit>
              <Width1>0.000000</Width1>
              <Width1Unit>0</Width1Unit>
              <Width2>0.000000</Width2>
              <Width2Unit>0</Width2Unit>
              <TaxType>tt_Yes</TaxType>
              <TaxLiable>tYES</TaxLiable>
              <ShippingMethod>-1</ShippingMethod>
              <CorrectionInvoiceItem>ciis_ShouldBe</CorrectionInvoiceItem>
              <CorrInvAmountToStock>0.000000</CorrInvAmountToStock>
              <CorrInvAmountToDiffAcct>0.000000</CorrInvAmountToDiffAcct>
              <WTLiable>tNO</WTLiable>
              <DeferredTax>tNO</DeferredTax>
              <LineTotal>10.000000</LineTotal>
              <TaxPercentagePerRow>14.000000</TaxPercentagePerRow>
              <ConsumerSalesForecast>tYES</ConsumerSalesForecast>
              <ExciseAmount>0.000000</ExciseAmount>
              <DistributeExpense>tYES</DistributeExpense>
              <ShipToCode>ets</ShipToCode>
              <RowTotalFC>0.000000</RowTotalFC>
              <Usage>0</Usage>
              <TaxOnly>tNO</TaxOnly>
              <UnitPrice>10.000000</UnitPrice>
              <LineStatus>bost_Open</LineStatus>
              <LineType>dlt_Regular</LineType>
              <COGSAccountCode>500130</COGSAccountCode>
              <ItemDetails>MICRO</ItemDetails>
            </row>
          </Document_Lines>
        </BO>
      </BOM>
    </dis:UpdateObject>
  </env:Body>
As a test I used standard DI Api to get the source xml for the same quote from a quote business object and submitted this xml to di server and it works fine (using savexml and set to  xet_ExportImportMode on DI API).
I have noticed that the xml generated from DI API using above method have a lot less fields than specified in the schema for the oQuotations object.
Since I normally use GetByKey() (which returns all fields) to retrieve the xml data from DI Server I rely heavily on these schemas to strip out unwanted fields before submitting the xml back to DI Server.
Note that I did not change the xml data in any way before submitting it back to the di server...
It seems to me that the schema specifies fields which SBO has a problem with,if so why is the error message returned so .. wrong ..?
PS: The 'code' tags don't work or am I doing it wrong .. ?
Edited by: Jaco Bayer on Feb 23, 2010 1:17 PM

It ate my xml! Can anyone tell me how I can get the xml snippets to display correctly? It doesn't make much sense otherwise ..

Similar Messages

  • How do I cleanly uninstall Messaging Server schema changes?

    Hi--
    My company has moved off the Messaging Server platform, and as we're getting to the point of doing some cleanup, I don't see much in the way of references for how to undo all the LDAP schema modifications required to do the iMS install in the first place. I'd really rather not have to guess what schema files the ims_dssetup script may have added, or if it made any other changes, and I'd rather not have to dig through the utility itself or try to parse schema files with the naked eye, in order to try to decipher this. I can't imagine the desired path is supposed to be to perpetually leave this schema clutter in my LDAP directory evermore (granted, the desired path I'm sure doesn't involve migrating off the software, ever, but still), but I certainly don't see any utility to undo the changes, nor anything that clearly lays out what the ims_dssetup utility does to help undo it by hand.
    Anybody else have this problem and find/make a solution already? Thanks.

    Look a the mail server schema reference in the online docs, that lists all the schema used by the mail server.
    REMEMBER that you have to also remember all of the mailserver attributes before removing the schema, otherwise you will have problems with replication. Make certain that provisioning systems are not using any of those attributes too...

  • Unable to capture SQL Server Schema

    I am trying to capture SQL Server 2005 demo schema (AdventureWorks). It does shows the numbers of Tables/Indexes captured..but finishes with this error..
    Error ocurred during capture: Exhausted Resultset
    Column not found. Skipping index detail on index 'IX_StoreContact_ContactTypeID'
    Column not found. Skipping index detail on index 'IX_StoreContact_ContactID'
    Column not found. Skipping index detail on index 'AK_StoreContact_rowguid'
    Column not found. Skipping index detail on index 'IX_ProductVendor_VendorID'
    Column not found. Skipping index detail on index 'IX_ProductVendor_UnitMeasureCode'
    Column not found. Skipping index detail on index 'IX_Address_StateProvinceID'
    Column not found. Skipping index detail on index 'IX_Address_AddressLine1_AddressLine2_City_StateProvinceID_PostalCode'
    Column not found. Skipping index detail on index 'IX_Address_AddressLine1_AddressLine2_City_StateProvinceID_PostalCode'
    Column not found. Skipping index detail on index 'IX_Address_AddressLine1_AddressLine2_City_StateProvinceID_PostalCode'
    Column not found. Skipping index detail on index 'IX_Address_AddressLine1_AddressLine2_City_StateProvinceID_PostalCode'
    Column not found. Skipping index detail on index 'IX_Address_AddressLine1_AddressLine2_City_StateProvinceID_PostalCode'
    Column not found. Skipping index detail on index 'AK_Address_rowguid'
    Column not found. Skipping index detail on index 'AK_Department_Name'
    Any help is appreciated..
    Ajay

    Hi Nandu,
    As your description, you come across an error(vsjitdebugger.exe cannot be found). Please confirm if the error occurs during the installation of SQL Server 2012.  If so, please help post SQL Server setup logs. By default, SQL Server setup log file locates
    in C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log.
    Base on my research, this error could be caused by that the previous uninstallation is improper and vsjitdebugger.exe file could be mistakenly deleted.
    To troubleshoot the issue, you could start your computer into Safe Mode and fix your problem with one of the following methods. For more information, please refer to the article:
    http://www.fixerrorkit.com/fix-error/fix-vsjitdebugger.exe-error.html.
    1. You could execute the sfc /scannow command following steps below.
    a. Press "Windows+R", type in cmd and then right click "Run as administrator"
    b. Type in sfc /scannow (There's a space between sfc and /scannow) into the dialog and hit Enter key and click ok.
    c. Wait until the System File Checker finishes the check.
    2. You could use a Windows repair installation, also known as a Startup Repair to repair your Windows system files.
    3. You could install the latest Windows updates to fix vsjitdebugger.exe error. Microsoft often releases new service packs and system patches to replace or update some DLL files of Windows system.
    4. You could use third-party tool such as Automatic Error Fix Tool to fix your vsjitdebugger.exe error. However, Microsoft cannot make any representations regarding the quality, safety, or suitability of any third-party software or information found there.
    In addition, if you are unable to install  Visual Studio, I suggest you post your question in Visual Studio Setup and Installation forum at
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vssetup  . It is appropriate and more experts will assist you.
    Regards,
    Michelle Li

  • Importing SQL Server Schema and Data

    What is the best way to go about importing schema objects (tables, contstraints, triggers, stored procs, etc.) and data from SQL Server to Oracle?

    No offence taken :)
    But I have copied data from SQL Server DB to Oracle using SQL Server Enterprise manager Data transformation services.
    About 30 tables with summary amount a few hundred thousand rows (~300K) took about 1.5 hour.
    Did it several times when tested and run for production in a data conversion project. Of course when copied to Oracle all data was processed to adapt for our new data model, but that is another story.
    It was quick and easy solution. OK if one needs to copy at least a few M rows then probably he needs to look for different tools.
    Gints Plivna
    http://www.gplivna.eu

  • Schema compare between 2 databases from different server

    Let me know the method for comparing schema between 2 databases from different server of SQL 2012 and sending that in mail.

    Check redgate:
    Compare SQL Server schemas and deploy differences
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Database Design
    New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014

  • How to retrieve null-valued attributes from a LDAP server?

    (I posted this in the ES board but then thought this is more of a programmer's question, sorry for the duplication).
    I am using JNDI api to do search operations on a Java Directory Server( part of SunOne).
    However, I found all the attributes that do not have values are automatically filtered out from the search result.
    NamingEnumeration answer = ctx.search(ctxName, filterExpr, cons);
                   while(answer.hasMore()){
                        SearchResult sr = (SearchResult)answer.next();
                        Attributes attrs = sr.getAttributes();
                        for(NamingEnumeration ne = attrs.getIDs();ne.hasMore();){
                             System.out.println("ids:"+ne.next());
                        System.out.println("-------------------------------------------------------");
                       for (NamingEnumeration ae = sr.getAttributes().getAll(); ae.hasMore();) {
                           Attribute attr = (Attribute)ae.next();
                           System.out.println("attrName:"+attr.getID());
                           //System.out.println("attribute: " + attr.getID());
                           NamingEnumeration e = attr.getAll();
                           while(e.hasMore()){
                                 System.out.println("  attrVal:"+e.next());
                       }Is there anything I did wrong here?
    Here are a couple of things I noticed,
    1. in a Softerra LDAP browser, those no-valued attributes are not present either. But in JXplorer, I can see the full list that includes the attributes that do not have a value.
    2. I had Schema disabled in the server console.
    Thank you in advance.

    There are only two ways to read data from Directory Server:
    1. a. just fetch the entry
    b. display the content
    2. a. fetch the entry
    b. parse the entry and figure what object classes it is of
    c. lookup each object class definition in the schema and retrieve the attribute list
    d. combine the attributes of the entry with all the "possible" attributes of its object classe(s)
    e. display the content
    Here's for an easy example we can relate to:
    I have the following entry in my DS
      cn=the_duuuuuude,dc=forum,dc=sun,dc=com
      objectClass: person
      cn: the_duuuuuude
      sn: arnaudIf you use method 1, you will get just what is stored in the db. That is:
      cn=the_duuuuuude,dc=forum,dc=sun,dc=com
      objectClass: person
      cn: the_duuuuuude
      sn: arnaudif you use method 2, you will get:
      cn=the_duuuuuude,dc=forum,dc=sun,dc=com
      objectClass: person
      cn: the_duuuuuude
      sn: arnaud
      description:
      seeAlso:
      telephoneNumber:
      userPassword:because when you looked up the 'person' object class you got this:
    objectClasses: ( 2.5.6.6 NAME 'person' DESC 'Standard LDAP objectclass' SUP top MUST ( sn $ cn ) MAY ( description $ seeAlso $ telephoneNumber $ userPassword ) X-ORIGIN 'RFC 2256' )Now the important thing to note is that physically in the database, the attributes description, seeAlso, telephoneNumber and userPassword are NOT stored. It's not that they have a 'null' value. They're just not there. It doesn't stop you from looking up the schema.
    Optimally, in your client, you would fetch the whole server schema and cache it so you have to do the extra round trip for every entry you process.
    The difference you observe with various LDAP browsers might simply be that one uses method 1 and the other method 2.
    Hope this helps wrap your mind around this.
    -=arnaud=-

  • Error while starting the content server

    Hi,
    I have installed UCM and when i start the content server, it says it was succesful but logs show the below error.
    Unable to publish the schema. Published schema directory could not be swapped into its proper location. [ Details ]
    An error has occurred. The stack trace below shows more information.
    !csSchemaUnableToPublish!csSchemaFailedToMovePublishedFilesIntoPlace
    intradoc.common.ServiceException: !csSchemaFailedToMovePublishedFilesIntoPlace
         at intradoc.server.schema.StandardSchemaPublisher.doPublishing(StandardSchemaPublisher.java:349)
         at intradoc.server.schema.StandardSchemaPublisherThread.run(StandardSchemaPublisherThread.java:252)
    ANy idea wats going on.
    I have done the required changes in the confd of the webserver, Content server is accessible from the webpage. I am also able to login as sysadmin.
    Not sure wats going wrong.
    Thanks

    You can sometimes get issues on the file system with file locking occurring and so UCM can not clear up/move the schema files properly.
    It may not be this but...There should me a metalink note about this deleting schema directories.
    Tim
    Edited by: Tim Snell on 06-May-2010 13:00

  • Migrate sql server data to oracle

    Hello
    I want to migrate data in sql developer but not all the tables. Because my sql server schema has a lot of tables and datas. So it takes much times.
    i have already captured model and converted model but just i want to migrate 3 table data.
    Thanks

    you can drop all unwanted tables from the Oracle model before doing the data migration.

  • Workflow Manager with Project Server error Exception Starting Workflow: The value for column _WORKFLOW_INSTANCE_UID_ in table _WorkflowInstance_ is DBNull

    Hello,
    The project server workflows were running fine on my servers (2 App and 2 WFE). suddenly workflows are not working anymore.
    and I am getting the below error:
    DBNull.. Trace: at Microsoft.Office.Project.Server.Schema.WorkflowDataSet.WorkflowInstanceRow.get_WORKFLOW_INSTANCE_UID() at Microsoft.Office.Project.Server.BusinessLayer.Workflow.StartWorkflow(Guid projectGuid, Guid enterpriseProjectTypeUid, Boolean
    isNewProject, Guid previousEntepriseProjectTypeUid, Boolean skipStage, Guid stageToSkipTo):
    WorkflowExceptionStartingWorkflow (35115). Details: id='35115' name='WorkflowExceptionStartingWorkflow' uid='047a6f2d-8a44-e411-8bf4-0050568b37eb'.
    I checked all DBs; all running fine. Also I tried to re-register the workflow with my site collection. but nothing worked.
    Any suggestions?
    Twitter : @MShoubaki | http://jo.linkedin.com/in/mshoubaki

    Hi Mohammad, 
    I was able to resolve my issue by installing KB2880963.  I did not have any of the other updates mentioned installed, but it did resolve the issue. 
    Note: I did need to restart my servers.  
    See Below from
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/b189e4b8-bb9e-4ade-a3d5-cd2e0f90e93f/workflow-not-working-after-installing-service-pack-1-and-patches?forum=sharepointadmin 
    Here is
    the security update which you will need to install.
    Update 2880963 for SharePoint Server 2013
    http://support.microsoft.com/kb/2880963
    Chcek the link for details.
    http://expertsharepoint.blogspot.de/2014/08/workflow-not-working-after-installing.html

  • Oracle Content Server Search Gives JavaScript Error

    There is a content server Search error I am facing over here.Whatever criteria or metadata is entered the javascript error comes.It shows the following:
    Line:1445
    Char:4
    Error:Object doesn't support this property or method.
    Code:0
    URL:http://172.18.41.23:90/idc/idcplg?IdcService=GET_DOC_PAGE&Action=GetTemplatePage&Page=STANDARD_QUERY_PAGE
    I had enabled Full Text Serach but I have changed back to the metadata search, as the Full text search was not working as well.I am not sure if there is a collision between various searches as the Oracle Text Search was installed along with Content Server.I am trying to build some pages with new fields and the Search needs to work for that.

    Unable to publish the schema. Unable to publish the view 'ItemPropertyView'. The criteria field doPublish for view ItemPropertyView is missing. [ Details ]
    An error has occurred. The stack trace below shows more information.
    Srinath,
    I saw this error just now in the server log.
    !csSchemaUnableToPublish!csSchemaUnableToPublishView,ItemPropertyView!csSchCriteriaFieldMissing2,doPublish,ItemPropertyView
    intradoc.common.ServiceException: !csSchemaUnableToPublishView,ItemPropertyView
         at intradoc.server.schema.StandardSchemaPublisher.publishEntireView(StandardSchemaPublisher.java:550)
         at intradoc.server.schema.StandardSchemaPublisher.publishViewValues(StandardSchemaPublisher.java:456)
         at intradoc.server.schema.StandardSchemaPublisher.doPublishing(StandardSchemaPublisher.java:331)
         at intradoc.server.schema.StandardSchemaPublisherThread.run(StandardSchemaPublisherThread.java:252)
    Caused by: intradoc.data.DataException: !csSchCriteriaFieldMissing2,doPublish,ItemPropertyView
         at intradoc.server.schema.SchemaUtils.doServerProcessing(SchemaUtils.java:1405)
         at intradoc.server.schema.SharedObjectsTableLoader.loadAllValues(SharedObjectsTableLoader.java:299)
         at intradoc.shared.schema.SchemaViewData.syncViewValues(SchemaViewData.java:687)
         at intradoc.shared.schema.SchemaViewData.getAllViewValuesEx(SchemaViewData.java:241)
         at intradoc.shared.schema.SchemaViewData.getAllViewValues(SchemaViewData.java:234)
         at intradoc.server.schema.StandardSchemaPublisher.publishEntireView(StandardSchemaPublisher.java:515)
         ... 3 more
    Any clues?

  • Directory Server Enterprise Edition 6.3

    Hi all ,
    i have downloaded the gz version of directory server 6.3 from the sun site & communication suite 6,
    well i install the directory server 6.3 and install the directory creation utility from the comm suite 6.
    but i am unbale to find that from where i will get the access manager , and i am also unable to create the directory (server-schema) i.e by using the comm_dssetup.pl
    it fails and give me the following error,
    Directory server does not appear to be running or not listening to port 389.
    Bad DS version (0,0) Please correct the problem and re-run this script. at ./comm_dssetup.pl line 1014.
    Regards
    Adeel

    simply looks like the comms installer is busted with DS ZIP distro. I'll get to them.
    Thanks for the notification.

  • Migrating SQL Server 7.0 to Oracle 8i in Different Operating Systems

    I am migrating SQL Server 7.0 Databases on NT to Oracle 8i on Sun 2.6. Is there is any other way other then Migration Workbench.
    If Mig Workbench is OK. What are the steps to do Migration.
    null

    Hi,
    You can perform this action with the Oracle Migration Workbench. Just install the Workbench on the same machine as your SQL Server database.
    You can then configure the workbench to point to the oracle database on your Sun machine.
    You can use the Oracle database on your Sun machine for both your destination database (the database to which you migrate your SQL Server schema and data) and workbench repository.
    In order to do this you will need to configure a tnsnames.ora entry. The tool that will do this configuration for you should be started up at the end of the workbench installation. It is a fairly straightfoward process.
    You then need to create a user in your oracle database that will store the workbench repository.
    Once you have comleted these steps you will be able to migrate SQL Server on NT to Oracle on Sun.
    It is exactly the same process as migrating to Oracle on NT except you are pointing the Workbench to Oracle on a Sun box.
    Regards
    John

  • How to retrieve null-valued attributes from LDAP server.

    I am using JNDI api to do search operations on a Java Directory Server( part of SunOne).
    However, I found all the attributes that do not have values are automatically filtered out from the search result.
                   NamingEnumeration answer = ctx.search(ctxName, filterExpr, cons);
                   while(answer.hasMore()){
                        SearchResult sr = (SearchResult)answer.next();
                        Attributes attrs = sr.getAttributes();
                        for(NamingEnumeration ne = attrs.getIDs();ne.hasMore();){
                             System.out.println("ids:"+ne.next());
                        System.out.println("-------------------------------------------------------");
                       for (NamingEnumeration ae = sr.getAttributes().getAll(); ae.hasMore();) {
                           Attribute attr = (Attribute)ae.next();
                           System.out.println("attrName:"+attr.getID());
                           //System.out.println("attribute: " + attr.getID());
                           NamingEnumeration e = attr.getAll();
                           while(e.hasMore()){
                                 System.out.println("  attrVal:"+e.next());
                       }Is there anything I did wrong here?
    Here are a couple of things I noticed,
    1. in a Softerra LDAP browser, those no-valued attributes are not present either. But in JXplorer, I can see the full list that includes the attributes that do not have a value.
    2. I had Schema disabled in the server console.
    Thank you in advance.

    There are only two ways to read data from Directory Server:
    1. a. just fetch the entry
    b. display the content
    2. a. fetch the entry
    b. parse the entry and figure what object classes it is of
    c. lookup each object class definition in the schema and retrieve the attribute list
    d. combine the attributes of the entry with all the "possible" attributes of its object classe(s)
    e. display the content
    Here's for an easy example we can relate to:
    I have the following entry in my DS
      cn=the_duuuuuude,dc=forum,dc=sun,dc=com
      objectClass: person
      cn: the_duuuuuude
      sn: arnaudIf you use method 1, you will get just what is stored in the db. That is:
      cn=the_duuuuuude,dc=forum,dc=sun,dc=com
      objectClass: person
      cn: the_duuuuuude
      sn: arnaudif you use method 2, you will get:
      cn=the_duuuuuude,dc=forum,dc=sun,dc=com
      objectClass: person
      cn: the_duuuuuude
      sn: arnaud
      description:
      seeAlso:
      telephoneNumber:
      userPassword:because when you looked up the 'person' object class you got this:
    objectClasses: ( 2.5.6.6 NAME 'person' DESC 'Standard LDAP objectclass' SUP top MUST ( sn $ cn ) MAY ( description $ seeAlso $ telephoneNumber $ userPassword ) X-ORIGIN 'RFC 2256' )Now the important thing to note is that physically in the database, the attributes description, seeAlso, telephoneNumber and userPassword are NOT stored. It's not that they have a 'null' value. They're just not there. It doesn't stop you from looking up the schema.
    Optimally, in your client, you would fetch the whole server schema and cache it so you have to do the extra round trip for every entry you process.
    The difference you observe with various LDAP browsers might simply be that one uses method 1 and the other method 2.
    Hope this helps wrap your mind around this.
    -=arnaud=-

  • Questions about RH Server features

    Hi Adobe users,
    we're considering to recommend RoboHelp Server as a
    publishing solution to a client. They are already using RoboHelp
    and want to make the contents available online. Another issue is
    centralized management of their help content documents. I'd be very
    glad if someone could answer the following questions:
    Is it possible to integrate RH Server
    with a CRM system or another user management system for
    authentication? Can it be integrated in a single sign-on
    infrastructure?
    How does the access control mechanism
    work? Can I set permissions who is allowed to publish certain
    documents/projects?
    Does it support workflows
    (review/accept/reject)? Or is this done using the staging
    server?
    Does it support content versioning?
    Or do we need RH SourceControl for that additionally?
    Does it support locking (check-in,
    check-out) of documents to allow concurrent editing?
    In short - does the RoboHelp server act as a document
    management system, or do the authors have to store the contents on
    their local computers and publish only the final version? Another
    issue is translation management - can the authors publish one
    language version, which is translated by other people (in other
    countries) and published to the same server?
    Thanks a lot in advance for any help!
    Andreas Hartmann

    Wow, Andreas. Welcome to the Forums.
    That's quite a laundry list!
    The answers are pretty much, "yes", if I understand
    correctly. That said, I don't know that much about CRMs, so your
    mileage may vary.
    To start, you might want to take a look at my article on the
    Adobe Developer Network for an overall perspective.
    Adobe
    RoboHelp Server 6 improves the feedback loop
    I view RoboHelp and RoboHelp Server as a "content" management
    rather than a "document" management system though this is a bit a
    semantics. Using variables, conditional build tags and Single
    Source Layouts, you can manage the content of your output in a
    fairly granular way (including to some level, your translation
    issues).
    In other words a team of multiple authors can manage the
    content of a website in the way you describe with a combination of:
    1. The authoring client (RoboHelp's main application) to
    develop content and manage it.
    2. RoboSource Control (for the check in, check out and
    versioning you mentioned) where authoring content source material
    is stored on a central server for backup and access by the team.
    3. RoboHelp Server for managing the authentication of who has
    access to the web server for publishing, etc. RoboHelp Server is an
    Active Server Pages application running on IIS, typically with a MS
    SQL Server or Oracle DB as the back end. As such, it uses Windows
    Server straightforward authentication methods. When you set up the
    author's project to publish to the server it will ask you for the
    Username and Password. Once this is configured, it's seamless from
    there. That login name/password can be the same as whatever you
    call your single sign-on pair as long as it conforms to the Windows
    Server scheme mentioned earlier.
    The RoboHelp author who may be designated as the "admin(s)"
    of the team can create and assign permissions from the authoring
    client and otherwise manage the Server site remotely without having
    to pester the Web Administrator for maintenance of the site.
    The staging server scenario you mention is an option that is
    completely up to your team and the IT folks. RoboHelp Server
    doesn't care one way or another. It's just an application sitting
    on a IIS web server. That server could be the "development or
    staging" server or the so-called "production" or live server.
    The different languages you mention could be published to the
    same server and comingled into a single site (kind of messy) or you
    could have different language sites (as long as they are different
    domains/IP addresses) sitting on the same RoboHelp Server enabled
    machine.
    Regarding language, one important item to research is the
    RoboHelp version you are using and it's language support. The
    much-anticipated Adobe RoboHelp 7 (now in beta and expected "before
    the end of the year") will have full Unicode/double byte character
    support for 35 languages and a wonderful way of handling
    translation workflows.
    Well, that should get you started. Let me know what I've
    missed!
    Thanx,
    john

  • How to know database name and schema name by providing package name?

    Hi,
    Could someonw will help me to get database name and schema name by providing package name ?
    I have used the query : select * from all_objects where object_name='Package_name'; but it simply returns schema name where as i need DB name and username.
    --Prajakta

    but it simply returns schema name where as i need DB name and username.
    i want to retrive the DB name for package name
    Based on your questions, I wonder if you are used to working in SQL Server? (The server, database, and schema are part of the 4-part  name of an object, independent of any user.)
    In SQL Server, schema and username are two separate physical concepts.  "Schema" is purely logical in Oracle: a user which owns objects is often called a "schema".
    In Oracle, "database" is roughly equivalent to the SQL Server concept  "server" (what you log in to).  It is not part of the naming path to a specific object  (unless there is a database link involved, but there is no indication that's what you have here).  In Oracle you connect to an Instance (or Service) and people often call this the "database", but there is a fine semantic distinction there (separate topic). 
    Once connected in Oracle, you fully-qualify an object by only a 2-part owner and object name (possibly 3-part if a database link is involved user.object@link).
    12c added another wrinkle to all of this, but I'll assume this question was more basic than that, because you likely would have mentioned if this was a 12c question.

Maybe you are looking for