Resource definition & URL specification in ReST WS for configuration settin

Hi All,
I am working on developing a configuration management platform.
This will have functions for configuration setting such as enabling logging in the system.
I want to expose this configuration management service using ReST web service.
I went through the rest specs and jersey samples & am not able to understand clearly what can be specified as resource in this particular task.
Its not a noun like customer/order etc. Should I take logging as a resource then how the method to enable logging should look like,
e.g. I have a method int enableLogging(true) in my service class. What should be a proper rest API for this.
I am considering following:
URL: http://domain/mapping/??enableLog?? // need opinions here
HTTP Method: PUT
Returns: 200 & int as xml
Any thoughts on the same is appreciated.
Thanks in advance.

I am considering to have my configuration file as a resource and then I can have /config as resource path &
GET /config/logging for getting current logging status (enable/disable)
PUT /config/logging?enable=true for enabling logging status.
Any thoughts ?

Similar Messages

  • Could not deploy policy for resource: type= url , application=MySecurex,

    Hi
    My situation :
    I have 2 managed weblogic portal 10.3.0 managed servers in a cluster and 1 admin server. All are running as a service.
    Deployments of new versions of applications are submitted by an automated script.
    The steps in the script are :
    - stop the services of the managed servers
    - undeploy the previous version by using ant task
    <target name="undeploy_old" description="undeploy old application" depends="downloadFiles">
                   <java classname="weblogic.Deployer" output="./temp/${buildProject}_${deployEnv}/${buildVersion}/undeploy.txt" fork="yes">
                        <arg value="-adminurl" /> <arg value="${adminurl}" />
                        <arg value="-username" /> <arg value="${weblogic_user}" />
                        <arg value="-password" /> <arg value="${weblogic_pwd}" />
                        <arg value="-undeploy" />
                        <arg value="-name" />
                        <arg value="${buildProject}" />
                        <arg value="-verbose" />
                        <classpath refid="project.class.path"/>
                   </java>     - deploy the new version by using ant task
         <java classname="weblogic.Deployer"
                   output="./temp/${buildProject}_${deployEnv}/${buildVersion}/deploy.txt"
                   fork="yes"
                   maxmemory="512m"
                   inputstring="" >
             <arg value="-adminurl" /> <arg value="${adminurl}" />
             <arg value="-username" /> <arg value="${weblogic_user}" />
             <arg value="-password" /> <arg value="${weblogic_pwd}" />
             <arg value="-stage" />
             <arg value="-verbose" />
              <arg value="-upload" />
             <arg value="-deploy" />
             <arg value="-name" /> <arg value="${buildProject}" />
             <arg value="-source" /> <arg value="./temp/${buildProject}_${deployEnv}/${buildVersion}/${buildProject}.ear" />
             <arg value="-targets" /> <arg value="${deploytargetinstances}" />
              <classpath refid="project.class.path"/>
         </java>- start the services of the managed servers
    Problem:
    When the managed servers are restarting and the new version is going to prepared status, an error occurs for the new version of the application :
    ####<27-dec-2011 13.42 u. CET> <Info> <Deployer> <S40BEAPORTACC1> <s40beaportacc1p9106> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1324989758076> <BEA-149059> <Module MySecurexEarAdmin of application MySecurex is transitioning from STATE_NEW to STATE_PREPARED on server s40beaportacc1p9106.>
    ####<27-dec-2011 13.42 u. CET> <Error> <Security> <S40BEAPORTACC1> <s40beaportacc1p9106> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1324989758779> <BEA-090064> <The DeployableAuthorizer "myrealm_weblogic.security.providers.xacml.authorization.XACMLAuthorizationProviderImpl" returned an error: weblogic.security.spi.ResourceCreationException: [Security:090310]Failed to create resource.>
    ####<27-dec-2011 13.42 u. CET> <Error> <HTTP> <S40BEAPORTACC1> <s40beaportacc1p9106> <[STANDBY] ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1324989758779> <BEA-101199> <Could not deploy policy for resource: type=<url>, application=MySecurex, contextPath=/MySecurexEarAdmin, uri=/campaigns/emails/*.
    weblogic.security.service.ResourceCreationException: weblogic.security.spi.ResourceCreationException: [Security:090310]Failed to create resource
         at com.bea.common.security.internal.service.PolicyDeploymentServiceImpl$DeploymentHandlerImpl.deployPolicy(PolicyDeploymentServiceImpl.java:173)
         at weblogic.security.service.WLSPolicyDeploymentServiceWrapper$DeploymentHandlerImpl.deployPolicy(Unknown Source)
         at weblogic.security.service.AuthorizationManager$HandlerAdaptor.deployPolicy(Unknown Source)
         at weblogic.security.service.AuthorizationManager.deployPolicy(Unknown Source)
         at weblogic.servlet.security.internal.ResourceConstraint.deploy(ResourceConstraint.java:108)
         at weblogic.servlet.security.internal.WebAppSecurityWLS.deployPolicies(WebAppSecurityWLS.java:253)
         at weblogic.servlet.security.internal.WebAppSecurity.registerSecurityConstraints(WebAppSecurity.java:140)
         at weblogic.servlet.internal.WebAppServletContext.prepareFromDescriptors(WebAppServletContext.java:1189)
         at weblogic.servlet.internal.WebAppServletContext.prepare(WebAppServletContext.java:1121)
         at weblogic.servlet.internal.HttpServer.doPostContextInit(HttpServer.java:449)
         at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:424)
         at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:910)
         at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:364)
         at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
         at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
         at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:58)
         at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(DeploymentCallbackFlow.java:42)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:615)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:191)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:16)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:155)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:141)
         at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:39)
         at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:187)
         at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
         at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:233)
         at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
         at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
         at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:173)
         at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:89)
         at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    weblogic.security.spi.ResourceCreationException: [Security:090310]Failed to create resource
         at weblogic.security.providers.xacml.DeployableAuthorizationProviderV2Helper.deployPolicy(DeployableAuthorizationProviderV2Helper.java:119)
         at weblogic.security.providers.xacml.DeployableAuthorizationProviderV2Helper.deployPolicy(DeployableAuthorizationProviderV2Helper.java:162)
         at weblogic.security.providers.xacml.authorization.XACMLAuthorizationProviderImpl.deployPolicy(XACMLAuthorizationProviderImpl.java:281)
    weblogic.management.utils.CreateException:
         at com.bea.security.providers.xacml.entitlement.PolicyManager.setPolicy(PolicyManager.java:241)
         at com.bea.security.providers.xacml.entitlement.PolicyManager.setPolicy(PolicyManager.java:165)
         at weblogic.security.providers.xacml.DeployableAuthorizationProviderV2Helper.deployPolicy(DeployableAuthorizationProviderV2Helper.java:112)
    com.bea.security.xacml.PolicyStoreException: <openjpa-1.1.0-r422266:657916 fatal store error> kodo.jdo.FatalDataStoreException: The transaction has been rolled back.  See the nested exceptions for details on the errors that occurred.
         at com.bea.security.providers.xacml.store.BasePolicyStore.setPolicy(BasePolicyStore.java:684)
         at com.bea.security.providers.xacml.store.BasePolicyStore.setPolicy(BasePolicyStore.java:576)
         at com.bea.security.providers.xacml.entitlement.PolicyManager.setPolicy(PolicyManager.java:222)
         at com.bea.security.providers.xacml.entitlement.PolicyManager.setPolicy(PolicyManager.java:165)
    <openjpa-1.1.0-r422266:657916 nonfatal store error> kodo.jdo.ObjectNotFoundException: The instance "netscape.ldap.LDAPException: error result (32)" does not exist in the data store.
    FailedObject: netscape.ldap.LDAPException: error result (32)
         at com.bea.common.ldap.LDAPStoreManager.flush(LDAPStoreManager.java:370)
         at org.apache.openjpa.abstractstore.AbstractStoreManager.flush(AbstractStoreManager.java:277)
         at org.apache.openjpa.kernel.DelegatingStoreManager.flush(DelegatingStoreManager.java:130)
         at org.apache.openjpa.datacache.DataCacheStoreManager.flush(DataCacheStoreManager.java:554)
         at org.apache.openjpa.kernel.DelegatingStoreManager.flush(DelegatingStoreManager.java:130)
         at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:2007)
    ....>
    My workaround:
    Delete the <domain>\servers\s40beaportacc1p9106\data\ldap directory on the managed servers and restart
    Does anyone knows what causes the error and how to solve it?
    The goal is to be able to deploy our application by automation.

    You must use not the original bean that you coded. You must use the bean generated by axis-wsdl2java.
    The bean generated by axis-wsdl2java is:
    - in the first beanMapping: MSPCSService.SMSMO
    - in the second beanMapping: MSPCSService.SMSMOResponse
    As you can see, the bean the axis-wsdl2java will generate is build with the namespace + "." + qname. If you use an domain like java.sun.com in namespace, then the package name you will use is inverted (in the sample, com.sun.java). Look at the code generated.
    You client must use this beans, not the original coded by you.
    This must work, worked for me :)

  • WebGate Error Report - The URL /access/sso is reserved for use by Oracle...

    We are getting a 500 error on the web gates when logging in.
    They have been working before, but are now reporting the error below.
    2010/01/27@07:09:25.632239 18521 33 WEB ERROR 0x0000151F /export/build40/Oblix/coreid1014/palantir/commonlib/src/apache2_req_info.cpp:170 "WebGate Error Report" Message^The URL /access/sso is reserved for use by Oracle Access Manager and has been used with incorrect parameters. ReqReq^POST /access/sso HTTP/1.1 ReqProto^HTTP/1.1 ReqHost^p1uawbsv1.portal.internal ReqStatLine^ ReqStatus^200 ReqRawUri^/access/sso ReqUri^/access/sso ReqFilename^/u01/app/oracle/product/11.1.1/ohs1/instances/instance1/config/OHS/ohs1/htdocs/access ReqPath^/sso ReqArgs^
    The configuration uses form based login
    Details for Authentication Scheme
    Level           1
    Challenge Method           Form
    Challenge Parameter           
    creds:userid password
    form:/oamsso/login.html
    action:/access/sso
    passthrough:no
    SSL Required           No
    Challenge Redirect           
    Enabled           Yes

    thanks,
    the login post goes to /access/sso, but now i am getting 404 error /access/sso
    Below is what I currently have the following in httpd.conf, which is the same as in a working environment.
    The web gate policy resources include /portal and /public, but no mention of /access. How does web gate know how to intercept /access/sso?
    [2010-01-28T10:50:42.9609+11:00] [OHS] [ERROR:32] [OHS-9999] [core.c] [host_id: p1uawbs02] [host_addr: 10.252.16.223] [tid: 18] [user: oracle] [ecid: 0000Pa_5qz3BP9s5Gj0Fyf0001rV00009_] [rid: 0] [VirtualHost: main] File does not exist: /u01/app/oracle/product/11.1.1/ohs1/instances/instance2/config/OHS/ohs1/htdocs/access
    #*** BEGIN WebGate Specific ****
    LoadFile "/u01/app/oracle/product/11.1.1/ohs1/oam/webgate/access/oblix/lib/libgcc_s.so.1"
    LoadFile "/u01/app/oracle/product/11.1.1/ohs1/oam/webgate/access/oblix/lib/libstdc++.so.5"
    LoadModule obWebgateModule "/u01/app/oracle/product/11.1.1/ohs1/oam/webgate/access/oblix/apps/webgate/bin/webgate.so"
    WebGateInstalldir "/u01/app/oracle/product/11.1.1/ohs1/oam/webgate/access"
    WebGateMode PEER
    <Location /access/oblix/apps/webgate/bin/webgate.cgi>
    SetHandler obwebgateerr
    </Location>
    <Location "/oberr.cgi">
    SetHandler obwebgateerr
    </Location>
    <LocationMatch "/*">
    AuthType Oblix
    require valid-user
    </LocationMatch>
    #*******Default Login page alias***
    Alias /oamsso "/u01/app/oracle/product/11.1.1/ohs1/oam/webgate/access/oamsso"
    <LocationMatch "/oamsso/*">
    Satisfy any
    </LocationMatch>
    #*** END WebGate Specific ****

  • Exchange 2010 OWA : TMG Error 12302 The server denied the specified Uniform Resource Locator (URL).

    Hello All,
    We are using TMG2010 (SP2, rollup4) for publishing Exchange 2010 OWA sites. The issue is that after every 10-24 hrs , the TMG server stops logging in OWA sites and start giving below error. Then we have to restart the server one two times or the problem
    solves by itself.
    I have also install a new server and it is also giving same behavior.  On TMG server the exchange edge server and Forefront Protection for exchange is also installed.
    Please help to solve this issue.
    Denied Connection
    -TMG05 5/21/2014 11:44:39 PM
    Log type:
    Web Proxy (Reverse)
    Status: 12302 The server denied the specified Uniform Resource Locator (URL). Contact the server administrator.
    Rule:
    PRC-OWA
    Source:
    119.157.175.238:56971
    Destination:
    111.68.105.121:443
    Request:
    GET http://mail.parc.gov.pk/owa
    Filter information:
    Req ID: 0e947d98; Compression: client=Yes, server=No, compress rate=0% decompress rate=0% ; FBA cookie: exists=yes, valid=yes, updated=no, logged off=no, client type=public, user activity=yes
    Protocol:
    https
    User:
    anonymous
    Additional information
    Client agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0)
    Object source: (No source information is available.)
    Cache info: 0x0
    Processing time: 125 MIME type:

    Hi,
    A similar thread:
    http://social.technet.microsoft.com/Forums/forefront/en-US/e8fdc1bd-f023-4804-ad02-67899d8c7347/the-server-denied-the-specified-uniform-resource-locator-errors12302-ashttp-error-code-of-500?forum=Forefrontedgegeneral
    Best Regards,
    Joyce
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Create Resource from URL (WSDL) through corporate proxy?

    In OSB I Create a Resource from a URL (WSDL) but I get a "No resource found".
    Im using this service to test...
    http://webservicex.net/stockquote.asmx?WSDL
    I suspect its because it needs to route though our corporate proxy. Do I set this up in the OSB or the Weblogic Administration Console?
    I setup the proxy in the OSB, but it appears I can only assign it to a business service at this point, but I cant create my business service till I load in the WSDL url.
    This works fine for internal WSDL's inside our network. Does anyone know how to configure weblogic or osb to take traffic through a corporate proxy so it can find the test wsdl on an external network?
    Thanks!

    Hi Cory,
    In SB Console go to System Administration > Global Resources > Proxy Servers... Add a new proxy server there...
    In your Business Service you configure the proxy server under Advanced HTTP Transport Configuration...
    You can create the WSDL on SB Console by copy and pasting the WSDL content...
    Hope this helps...
    Cheers,
    Vlad
    It is considered good etiquette to reward answerers with points (as "helpful" - 5 pts - or "correct" - 10pts)
    https://forums.oracle.com/forums/ann.jspa?annID=893

  • Resources Value In specific period

    Hi,
    Is there any way to get the total resources values in specific period?
    I want to know for each resource...
    1- How many hours it made in this period.
    2-the total value for this resource...
    Grouped by the cost component class IE: (Labor , Machine ) ...
    Waiting for your ideas and any thing that may helps.
    Thanks in advance.

    Hi karthik..
    here you are.
    SELECT   br.resources, rmst.resource_desc, b.cost_cmpntcls_code,
    *(AVG (gmf_cmcommon.get_rsrc_cost (br.resources,*
    bh.organization_id,
    bvd.consume_layer_date,
    *1000,*
    *0*
    *) avg_resource_cost,*
    SUM (bvd.consume_ib_pri_qty) hrs,
    *( (SUM (bvd.consume_ib_pri_qty))*
    ** (AVG (gmf_cmcommon.get_rsrc_cost (br.resources,*
    bh.organization_id,
    bvd.consume_layer_date,
    *1000,*
    *0*
    *) AS rsc_value*
    FROM gmf_batch_vib_details bvd,
    gmf_batch_requirements br,
    gme_batch_header_vw bh,
    cr_rsrc_mst_vl rmst,
    cm_cmpt_mst_b b
    WHERE rmst.cost_cmpntcls_id = b.cost_cmpntcls_id
    AND bh.organization_id = :p_org_id
    AND br.resources BETWEEN NVL (:p_resources_lo, br.resources)
    AND NVL (:p_resources_hi, br.resources)
    AND br.batch_id = bh.batch_id
    AND br.resources IS NOT NULL
    AND br.ingredient_item_id IS NULL
    AND bvd.requirement_id = br.requirement_id
    AND bvd.line_type = 0
    AND rmst.resources = br.resources
    AND b.cost_cmpntcls_code BETWEEN NVL (:p_cmpntcls_lo,
    b.cost_cmpntcls_code
    AND NVL (:p_cmpntcls_hi,
    b.cost_cmpntcls_code
    AND (   rmst.resource_class >=
    NVL (:p_resource_class_low, rmst.resource_class)
    OR (rmst.resource_class IS NULL AND :p_resource_class_low IS NULL)
    AND (   rmst.resource_class <=
    NVL (:p_resource_class_hi, rmst.resource_class)
    OR (rmst.resource_class IS NULL AND :p_resource_class_hi IS NULL)
    GROUP BY b.cost_cmpntcls_code, br.resources, rmst.resource_desc
    waiting for your suggestions .
    Edited by: Ahmed.Abbas on Jul 12, 2011 6:30 AM

  • OSB - Load Resources From URL using proxy

    Hi all,
    How does one force the OSB to use a proxy server when using the Load Resources From URL option?
    I'm trying to create a wsdl resource from an url, but the OSB needs to use a proxy to access the url.
    I've tried creating a Proxy Server under System Administration -> Global Resources -> Proxy Servers, but I can't seem to find a place to make it use a proxy server?
    How do guys and gals get wsdl files though a proxy?
    Thanks!
    William

    Hi Milan,
    Thanks for your reply.
    I tried setting -Dhttp.proxyHost=12.34.56.78 -Dhttp.proxyPort=80 in the startWebLogic.cmd file under the ...\domain\bin folder. But still can't download the wsdl.
    Where did you set the property?
    thanks again,
    William

  • Which SIM card does the iPad mini take? Does it have to be specific type of SIM for the iPad mini?

    Which SIM card does the iPad mini take? Does it have to be specific type of SIM for the iPad mini?

    Welcome to the Support Communities. The answer to your question is available in Apple's website — see the Input/Output section here:
    http://www.apple.com/ipad-mini/specs/

  • Hello. I began with the DPS. Is it possible to publish a magazine for a limited, specific target group? For example, in one department of a large company? Or to the responsible for various services? If so, how should I do? Thank you for your help.

    Hello.
    I began with the DPS. Is it possible to publish a magazine for a limited, specific target group? For example, in one department of a large company?
    Or to the responsible for various services? If so, how should I do? Thank you for your help.

    Short answer is yes.
    Click the request for consultation link in Digital Publishing Suite Help | DPS pricing options to receive a price estimate for the DPS license your project.

  • Is ti possible to label a set of tape with a specific media family. For eg. I want media family'xyz' to use tape only from location '1-6'. Is this possible in OSB

    -Is it possible to label a set of tape with a specific media family. For eg. I want mediafamily 'abc' to use tape only from location '1-6' and media family 'xyz' to use tapes from location '7-12'. Is this possible in OSB.
    -If not through media family, is there any other way to label tapes with customized lablels.
    -Is it possible for a backup job to use the tapes from a set of tapes and backup should fail if the tapes are not found from the set. Even if the library has empty tapes.
    I have read about Volume set, but I believe its something that is created automatically when the backup spans to the next volume after current volume is full.

    -Is it possible to label a set of tape with a specific media family. For eg. I want mediafamily 'abc' to use tape only from location '1-6' and media family 'xyz' to use tapes from location '7-12'. Is this possible in OSB.
    -If not through media family, is there any other way to label tapes with customized lablels.
    -Is it possible for a backup job to use the tapes from a set of tapes and backup should fail if the tapes are not found from the set. Even if the library has empty tapes.
    I have read about Volume set, but I believe its something that is created automatically when the backup spans to the next volume after current volume is full.

  • Custom resource/attribute not visible in FIM portal for non-admins

    hi all
    I have a problem I am not able to solve and hope somebody can help. We have created an custom Resource in the FIM portal called Customer. It is an User Resource Type and  attribute type customer, data type=reference.
    We have made this attribute visible in the Users Properties by editing the RCDC for Configuration for User Creation, Configuration for User Editing and Configuration for User Viewing. It is now visible for alle users in the FIM Portal.
    But when an non-admin searches for an attribute in that Field, nothing shows up.... only member of the administrator set, are able to display the results.
    I have added the Resource to Filter permission - Administrator Filter permission + non-administrator filter permission.
    I have added the Resource to MPR - General: Users can read non-administrative configuration resources?
    Can anyone help?
    Best regards Andre
    Andre

    Hi,
    To be clear,
    You have create one new resource type 'Customer' and one attribute 'Customer' (Reference, binded to Person object)
    Update RCDC for Person (create/edit/view) to add a picker attribute with those parameters
    UsageKeywords: This is an optional string property. You can define a list of search scopes to be used in the Resource Picker by providing a list of the usage keywords that are supported by the SearchScopeConfiguration structure, where each keyword is separated by a (‘).
    ResultObjectType: This is an optional string property. The resource type is used to render resources in the pop-up dialog-box list. This is used with the Filter to help the Identity Picker identify what resource type is returned by the Filter, and render the data accordingly. This property is mutually exclusive with the UsageKeywords property (see above). When the search scope is applied, this has no effect. The string that is accepted for this property is any single, valid, resource-type name, for example, Person. When the filter is expected to return multiple resource types, Resource is used.
    Modify MPR "User management: Users can read attributes of their own" and "User management: Users can read selected attributes of other users" to add this new attribute
    Create a new MPR to give the right of all users to view new resource 'Customer' on all attributes
    Is that right?
    Regards,
    Sylvain

  • How can i load a specific CSS style sheet for Safari?

    Okay, So I have some structure issues when viewing my website on Safari compared to Firefox. Is there a way to put a code in the <head> tag to load a specific CSS style sheet for Safari like you can do with IE?
    Thanks.

    I took a screenshot of your page from Firefox (shown below).  I assume you're seeing the same problem in Safari.  If you increase text size one click, the keyboard image drops below the #contact division.
    1) Height is a restiction in all browsers except IE.  Avoid  using height values on containers with text in them.  If needed to show  a background image, use the min-height property.
    2)  Fix your code errors. Some browsers are very sensitive to errors.
    3)  Your #content lacks cohesion. You need 3 columns, each with a width in pixels.  Or simply use a 3-column table.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • User Specific Output Message Determination for Purchase Orders

    Hi Sap Experts,
    Is there any functionality in SAP where you can setup specific Output message determination for a user?
    For example whenever User A creates a purchase order through ME21N it will always be emailed to vendor, whereas for User B whenever they create purchase orders it will always be printed.
    Is this possible?

    There is no standard functionality with in SAP.
    To achieve this Create 2 output types accordingly and create customized tables with user id fields

  • Specific UME Actions required for Deployement in CE 7.1

    Hi Experts,
    I need to know how many and which UME action are required for deploying the application in CE 7.11
    For deployement, we usually assign the UME Role called "Administrator" to the ID that we use for deployment.
    If I remove this "Administrator" UME role, an error message is thrown as...
    com.sap.ide.eclipse.deployer.api.APIException: DeployException,cause=ERROR CODE DPL.DCAPI.1023AuthorizationException
    This "Administrator" UME role has some 2978 UME Actions assigned to it.
    For the UME role "Administrator", inside the assigned UME actions, I have tried filtering the UME Actions based on the filter keyword "deploy", which returned some 14 UME actions.
    Now, I have made following Test case and result.
    Test Case:
    1) Remove the Administrator Role from the ID that is used for deployement.
    2) Now Assign all the above 14 UME actions that were found related to "deploy" keyword to a Custom UME role "DeployRole".
    3) Deploy using the same id.
    Result : Deployement fails with the same above mentioned error.
    Conclusion: There can be 2 possible conclusions...
    1) None of the above 14 UME actions provide the authorization for the deployment.
    2) OR There are some other UME actions which might have some dependecies that are required along with the suspected UME actions.
    In short my requirement here is, to find out the specific UME actions that are required for deployment, so that i can remove the "Administrator" UME role and assign the specific UME actions needed for deployment to a my Custom UME role, and assign this Custom UME role to the user ID for deployment.
    Regards,
    Shreyas Pandya

    Hey Nghia Nguyen...!
    Thanks a lot for your reply, i have rewarded you the points.
    I have found out that for deployment following UME actions are required.
    dc_action (Mandatory)
    auth.all.all (Mandatory)
    deploy_action (Not Mandatory)--> if you remove this deploy_action UME action the deployment will still work, but in developer studio, the Deploy result dialog box with OK button, that pops every time after you deploy your project by right clicking your application and choosing "Deploy new Archive and Run" will cease to appear and the application will directly run in the browser.
    Regards,
    Shreyas Pandya

  • RESTful Webservices for UNX Universe

    Dear Experts,
    Is Restful available for Changing connections for a UNX Universe (both single and multi source, more interested in multi source).
    Environment details:
    BI 4.0 SP601
    MS SQL Server 2008, Oracle 11g
    Scenarios:
    1. For a multi-source universe, with MS SQL Server, when we switch connections within an environment or between environments, we have to change the owner name manually. Please refer to the ideaplace in the following link:
    https://ideas.sap.com/ct/ct_a_view_idea.bix?c=E445BDF0-DEF5-4D6A-8A1D-519A4D301682&idea_id=65E971C3-1EE3-468D-8630-1E7CC9442775&login=0
    SAP confirmed that this is by design and we have to do all the manual work of changing the owner names, if there are any aliases, derived tables, custom SQL LOVs, etc. etc.
    So we wanted see if there is an automated way of doing that.
    2. Normally in some scenarios when we migrate universe, on the destination system, the migrated universe will have to be imported, and the connections are changed, and then exported back to the repository.
    Please advise. Let me know any questions
    -Peter

    Hi Peter,
    Updating a Universe Connection for Single/Multi source is possible using the Semantic Layer Java SDKs.
    You would not be able to achieve the same using the Semantic Restfull webservices SDKs.
    To find more details on Sematic Layer Java SDKs, Refer to the guide avialble at
    http://help.sap.com/businessobject/product_guides/boexir4/en/slsdk_java_dg_40sp5_en.zip
    Find descriptions and explanations of how samples work in the sample code files.
    Samples are supplied in the archive C:\Program Files\SAP Business Objects\SAP BusinessObjects Enterprise XI 4.0\SL SDK\SDK Samples\com.sap.sl.sdk.authoring.samples.source.jar.
    You would be referring to the below two samples from the above location
    ChangeUniverseConnectionsTest
    Replaces several connections attached to a multisource universe with others in a repository
    ChangeUniverseConnectionTest
    Replaces a connection attached to a single-source universe with another in a repository
    For any queries regarding the SL SDKs raise a post in the below forum
    http://scn.sap.com/community/bi-platform/java-sdk
    Thanks,
    Prithvi

Maybe you are looking for

  • How to create a Generic Object Services for a standard tcode.

    Hi, We have a requirement where we are depreciating the assets (standard transaction ABAA) using a custom BDC program. We need to maintain a history (called audit trail) for the particular asset that has been depreciated using this program. For this

  • ECC 6.0 and ECC 5.0

    < MODERATOR:  Message locked.  Please read the [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement] before posting next time. > SIR I have equerry about this. what is the difference between ECC 6.0 & ECC 5.0

  • I want to use Java for dynamic web programming...

    And don't know what to learn, JSP or servlets or both. I'm guessing it would be best to learn both, but I don't want to buy two books. Are there any books that teach both fairly well?

  • Please Help... datagrid display double..

    i have 7 frames, each frame contain 1 datagrid(instance name "datagrid" for all datagrid. i put this code in each frame.. frame 1 datagrid.addColumn("Name"); datagrid.addColumn("Address"); datagrid.addColumn("Phone"); datagrid.addItem({Name:"John", A

  • Mailing List I made up disappeared from the address book after I got out of the address book.

    I made up a mailing list with all my families emails in it. I got out of the address book and when I went into it again later, the mailing list I just made up was not there.