Namespaces organization

Hi all,
I know what is a namespace and I have already read almost all the threads here about it. My question is regarding the context of namespaces in Integration Repository. I have a software component X, and I add to it the namespace "http://test.namespaces/mynamespace". Then, I create a new software component and add to it the same namespace. Unfortunately, it is possible! Does it mean that the namespaces and the software components aren´t related? By this way, I can use the same namespace for all software components I have in my landscape... so, why this is necessary? Is there a way to control centrally the creation of namespaces?
thanks!
roberti

Ok,
Thank you all for the insights!
Alex, I already know about the dependencies in SLD, it is not about it, thanks for your "re-read" answer!
Moorthy, ok, I understood your explain about the structure SWCV/Namespace/object. What I said about the two data types with same name, same namespace and different content, they are in different SWCV too this was the point.
Wojtek, very helpful to!
Anybody has already worked with web services? In the WS world, the namespace is absolute over everything. First, I thought it was the same in IR, but now with your help I can understand the differences. Thank you!
cheers!
roberti

Similar Messages

  • /BI0/ is not a valid namespace prefix for the organizational criterion

    Hi all,
    I'm getting the below error message when trying to transport 0bpartner that has a 0ORGUNIT as an attribute. I have come across some OSS notes, but those are not applicable to us. I was not able to implement the note is our system.
    We are on 7.3 SP5
    The error mesage is the following:
    Start of the after-import method RS_IOBJ_AFTER_IMPORT for object type(s) IOBJ ( )
    /BI0/ is not a valid namespace prefix for the organizational criterion
    Error SV 771 during after import handling of objects with type(s) IOBJ
    End of after import methode RS_IOBJ_AFTER_IMPORT (Aktivierungsmodus) - runtime: 00:12:19
    Any insight would be appreciated.
    Thanks,
    Voodi

    voodi wrote:
    Hi all,
    >
    > I'm getting the below error message when trying to transport 0bpartner that has a 0ORGUNIT as an attribute. I have come across some OSS notes, but those are not applicable to us. I was not able to implement the note is our system.
    >
    > We are on 7.3 SP5
    >
    >
    > The error mesage is the following:
    >
    >  Start of the after-import method RS_IOBJ_AFTER_IMPORT for object type(s) IOBJ ( )
    >  /BI0/ is not a valid namespace prefix for the organizational criterion
    >  Error SV 771 during after import handling of objects with type(s) IOBJ
    >  End of after import methode RS_IOBJ_AFTER_IMPORT (Aktivierungsmodus) - runtime: 00:12:19
    >
    >
    > Any insight would be appreciated.
    >
    > Thanks,
    > Voodi
    Hi Voodi,
    I strongly think this could be a authorzaiton issue.
    Have you checked the error log? More references : http://goo.gl/9554m ; SAP Note 731973
    Methods
    1. Activate and adjust table /bi0/pbpartner
    2. Activate and adjust table /bi0/morgunit
    3.Run program RSDG_IOBJ_ACTIVATE
    4 Repair info object using program RSDG_IOBJ_REORG
    5. If none of the above help run the program RSDMD_CHECKPRG_ALL with repair mode checked for 0ORGUNIT.
    Possible cases:
    1. Goto RSRV - SID Values in X and Y Tables for 0BPARTNER. If not try activation using RSDG_IOBJ_ACTIVATE
    2. Check changes : If you add new objects to 0BPARTNER then you should also collect that newly added object , collecting only 0BPARTNER is not enough.
    3. If 0BPARTNER is inactive in Q, pls collect it in a request and try to re transport and check.
    Best Regards, @{

  • I can't activate the table... because Namespace /ICMPAC00/ does not exist !

    Hi guru,
    I'm doing upgrade from R3 4.7 to ECC6.0.  I have to correct an error in Phase ACT_700 phase
    This is the error :
         4 EDT013 Table "/ICMPAC00/P_T050" was not activated
    I tried to correct the errore by activating manually the table trought SE11 in the shadow instance,
    if I try to edit the table this error appears:
    Namespace /ICMPAC00/ does not exist
    Message no. TO123
    Diagnosis
    Object DEVC /ICMPAC00/PROVV is in namespace /ICMPAC00/. However, this namespace does not exist in your SAP system.
    Objects from the namespace /ICMPAC00/ can only be edited if the namespace is in the namespace tables.
    System Response
    Editing is terminated.
    Procedure
    Choose an object name that is not assigned to the namespace /ICMPAC00/ (this means that it cannot begin with /ICMPAC00/).
    For a list of the namespace prefixes in the SAP system, go to the Transport Organizer tools (Transaction SE03) and choose -> Objects -> Namespace Information System -> Select namespace.
    I can't correct the error , because I can't modify the table !
    Any idea to solve the problem ?
    Thank's , Antonio Voce.

    Question : it is not sufficent to create namespace ?
    The table are not active in data dictionary, it means that are unusable...
    I think that it is sufficent to create the namespace.
    Do you know how to correct the errore mentioned in the first post :
    Objects from the namespace /ICMPAC00/ can only be edited if the namespace is in the namespace tables.
    If I correct this error I can activate the table and the upgrade can go on.
    Thank's.

  • Statement is not valid in a namespace site

    i'm an amateur programming, and it's my 1st project!! 
    But the thing is I am having a problem . In error list it says "Statement is not valid in a namespace
    Need advise what to do with this error

    i'm an amateur programming, and it's my 1st project!! 
    But the thing is I am having a problem . In error list it says "Statement is not valid in a namespace "
    Need advise what to do with this error
    You need to learn the structure of a program. You can not just place code willy nilly anywhere and think that will work.
    Also you need to know what code can go where also. That will take time too. The information below is from the second link below. But when you read it you need to realize the difference in methods used by a console application and most other project styles.
    So if you are unaware of that you may end up not understanding why certain information is not necessary for a Windows Forms app while other information is not necessary for a console app.
    For example the Main Procedure I see used in console apps. In Windows.Forms apps not so much except for possibly extremely old VB.Net code and mostly I would have to guess by people who used to write console apps all the time then tried Windows.Forms apps
    and for whatever reason couldn't refrain from using console app procedures in Windows.Forms apps which is unecessary and in my opinion quite confusing.
    TutorialsPoint - VB.Net - Program Structure
    Structure of a Visual Basic Program
    File-Level Programming Elements              
    When you start a project or file and open the code editor, you see some code already in place and in the correct order. Any code that you write should follow the following sequence:
    Option                  
    statements
    Imports                  
    statements
    Namespace                  
    statements and namespace-level elements
    If you enter statements in a different order, compilation errors can result.
    A program can also contain conditional compilation statements. You can intersperse these in the source file among the statements of the preceding sequence.
    Option Statements                  
    Option                  
    statements establish ground rules for subsequent code, helping prevent syntax and logic errors. The
    Option Explicit Statement (Visual Basic) ensures that all variables are declared and spelled correctly, which reduces debugging time. The
    Option Strict Statement helps to minimize logic errors and data loss that can occur when you work between variables of different data types. The
    Option Compare Statement specifies the way strings are compared to each other, based on either their
    Binary or Text values.
    Imports Statements                  
    You can include an Imports Statement (.NET Namespace and Type) to import names defined outside your project. An
    Imports statement allows your code to refer to classes and other types defined within the imported namespace, without having to qualify them. You can use as many
    Imports statements as appropriate. For more information, see
    References and the Imports Statement (Visual Basic).
    Namespace Statements                  
    Namespaces help you organize and classify your programming elements for ease of grouping and accessing. You use the
    Namespace Statement to classify the following statements within a particular namespace. For more information, see
    Namespaces in Visual Basic.
    Conditional Compilation Statements                  
    Conditional compilation statements can appear almost anywhere in your source file. They cause parts of your code to be included or excluded at compile time depending on certain conditions. You can also use them for debugging your application, because conditional
    code runs in debugging mode only. For more information, see Conditional Compilation in Visual Basic.
    Namespace-Level Programming Elements              
    Classes, structures, and modules contain all the code in your source file. They are
    namespace-level elements, which can appear within a namespace or at the source file level. They hold the declarations of all other programming elements. Interfaces, which define element signatures but provide no implementation, also appear at module
    level. For more information on the module-level elements, see the following:
    Class Statement (Visual Basic)                  
    Structure Statement                  
    Module Statement                  
    Interface Statement (Visual Basic)                  
    Data elements at namespace level are enumerations and delegates.
    Module-Level Programming Elements              
    Procedures, operators, properties, and events are the only programming elements that can hold executable code (statements that perform actions at run time). They are the
    module-level elements of your program. For more information on the procedure-level elements, see the following:
    Function Statement (Visual Basic)                  
    Sub Statement (Visual Basic)                  
    Declare Statement                  
    Operator Statement                  
    Property Statement                  
    Event Statement                  
    Data elements at module level are variables, constants, enumerations, and delegates.
    Procedure-Level Programming Elements              
    Most of the contents of procedure-level elements are executable statements, which constitute the run-time code of your program. All executable code must be in some procedure (Function,
    Sub, Operator, Get,
    Set, AddHandler, RemoveHandler,
    RaiseEvent). For more information, see Statements in Visual Basic.
    Data elements at procedure level are limited to local variables and constants.
    The Main Procedure              
    The Main procedure is the first code to run when your application has been loaded.
    Main serves as the starting point and overall control for your application. There are four varieties of
    Main:
    Sub Main()
    Sub Main(ByVal cmdArgs() As String)
    Function Main() As Integer
    Function Main(ByVal cmdArgs() As String) As Integer
    The most common variety of this procedure is Sub Main(). For more information, see
    Main Procedure in Visual Basic.
    La vida loca

  • A namespace problem when doing Create InfoArea in bw system

    Dear all,
    we met a problem when excute a process in our bw system:
    our process as follow:
    rsa1(Data Warehousing Workbench:Modeling) --> InfoProvider --> Create InfoArea
    then a error message window came out as below.
    error in object editing
    No valid change license available for n
    /BPR3R/
    Choose 'Display object' or 'Cancel'.
    its detail message is as follow:
    Message no. TO127
    Diagnosis
    You cannot edit the object AREA 0INDUSTRIES. This may be due to the following reasons:
    The corresponding namespace /BPR3R/ is not entered in the namespace table with a valid change license.
    In the namespace table there is no entry with a valid change license that matches the template /BPR3R/.
    System Response
    The function terminates.
    Procedure
    Check the name of the object AREA 0INDUSTRIES. If necessary, choose another object name.
    Otherwise, let the system administrator check the change licenses of the namespaces in your SAP system.
    Maintain the namespaces in the Tools of the Transport Organizer under Administration -> Display/Change Namespaces.
    You need to check and correct the entries that match the template /BPR3R/.
    You need to distinguish between the following cases:
    The namespace is /0SAP/:
    Make sure that the namespace role is C (recipient) and the flags SSCR popup and SAP standard are activated. The license fields remain empty.
    You did not create the namespace yourself. Instead, the namespace owner is SAP or another software vendor.
    Make sure that the namespace role is C (recipient). The field Repair license must either contain the valid license, or the flag SSCR popup must be activated. Contact the namespace owner and ask what you should now do, and what the valid repair license is.
    You are the namespace owner:
    Proceed according to the documentation on applying for and setting up namespaces. If the namespace role is P (producer) then you need a valid development license. For information on this, see the SAP Library under BC - Basis Components -> Change and Transport System -> BC - Namespaces and Naming Conventions -> Reservation of Namespaces).
    Then we did the below action:
    se06 --> system change option
    in this view, we found  /BPR3R/ this Prefix.
    And it is empty in  /BPR3R/ 's namespace/name range volume.
    What is next action we should take to solve this problem?
    Anyone experienced or expert,
    Please kindly give advice.
    Regards,
    Allen

    Hello Allen,
    Cold you please check the following notes which explain about this namespace creation and transport ?
    401778 - Using namespaces to develop individual BW objects
    150451 - Setting up development namespaces
    105132 - Reserving namespaces
    150451 - Setting up development namespaces
    Best regards,
    Rafa

  • Automatically create users (SU01) from organization (0105)

    In our organization, we will have the user id populated in the 0105 record.  How do I have the system automatically create the user record (SU01) from the 0105 record?  I have looked at the HRUSER transaction, but I don't understand how to run that.  Wondering if: a) other companies have done what we are trying to do, and if so, did they use HRUSER, and b) if HRUSER was used, do you have a clear step-by-step on how you use it?
    Thanks in advance!

    1) I have a client that create a subscreen for infotype 0105.
    This has a button to automatic create the user.
    2) HRUSer:
         If you have employees who do not have SAP users, first create SAP users for them and then authorize them to use SAP ESS.
         In the Set Up and Maintain ESS Users (Overview) screen, choose:
    u2022     Employees without users.
    If you choose Background, the Attributes of Users to be Created screen appears.
    If you choose Overview, the Create Users for Persons screen appears.
    u2022     Select a person and choose Create User. The Attributes of Users to be Created screen appears. Choose Execute.
         You must decide how you would like your employees to log on to SAP ESS.
         The user group ESSUSER is a fixed user attribute. It is used to distinguish between SAP ESS users and other system users, such as administrators.
         You can change user attributes in the Set up and Maintain ESS User (Start) screen. In the Attributes of Users, you can modify the Password field. The default is INIT. In the User Group field, the entry ESSUSER is fixed. You cannot change this because it is important to differentiate users authorized for SAP ESS from other users. In the Role field, the SAP role (which you have copied into your namespace) is the default.
         SAP delivers a user exit, which you can use to determine your own password routine and user name. SAP delivers user exit Exit_saplehus_001 as part of the HRESSW4 enhancement. This user exit enables you to change the name and password that the user installation tool creates for each SAP ESS user that is generated.
         Existing users keep their attributes, such as user group, password, date and decimal format and start menu. The existing setting are not overwritten.

  • The system and namespace change option

    Hi Experts,
    I want to integrate a certain SAP Source System within RSA1. After submitting the correct settings for Background User and RFC connection the process leads me to the Source System where I logon with an User which has authorizations in SM59. From there on (the RFC Connection backwards is already defined) I got asked whether I want to user/check/cancel this existing RFC Connection. I click on use, wait for a while and then the error (please see below) appears.
    When proceeding with the steps mentioned in the error message (transaction SE03, Administration node, ...) I cannot find any IDOC Object ZSSA009. I think maybe it's related to some software component or somenthing like that which should be set as "modifiable" but I don't know which....
    Any Ideas on this?
    Many thanks in advance.
    Best regards
    Tobias
    Error Message:
    Message no. TO128
    Diagnosis
    The system and namespace change option set for this SAP System does not allow any changes to be made to object IDOC ZSSA009.
    System Response
    Editing is terminated, the object can only be displayed.
    Procedure
    If you want to edit the object IDOC ZSSA009 in this SAP System, have your system administator set the SAP System to "modifiable" for this object.
    This can affect the modifiability of the namespace &1 or the namespaces that correspond to the pattern &1, as well as the global setting of the system change option.
    The system change option is set using the Transport Organizer tools (Transaction SE03). Expand the Administration node and execute the program Set system change option. The options are described there.

    HI,
    Attached link may help you in configuring the source system.
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/908836c3-7f97-2b10-4cb8-e6790361c152
    Thanks,
    Arun

  • Share namespace/email address coexistence w/ Exchange

    I know this has been discussed in other threads but I'm trying to find a clear answer on how/if this can be done. I've got a customer who has to co-exist between GroupWise 8 and Exchange 2010 for some period of time. Some users will be migrated from GroupWise to Exchange but the period of coexistence will likely be somewhat long.
    Our goal is to be able to share the same namespace (client.com) and setup SMTP coexistence between the two organizations. Actually getting SMTP coexistence working is very simple and I have that working right now. I've also got an external domain configured in GroupWise with external contacts, and I can pick those contacts from the address book and email them without issue.
    The problem I have is when I need to migrate a mailbox to Exchange. Using the "old" method of the Exchange 2003 connector and API Gateway in GroupWise, I could simply set the visibility to None on the migrated mailbox and then create a new external user with the same email address and everything works. However for whatever reason when I try to do the same with the external user it complains that the address is already in use.
    If I simply define a different email address ([email protected] instead of [email protected]) then mail routing works properly. But I'd really like to keep the same email address to maintain consistency with external email recipients.
    I hope this makes sense. Does anyone have any thoughts on this?
    Thanks!

    On 13.07.2011 03:36, mattyg30 wrote:
    >
    > Thanks Massimo, I was hoping you'd reply..
    >
    > I must be remembering things wrong from when I did this last time then,
    > I could have sworn I was able to use the same email but your answer
    > makes sense. But it's still not working unfortunately.
    >
    > Even if I change the Internet Address for the user in GroupWise, it
    > won't let me assign the user's original email address to the external
    > user. It still complains that there is a duplicate email address even
    > after changing the user's original address. Ideally I'd like to change
    > the GroupWise user's internet address to something else and then take
    > the original address and assign it to the external user (as that is how
    > most remaining GroupWise users will email the user).
    >
    > Thoughts?
    >
    > Thanks again for your reply.
    Maybe you're changing the users *primary* email address, but the old one
    is still in the list of allowed addresses, e.g vie userid,
    first/lastname or some such?
    CU,
    Massimo Rosen
    Novell Knowledge Partner
    No emails please!
    http://www.cfc-it.de

  • Namespaces in header vs. tags

    How do I economize on namespace tags; that is, how do I turn this:
    <env:Body>
    <SMA_AD:LogonRequest xmlns:SMA_AD="SMA_AD">
    <SMA_AD:Logon>123456</SMA_AD:Logon>
    <SMA_AD:Password>password</SMA_AD:Password>
    </SMA_AD:LogonRequest>
    </env:Body>
    into this:
    <env:Body>
    <SMA_AD xmlns="SMA_AD">
    <LogonRequest>
    <Logon>123456</Logon>
    <Password>password</Password>
    </LogonRequest>
    </SMA_AD>
    </env:Body>
    It's more readable and can save space.
    Ken.
    P.S. I apologize for this if it turns out space-out, but the web interface keeps
    eating my
    linefeeds.

    Hi Johnny,
    Thank you for the response, but I am referring to the field level within condition record maintenance.  For instance, when you enter transaction VK11 and choose the access table, some of the fields are at the top of the screen, so you are only able to maintain one combination of those fields at a time.  PH7 is the only field that is down at the item level.  Can I control which of the fields become columns in the condition record maintenance screen?
    This is how it looks now:
    Sales Organization |______|
    Region |___|
    PH4 |___|
    PH5 |___|
    PH6 |___|
    PH7 |   Description  |   Amount  |   Unit | per | UoM | ...
    ____|____________|__________|_____|____|_____|
    ____|____________|__________|_____|____|_____|
    ____|____________|__________|_____|____|_____|
    ____|____________|__________|_____|____|_____|
    ____|____________|__________|_____|____|_____|
    I would like it to look like this:
    Sales Organization |______|
    Region |___|
    PH4 | PH5 | PH6 | PH7 |   Description  |   Amount  |   Unit | per | UoM | ...
    ____|_____|____|_____|____________|__________|_____|____|_____|
    ____|_____|____|_____|____________|__________|_____|____|_____|
    ____|_____|____|_____|____________|__________|_____|____|_____|
    ____|_____|____|_____|____________|__________|_____|____|_____|
    I first thought it might correlate with which communication structure the field came from (KOMK or KOMP), but this is not the case since product hierarchy fields come from the item level and yet the fields appear at the top of the screen.
    Any thoughts?  Thanks.

  • Single CAS NameSpace in Multi-Data Center Model With Exchange 2013

    Hi
    We are in process of transitioning from Exchange 2007 to Exchange 2013. Our Exchange 2007 infrastructure is as follows:
    2 Data centers (DC 1 and DC 2). Both with active user population. Both have their own direct Internet Connectivity
    Standalone Exchange 2007 mailbox servers in each data center
    Load Balanced CAS (HT co-located) servers using Hardware Load Balancers in each data center. Load balancers are configured with VIP and FQDNs (LoadBalancer1.Com and LoadBalancer2.com)
    Currently No access allowed from Internet except ActiveSync (No OWA or OA)
    Outlook anywhere is disabled in Exchange 2007 organization but once mailboxes will be moved to Exchange 2013, OA will definitely be used – we will provide OA on Intranet as well as Internet
    All the internal URLs including Autodiscover point to VIP (Load Balancer IP)
    Autodiscover is not currently published on Internet, but we have a plan to publish it now once Exchange 2013 is introduced
    We want to keep a single CAS NameSpace BYOD.ABC.Com for our ActiveSync and OA (and not going to allow OWA) access from Internet. We want to have Split-DNS for our new Exchange 2013 infrastructure due to
    the simplicity it brings. So we are going to use one name BYOD.ABC.Com from the Internet. We have GSLB that provide Fault Tolerance and Geo-Load Balance to external requests coming from Exchange clients, between two data centers. When we will
    install new Exchange 2013 servers, they’ll be part of new VIP so:
    In a 2 data center model, can we name our internal VIPs same in both data centers (i:e BYOD.ABC.Com) as we have decided to go with Split-DNS? Do you see any caveats to this strategy
    If the above strategy will not work, what are the alternate approach(es).
    If we configure same names for the VIPs in both data centers, it will mean that the Autodiscover SCPs for all the Exchange 2013 CAS objects (and Exchange 2007 CAS objects during co-existence) will point to BYOD.ABC.Com. This should not be a problem for
    AD joined systems as they’ll find and contact Autodiscover endpoints in their own sites (based on Keywords attribute that tells which AD site SCP belongs to) –
    Please correct me if this is wrong.
    If we configure same names for the VIIPs in both data centers, this also means that we have to configure BYOD.ABC.Com on External as well as Internal URLs on all the Exchange 2013 servers across both the data centers – Wouldn’t that be a problem – in terms
    of loops during CAS-CAS Proxy/Redirection?
    If we configure different names of the VIPs (say BYOD1.ABC.Com and BYOD2.ABC.Com), how will the Outlook Anywhere requests be handled in both data centers. The OA requests from DC1 will expect the Certificate Principle Name to be BYOD1.ABC.Com and requests
    from DC2 will expect the Certificate Principle Name to be BYOD2.ABC.Com. How to get this stuff working. As far as I know, OA expects CPN to match with it’s name.
    Thanks
    Taranjeet Singh
    zamn

    Any comments/suggestions from community......
    Thanks
    Taranjeet Singh
    zamn

  • ABAP namespace registration

    Hi all,
    we are thinking about registration of a namespace to organize delivery of subsystems with our development objects. (no commercial use)
    Does anybody know, what SAP charges for the registration of a namespace?
    Thanks for your comments.

    >>ABAP.INTERFACE_REGISTRATION_ERROR
    You did not complete proxy objects coding yet.

  • Organizing integration projects into SWCV/Namespaces for CMS

    Hi,
    I have a question regarding how to organize different integration projects into SWCV/namespaces in order to be able to send the different projects into production using CMS independently.
    We are using XI for all data from/to our SAP system landscape, and using BizTalk (BZ) for integration scenarios between the different system landscapes in our company.
    Basically, we thought we could organize the different integration projects between XI and BZ using just one SWCV where each project has it own namespace;
    BIZTALK
      <namespace for project 1>
      <namespace for project 2>
      <namespace for project n>
    But when using the CMS for transport, we cannot separate which transport to assemble when they are related to the same SWCV. Thus, 2 different projects with BZ interface and several transports to Consolidation, they will all be assembled even if just one of the projects is supposed to be transported to production.
    Can someone verify this?
    Seems to me that we must reorganize and create a BZ SWCV for each project?
    BIZTALK_PRJ1
      <namespace for project 1>
    BIZTALK_PRJ2
      <namespace for project 2>
    This will give us a lot of different SWCVs for one system, and the same is valid for all our different SAP systems…
    Best regards
    Torstein

    Thank you again, but I think I have to rephrase my question;
    We are using the CMS option for transporting objects between Dev, Qual and Prod.
    Introduction; you have a SWCV with 2 different namespaces for 2 different interfaces/projects. It is easy to transport to Consolidation, but all imported transports are automatically placed into the Assembly Queue (transports are assembled into a service pack before approval and import to production).
    At the Assembly stage, you can only select transports based on SWCV, you cannot select which transport to use, but all transports related to one SWCV will automatically be assembled.
    Thus, if 2 different projects, separated into two namespaces in one SWCV, have transports to Consolidation, all the transports will be assembled.
    If using File transports this is not a problem, but the it seems to me that it should be possible to separate which transports to select for assemble based on SWCV AND namespace.
    Comments?
    Best regards
    Torstein Nesby

  • Accessing Organizational Unit info of Portal User

    Hi Experts,
    Using UME API I can access almost all data of a portal user, but I couldn't find how to access the "Organizational Unit" data of a user. This information is under the "Additional Information" TAB for NW04s.
    If anyone faced this issue, plase let me know how to do that.
    regards

    HUSEYIN,
    Most probably it's accessible only via generic UME IPrincipal API:
    userObj.getAttribute(namespace, attrName);
    To find out all possible namespaces/attributes use the following:
    final StringBuffer result = new StringBuffer();
    final String[] namespaces = userObj.getAttributeNamespaces();
    for (int i = 0, c = namespaces.length; i < c; i++) {
      final String ns = namespaces<i>;
      final String[] attributes = userObj.getAttributeNames(ns);
      for (int j = 0; k = attributes.length; j < k; j++)
        result.append(ns).append(':').append(attributes[j]).append('n');
    Then analyze output of result.toString() and try to find out what attribute represents OU.
    Valery Silaev
    SaM Solutions
    http://www.sam-solutions.net

  • Shared smtp namespace in mixed environment (2003 & 2010)

    Hi,
    I have a mixed exchange enviornmnement (2003+2010).
    As far as I know in exchange 2010 we use internal relay for shared namespaces. And "This Exchange Organization is responsible for all mail delivery to this address" in ex 2003 recipient policies.
    My question is : when set the option on one side (2003 or 2010) will it be applied to the other side(other version) automatically?
    Thanks

    Hi,
    Yes. Based on my knowledge, it will trust each other automatically.
    Thanks
    Mavis
    Mavis Huang
    TechNet Community Support

  • Option to remove the namespace from generated XML

    What option can I use to NOT have the namespace name in my generated XML from XMLBean library?
    In the XML output given below I do not want to have bean: namespace in my XML, but i'll still like to continue to use the namespace in my schema as that organizes my my beans in a proper package
    com.acomp.prodline.prod.beans.
    Is there some solution
    Schema
    =====
    <xs:schema targetNamespace="http://www.acomp.com/prodline/prod/beans" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://www.acomp.com/prodline/prod/beans">
    <xs:element name="Organization">
              <xs:complexType>
    =====
    Code
    ======
    import com.acomp.prodline.prod.beans
    OrganizationDocument orgDoc = OrganizationDocument.Factory.newInstance();
    OrganizationDocument.Organization org = orgDoc.addNewOrganization();     
    if(rs.next())
         populateOrgBean(rs, org,syncBean);
    // more code...
    Document doc = (Document) orgDoc.newDomNode();
    ======
    Generated XML
    =====
    <?xml version="1.0" encoding="UTF-8"?>
    <bean:Organization ActiveDate="2003-09-16-08:00" xmlns:bean="http://www.ad.com/ris/integration/beans">
         <AddressList>
              <Address>
                   <!-- more contents -->
              </Address>
         </AddressList>
    </bean:Organization>
    =====

    Hi,
    XmlOptions.setUseDefaultNamespace() is designed for this.
    XmlOptions op1 = new XmlOptions();
    op1.setUseDefaultNamespace();
    System.out.println(p.xmlText(op1));
    Hope this helps.
    Kind Regards,
    Jennifer

Maybe you are looking for

  • Object No AR Downpayment Request & AR Downpayment Invoice

    Hi, Can you please let me know the Object No of AR Downpayment Request and AR Downpayment Invoice respectively. Regards, Kamlesh

  • Urgent! Node keep disconnecting from Coherence Cluster

    The system consists of 4 standalone cache servers with local storage set to true and 14 other embedded nodes started with different web apps on tomcat with local storage set to false. When the servers are started after a new deployment, sometimes it

  • Why is the address bar not allowing search anymore?

    I have always searched on Firefox by just typing what I want into the address bar. It would bring up the Google results automatically. It just suddenly stopped working-like I did it while searching for one thing and ten minutes later opened a differe

  • Reevaluation indicator in Vendor master

    Hi MM Gurus,           Can anybody let me know about Re-Evaluation Allowed indicator in Purchasing View of Vendor Master. Pls revert back with example for better understanding Points would be rewarded. Regards, Girish.C.M.

  • Restful Services and Apex

    Do I need to install apex listener in order to use the Restful Services. We are on apex 4.1 and use modplsql apex. Do I need to also install apex listener in order to use the restful services or would it be just enougt to patch 4.1 to 4.1.1 and I can