API for getting iView Type?

Hi All,
I could only get the iView description,title from the PCM Object.
I would like to retrieve the type(like webdynpro,bsp etc) of iView and other properties.
Thanks much,
-Krishna

Please refer to this document. It will help you.
<a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6112ecb7-0a01-0010-ef90-941c70c9e401">Codes - Accessing PCD Contents like iViews, Pages, Worksets, Roles and Their Properties.pdf</a>

Similar Messages

  • API for getting iView name, type, tCode

    Hi
    I am trying to figure out if there is a way in my program to get iView properties: the iView type (e.g. transaction, Web Dynpro, etc), then if it's a transaction iView to get the tCode for that iView.
    I have seen document that tells me I can get the list of iViews in a given PCD location, and I think you can get the properties I mentioned above as such:
    // id is the full path of the iView
    public void getProperties(IPortalComponentRequest request , String id) throws Exception{
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, IPcdContext.PCD_INITIAL_CONTEXT_FACTORY);
    env.put(Context.SECURITY_PRINCIPAL, request.getUser());
    env.put(Constants.REQUESTED_ASPECT, PcmConstants.ASPECT_SEMANTICS);
    InitialContext iCtx = null;
    try {
    iCtx = new InitialContext(env);
    IiView result = (IiView) iCtx.lookup(id);
    result.getAttribute("????");
    result.getAttribute("????");
    } catch (Exception e) {
    throw new Exception (e);
    Am I in the right direction?
    I don't know what are the names of those attributes I need? - I cannot find them in any Java docs or forum?
    I also looked at com.sap.portal.pcm.attributes.IAttriView but that does not appear to have the suitable attributes that I am looking for?
    Please help.
    Kind regards,
    Sharath

    Hi
    Check theses links
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/44/bfb2a470033f45e10000000a114a6b/frameset.htm
    https://help.sap.com/javadocs/NW04S/current/index.html
    Hope this helps.
    Cheers-
    Pramod
    reward points if helpful.

  • API for getting diagnotic server info

    Is there an API for getting diagnostic information about the server (memory usage, etc.). We'd like to write a program to monitor the server.

    I am trying to do something similar my call to Session.getSession generates
    the following exception:
    com.iplanet.portalserver.session.SessionException: Can't find resource for
    base name iwtNaming, locale en_US
    Can you help?
    Thanks?
    "Marshall Levin" <[email protected]> wrote in message
    news:9ljs3s$[email protected]..
    Hi,
    I have a JSP running on the same web server as the portal server but not
    running within the portal desktop (it is a stand-alone JSP).
    I have successfully gotten the user's Profile object via the Sessionobject
    and I can get the Hashmap of attributes.
    What I'm trying to get now is the user's domain and role -- is there anyway
    I can get this? I don't see these in the list of attributes. Is there an
    API to find this out? Any suggestions on how I can obtain this info
    programmatically?
    Thanks

  • API for positioning iviews in a page

    Hi all,
    i wud like to know the API for positioning iviews in a page...can any of you help me out regarding this..

    Hi Gayathri
    You have a file named layoutTemplate.jsp in the Page Layout Template. The following tags are part of the layout tag library:
    <b>1. Container
    2. Template
    3. taglib uri</b>
    A layout container represents a column of iViews. You use the <lyt:container> tag to position the layout container in the layoutTemplate.jsp file. When the HTML page is created, the container is rendered as an html <table>, with a row for each iview.
    Hope that answers your query.
    For further details please refer to this link.
    http://help.sap.com/saphelp_erp2004/helpdata/en/72/25143eb7a4445ae10000000a11405a/content.htm
    Warm Regards
    Priya

  • Need API for getting List price and unit price before Order entry

    Hello,
    I have requirement of provide unit & list price before order entry (Oracle Pricing and availability form provide the same).
    Please suggest any API for the same.
    Thanks
    Akil.

    Hi,
    Thanks luko,
    I got API QP_PREQ_PUB.PRICE_REQUEST, and its return output as expected,
    Just have confusion that how many qualifiers we have to send
    Here is my sample code
    OR REPLACE PROCEDURE xx_web_get_price (
    IN     NUMBER,
    IN     NUMBER,
    IN     NUMBER,
    IN     NUMBER,
    IN     VARCHAR2,
    IN     VARCHAR2,
    IN     VARCHAR2,
    IN     NUMBER,
    OUT NUMBER,
    OUT NUMBER,
    OUT VARCHAR2,
    OUT VARCHAR2)
    QP_PREQ_GRP.LINE_TBL_TYPE;
    QP_PREQ_GRP.QUAL_TBL_TYPE;
    QP_PREQ_GRP.LINE_ATTR_TBL_TYPE;
    QP_PREQ_GRP.LINE_DETAIL_TBL_TYPE;
    QP_PREQ_GRP.LINE_DETAIL_QUAL_TBL_TYPE;
    QP_PREQ_GRP.LINE_DETAIL_ATTR_TBL_TYPE;
    QP_PREQ_GRP.RELATED_LINES_TBL_TYPE;
    QP_PREQ_GRP.CONTROL_RECORD_TYPE;
    QP_PREQ_GRP.LINE_TBL_TYPE;
    QP_PREQ_GRP.QUAL_TBL_TYPE;
    QP_PREQ_GRP.LINE_ATTR_TBL_TYPE;
    QP_PREQ_GRP.LINE_DETAIL_TBL_TYPE;
    QP_PREQ_GRP.LINE_DETAIL_QUAL_TBL_TYPE;
    QP_PREQ_GRP.LINE_DETAIL_ATTR_TBL_TYPE;
    QP_PREQ_GRP.RELATED_LINES_TBL_TYPE;
    VARCHAR2 (240);
    VARCHAR2 (240);
    QP_PREQ_GRP.QUAL_REC_TYPE;
    QP_PREQ_GRP.LINE_ATTR_REC_TYPE;
    QP_PREQ_GRP.LINE_REC_TYPE;
    QP_PREQ_GRP.LINE_DETAIL_REC_TYPE;
    QP_PREQ_GRP.LINE_DETAIL_REC_TYPE;
    QP_PREQ_GRP.RELATED_LINES_REC_TYPE;
    QP_Attr_Mapping_PUB.Contexts_Result_Tbl_Type;
    QP_Attr_Mapping_PUB.Contexts_Result_Tbl_Type;
    INTEGER;
    BINARY_INTEGER;
    VARCHAR2 (240);
    VARCHAR2 (60);
    oe_debug_pub.debug_on;
    oe_debug_pub.initialize;
    := OE_DEBUG_PUB.Set_Debug_Mode ('FILE');
    oe_Debug_pub.setdebuglevel (5);
    ('File : ' || l_file_val);
    QP_Attr_Mapping_PUB.
    (p_request_type_code           => 'ONT',
    => 'L',
    => l_pricing_contexts_Tbl,
    => l_qualifier_Contexts_Tbl);
    := 1;
    ---- Control Record
    .pricing_event := 'LINE';                           -- 'LINE';
    .calculate_flag := 'Y';    --QP_PREQ_GRP.G_SEARCH_N_CALCULATE;
    .simulation_flag := 'N';
    .source_order_amount_flag := 'Y';
    .rounding_flag := 'Q';
    .manual_discount_flag := 'Y';
    .request_type_code := 'ONT';
    .TEMP_TABLE_INSERT_FLAG := 'Y';
    ---- Line Records ---------
    .request_type_code := 'ONT';
    .line_id := 2125125; -- Order Line Id. This can be any thing for this script
    .line_Index := '1';                           -- Request Line Index
    .line_type_code := 'LINE';           -- LINE or ORDER(Summary Line)
    .pricing_effective_date := SYSDATE;    -- Pricing as of what date ?
    .active_date_first := SYSDATE;  -- Can be Ordered Date or Ship Date
    .active_date_second := SYSDATE; -- Can be Ordered Date or Ship Date
    .active_date_first_type := 'NO TYPE';                   -- ORD/SHIP
    .active_date_second_type := 'NO TYPE';                  -- ORD/SHIP
    .line_quantity := 1;                            -- Ordered Quantity
    .line_uom_code := p_uom; --'Ea';                         -- Ordered UOM Code
    .currency_code := p_currency_code; -- 'USD';                           -- Currency Code
    .price_flag := 'Y'; -- Price Flag can have 'Y' , 'N'(No pricing) , 'P'(Phase)
    (1) := line_rec;
    ------ Line Attribute Record
    .LINE_INDEX := 1;
    .PRICING_CONTEXT := 'ITEM';                               
    .PRICING_ATTRIBUTE := 'PRICING_ATTRIBUTE3';
    .PRICING_ATTR_VALUE_FROM := 'ALL';
    .VALIDATED_FLAG := 'N';
    (1) := line_attr_rec;
    .LINE_INDEX := 1;
    .PRICING_CONTEXT := 'ITEM';                                 --
    .PRICING_ATTRIBUTE := 'PRICING_ATTRIBUTE1';
    .PRICING_ATTR_VALUE_FROM := p_item_id;
    .VALIDATED_FLAG := 'N';
    (2) := line_attr_rec;
    .LINE_INDEX := 1;
    .PRICING_CONTEXT := 'ITEM';                              
    .PRICING_ATTRIBUTE := 'PRICING_ATTRIBUTE2';
    .PRICING_ATTR_VALUE_FROM := p_category_id;
    .VALIDATED_FLAG := 'N';
    (3) := line_attr_rec;
    ------ Qualifier Attribute Record
    .LINE_INDEX := 1; -- Attributes for the above line. Attributes are attached with the line index
    .QUALIFIER_CONTEXT := 'MODLIST';
    .QUALIFIER_ATTRIBUTE := 'QUALIFIER_ATTRIBUTE4';
    .QUALIFIER_ATTR_VALUE_FROM := p_price_list_id;
    .COMPARISON_OPERATOR_CODE := '=';
    .VALIDATED_FLAG := 'Y';
    (1) := qual_rec;
    .LINE_INDEX := 1;
    .QUALIFIER_CONTEXT := 'CUSTOMER';
    .QUALIFIER_ATTRIBUTE := 'QUALIFIER_ATTRIBUTE2';
    .QUALIFIER_ATTR_VALUE_FROM := p_customer_account_id;
    .COMPARISON_OPERATOR_CODE := '=';
    .VALIDATED_FLAG := 'Y';
    (2) := qual_rec;
    .LINE_INDEX := 1;
    .QUALIFIER_CONTEXT := 'CUSTOMER';
    .QUALIFIER_ATTRIBUTE := 'QUALIFIER_ATTRIBUTE40';
    .QUALIFIER_ATTR_VALUE_FROM := p_customer_category; --'INDUSTRIAL';  
    .COMPARISON_OPERATOR_CODE := '=';
    .VALIDATED_FLAG := 'Y';
    (3) := qual_rec;
    QP_PREQ_PUB.PRICE_REQUEST (p_line_tbl,
    -- Return Status Information ..
    := x_return_status_text;
    := x_return_status;
    := x_line_tbl.FIRST;
    IF I IS NOT NULL
    THEN
    := x_line_tbl (I).unit_price;
    := x_line_tbl (I).adjusted_unit_price;
    END IF;
    xx_web_get_price;                                     
    Regards,
    akil.

  • ISEE API for getting the HP warranty details

    As per my research i don't find any REST-API to get the HP warranty details, so i tried to achieve the same using ISEE-API. But when sending the request using the below request xml i get an error as 'BAD REQUEST'. 
    <?xml version="1.0"?>
    -<SOAP-ENV:Envelope xmlns:iseeReg="http://www.hp.com/isee/webservices/" xmlnsOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    -<SOAP-ENV:Body>
    -<iseeReg:RegisterClient2>
    -<iseeReg:request>
    -<isee:ISEE-Registration xmlns:isee="http://www.hp.com/schemas/isee/5.00/event" schemaVersion="5.00">
    -<RegistrationSource>
    -<HP_OOSIdentifiers>
    -<OSID>
    -<Section name="SYSTEM_IDENTIFIERS">
    <Property name="TimestampGenerated" value="2014/1/14 10:25:30 GMT Standard Time"/>
    </Section>
    </OSID>
    -<CSID>
    -<Section name="SYSTEM_IDENTIFIERS">
    <Property name="CollectorType" value="MC3"/>
    <Property name="CollectorVersion" value="T05.80.1 build 1"/>
    <Property name="AutoDetectedSystemSerialNumber" value="USM5500380"/>
    <Property name="SystemModel" value="HP ProLiant"/>
    <Property name="TimestampGenerated" value="2014/1/14 10:25:30 GMT Standard Time"/>
    </Section>
    </CSID>
    </HP_OOSIdentifiers>
    -<PRS_Address>
    <AddressType>0</AddressType>
    <Address1/>
    <Address2/>
    <Address3/>
    <Address4/>
    <City/>
    <Region/>
    <PostalCode/>
    <TimeZone/>
    <Country/>
    </PRS_Address>
    </RegistrationSource>
    -<HP_ISEECustomer>
    <Business/>
    <Name/>
    </HP_ISEECustomer>
    -<HP_ISEEPerson>
    <CommunicationMode>255</CommunicationMode>
    <ContactType/>
    <FirstName/>
    <LastName/>
    <Salutation/>
    <Title/>
    <EmailAddress/>
    <TelephoneNumber/>
    <PreferredLanguage/>
    <Availability/>
    </HP_ISEEPerson>
    </isee:ISEE-Registration>
    </iseeReg:request>
    </iseeReg:RegisterClient2>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    Can any one help me out what is wrong in the above xml format, which is causing such an error to occur. And i would be very grateful if any one can provide me the way to call this API using VB-Script.

    Any how i manage to get the GDID and RegistrationToken but when i send a request for HP warranty detail using the GDID and RegistrationToken, i receive a error message 'entitlement service connection failed'. Please find the below details :-
    Request xml:
    <SOAP-ENV:Envelope
        xmlnsOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
        xmlns:isee="http://www.hp.com/isee/webservices/">
      <SOAP-ENV:Header>
        <isee:IseeWebServicesHeader>
          <isee:GDID>XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX</isee:GDID>
          <isee:registrationToken>XXX</isee:registrationToken>
          <iseeSID/>
          <isee:CSID/>
        </isee:IseeWebServicesHeader>
      </SOAP-ENV:Header>
      <SOAP-ENV:Body>
        <isee:GetOOSEntitlementList2>
          <isee:request>
    <isee:ISEE-GetOOSEntitlementInfoRequest
        xmlns:isee="http://www.hp.com/schemas/isee/5.00/entitlement"
        schemaVersion="5.00">
      <HP_ISEEEntitlementParameters>
        <CountryCode>ES</CountryCode>
        <SerialNumber>CZ10130050</SerialNumber>
        <ProductNumber>519841-425</ProductNumber>
        <EntitlementType></EntitlementType>
        <EntitlementId></EntitlementId>
        <ObligationId></ObligationId>
      </HP_ISEEEntitlementParameters>
    </isee:ISEE-GetOOSEntitlementInfoRequest>
          </isee:request>
        </isee:GetOOSEntitlementList2>
      </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    SOAP action : http://www.hp.com/isee/webservices/GetOOSEntitlementList2
    HTTP URL     : https://services.isee.hp.com/EntitlementCheck/EntitlementCheckService.asmx
    Response Received:
    <?xml version="1.0" encoding="UTF-8"?>
    -<soap:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    -<soap:Body>
    -<GetOOSEntitlementList2Response xmlns="http://www.hp.com/isee/webservices/">
    -<GetOOSEntitlementList2Result>
    <IsSuccess>false</IsSuccess>
    -<Error>
    <Code>200</Code>
    <IsTransientError>true</IsTransientError>
    <IsClientError>false</IsClientError>
    <IsReRegisterError>false</IsReRegisterError>
    <Message>entitlement service connection failed</Message>
    </Error>
    <BackoffMultiplier>1</BackoffMultiplier>
    </GetOOSEntitlementList2Result>
    </GetOOSEntitlementList2Response>
    </soap:Body>
    </soap:Envelope>
    Is there any issue with the Request xml??

  • API for OE Transaction Types

    Hi,
    Any API available for creating OE Transaction Types.
    Regards/Prasanth

    Hi,
    The process you should follow is:
    1. Use SHD0 to create the transaction variant. This will generate a transport number if you provide a custom package name. You can not transport it if you save it as local object.
    2. In IMG you have to assign the newly created transaction variant to the respective transaction type. This should generate a new configuration transport.
    3. You should now transport these transports in sequence.
    I have used this process and transported the transaction variants from development to quality/production environment and this process has worked fine for me.
    If you are also following the same process and still facing the problem, then please check your transport requests (to analyse whether all the required entries are included in the request) and check the import log. Probably the transport is not complete/successful. You can also execute SHD0 in quality to check whether the transaction variants are copied properly or not.
    Regards,
    Kaushik

  • What is the API for getting a list of students that have taken a specific course?

    We are on Adobe Connect 9. Through the UI, you can generate a nice report on who has taken a course and when they completed it (Training > Shared Training > [course name]).
    How do I get this report using Adobe Connect APIs?

    You can use the UserReaderMBean.
    http://download-llnw.oracle.com/docs/cd/E11035_01/wls100/javadocs_mhome/weblogic/management/security/authentication/UserReaderMBean.html
    You mite find this helpful in ur development...
    http://secure-zone.blogspot.com/2009/10/creating-users-in-weblogic-server.html
    Let me know if it helps..
    Thanks,
    Faisal

  • API for getting the build date of development components

    Hello ,
          we are changing the format of the  <about> screen of our application. We show the version of the main development components that are the part of our application.
    For the version date of the development components, we were earlier showing the deployment date. However we now plan to change it to their build date. We need to know if there is any API to find the build date of the development components.
    Thanks alot in advance for helping!

    Hi do you want all the dates from the back date to sysdate or only the particular back date
    SQL> select sysdate from dual;
    SYSDATE
    22-JUN-09
    SQL> select sysdate-10 from dual;
    SYSDATE-1
    12-JUN-09or if you want all the back dates starting from one particular then
    SQL> select sysdate-10+level from dual
      2  connect by level<=10;
    SYSDATE-1
    13-JUN-09
    14-JUN-09
    15-JUN-09
    16-JUN-09
    17-JUN-09
    18-JUN-09
    19-JUN-09
    20-JUN-09
    21-JUN-09
    22-JUN-09
    10 rows selected.Edited by: oracle_for_dude on Jun 22, 2009 12:11 PM

  • API for getting SAP WebAS / J2EE SystemInformation

    Hi all,
    I am looking for an API to access J2EE Server information as it is displayed on the Systeminfo page when you access your SAP J2EE installation using http://<host>:<port>/index.html.
    Is there anything like an API to access this J2EE information?
    Any help is greatly appreciated!
    Thanks
    Helga

    Hi Barry,
    I found out that jmonapi.jar is deprecated:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/bf/df813e77d46245e10000000a114084/frameset.htm
    Is there any other api?
    Best regards,
    Helga

  • What's a good book for getting started?

    I've been doing web design in HTML and ColdFusion for almost 3 years. It's clear that ColdFusion is on it's way out and I need to learn J2EE/Java/JSP etc. I have a few questions:
    Java is a term I've heard associated with C++ and other types of programming as well as Web design. Are the Java/C++ Java and the Web Java basically the same type of language? Is the Web Java and JavaScript the same thing? I'm very confused!
    What is a good book for getting these types of questions answered and getting started in J2EE/Java/JSP? There are quite a few variations of script languages out there and I want to make sure I learn the right stuff, ie the stuff that employers are going to be needing.
    Thanks!

    Here is a free online version of a good book:
    http://pdf.coreservlets.com/Core-Servlets-and-JSP.pdf
    Print it off or read from the screen. Otherwise, there are several good Java books out there. What I would do is go to the bookstore and thumb through a few books. Depending on what type of book you want (example based or theory) find the books that you think would satisfy your learning style. Write down the names and authors, go home and buy them used online at Amazon for tremendous discounts. This way you can buy several versus just one.

  • Why is Get File Type.vi password protected

    Hi...  We have a code that was developed in LabVIEW 8.6...  We have a need to attempt to save this code all the way back to version 7.1...  I saved it back from 8.6 --> 8.5 --> 8.2.1 --> 8.0 with no issues...  But when I then try to save it back from 8.0 to 7.1 I encounter one LabVIEW 8 vi that has no equivalent functionality in 7.1...  And that one vi is
    C:\Program Files\National Instruments\LabVIEW 8.x\vi.lib\Utility\lvfile.llb\Get File Type.vi
    When I look at that vi in 8.x, to endeavor to see if I can replace its functionality by writing some code in 7.1, I find that the Get File Type.vi is password protected...  More out of curiousity than anything, why is that code password protected???  I wasn't aware that any of the standard purchased LabVIEW code came password protected...  Can anyone tell me why that is???  thanks...  bob..
    Solved!
    Go to Solution.

    That VI is using an internal callback into LabVIEW (i.e. non G-based code) to determine the type of the file.  I'm guessing the callback doesn't exist in 7.1, so you would need to write your own G-based implementation for getting the type of a file  in the 7.1 case.  The simplest solution would be to work with the extensions of the files...not perfect, but probably close enough assuming your files are well-named.  Also, the following VI can give you a bit more information about LabVIEW-specific files (independent of extension):
    LabVIEW 7.1\vi.lib\Utility\libraryn.llb\Librarian Get Info.vi
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • Usage of Google API for route implementation in the iPhone application

    Hi,
    We need to show the maps showing some specific locations and the routes from user's current location to these specific locations. We know that Google provides APIs for getting the route between two locations.
    Google has some terms and conditions for using their APIs for route. You can find it on the website http://code.google.com/intl/de/apis/maps/iphone/terms.html (point 10.9).
    Can anyone please advice if we can use Google APIs in our iPhone application?
    Regards,
    Nilesh

    This is a user to user help forum for iPhone users, not for app developers with app development questions. As a registered iOS app developer with Apple, you have access to Apple's developer discussions area which is where such a question should be asked.

  • API fer getting session attributes

    Is there an API for getting a session attribute? I want to use the API in a dynmaic page portlet to get a specific session attribute.
    Thank you.

    following site has all the APIs you can use. Hope this helps.
    http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/PLSQL/DOC/PLDOC_9026/INDEX.HTML

  • Office 365 API, error: The token has invalid value 'roles' for the claim type ''

    Hi guys,
    I am trying to develop a Daemon / Server application using the new Office 365 APIs. I have added a new application to Azure Active Directory. I am using cURL + the app ID and secret to get a JWT token, this is the exact request:
    curl -X POST https://login.windows.net/TENANT_KEY/oauth2/token \
    -F redirect_uri=http://spreadyDaemon \
    -F grant_type=client_credentials \
    -F resource=https://outlook.office365.com/ \
    -F client_id=XXXX \
    -F client_secret=XXXX=
     I get back a JWT however it has no scopes for access set here is the decoded JWT claims:
    "ver": "1.0",
    "aud": "https://outlook.office365.com/",
    "iss": "https://sts.windows.net/TENANT_KEY/",
    "oid": "17fa33ae-a0e9-4292-96ea-24ce8f11df21",
    "idp": "https://sts.windows.net/TENANT_KEY/",
    "appidacr": "1",
    "exp": 1415986833,
    "appid": "XXXX",
    "tid": "e625eb3f-ef77-4c02-8010-c591d78b6c5f",
    "iat": 1415982933,
    "nbf": 1415982933,
    "sub": "17fa33ae-a0e9-4292-96ea-24ce8f11df21"
    Therefore when I do a request to the exchange API endpoint I get the following response:
    HTTP/1.1 401 Unauthorized
    Cache-Control: private
    Server: Microsoft-IIS/8.0
    request-id: d08d01a8-7213-4a13-a598-08362b4dfa70
    Set-Cookie: ClientId=WDALDNO0CAIOOZDZWTA; expires=Sat, 14-Nov-2015 16:40:59 GMT; path=/; HttpOnly
    X-CalculatedBETarget: am3pr01mb0662.eurprd01.prod.exchangelabs.com
    x-ms-diagnostics: 2000001;reason="The token has invalid value 'roles' for the claim type ''.";error_category="invalid_token"
    X-DiagInfo: AM3PR01MB0662
    X-BEServer: AM3PR01MB0662
    X-AspNet-Version: 4.0.30319
    Set-Cookie: exchangecookie=6bf68da033684824af21af3b0cdea6e3; expires=Sat, 14-Nov-2015 16:40:59 GMT; path=/; HttpOnly
    Set-Cookie: [email protected]=[email protected]4Wbno2ajNGQkZKWnI2QjJCZi9GckJKBzc/Oy9LOzdLOy6vOycXLz8XKxoGaio2PjZvPztGPjZCb0ZqHnJeekZiak56djNGckJI=; expires=Sun, 14-Dec-2014 16:40:59 GMT; path=/EWS; secure; HttpOnly
    Set-Cookie: [email protected]=[email protected]4Wbno2ajNGQkZKWnI2QjJCZi9GckJKBzc/Oy9LOzdLOy6vOycXLz8XKxg==; expires=Sun, 14-Dec-2014 16:40:59 GMT; path=/EWS; secure; HttpOnly
    X-Powered-By: ASP.NET
    X-FEServer: DB4PR02CA0026
    WWW-Authenticate: Bearer client_id="00000002-0000-0ff1-ce00-000000000000", trusted_issuers="00000001-0000-0000-c000-000000000000@*", authorization_uri="https://login.windows.net/common/oauth2/authorize", error="invalid_token",Basic Realm="",Basic Realm=""
    Date: Fri, 14 Nov 2014 16:40:59 GMT
    Content-Length: 0
    I have asked a stack overflow question here: http://stackoverflow.com/questions/26950838/office-365-api-error-the-token-has-invalid-value-roles-for-the-claim-type
    Any help on the matter will be hugely appreciated, thanks!

    Hi Manu,
    To wrap this thread up; I have had an answer on stack overflow.
    It appears that currently the grant type client_credentials is not supported, according to a comment on this blog post by Matthias' http://blogs.msdn.com/b/exchangedev/archive/2014/03/25/using-oauth2-to-access-calendar-contact-and-mail-api-in-exchange-online-in-office-365.aspx 
    "There is no way in the code flow to avoid username/password. We're working on a client credential flow for later this fall that will give you the functionality required to run background services. For this you will not need a username/password,
    but the application will directly assert its identity and authenticate as itself."
    Unfortunately I require client_credentials for a daemon process, Q4 is the scheduled release for support for this grant time.
    Thanks for the help,
    Nick

Maybe you are looking for

  • Purchase Order with VAT

    Hi Is it possible to include VAT when creating Purcahse Orders such that the VAT is NOT included in the cost of stocks? Thanks Nadia

  • Multiple reportjobserver

    If you have 2 set of crystal reports and you are worried that one set would impact the performance/security of the other set what is the best practice in terms of XI R2 configuration? Would you be able to create 2 reportjobservers and associate each

  • Problems sending files throught TCP sockets

    I would like to transfer a file throught a tcp socket, here there is what the sender program does : try{      File localFile = new File("shared/"+fileName);      DataOutputStream oos = new DataOutputStream(socket.getOutputStream());           DataInp

  • URGENT HELP: RUN_PRODUCT(Reports) on Web

    Hi, I have installed oracle 8.0.5, OAS 4.0.7 and Developer Server 6.0 (Forms, Reports & Graphics Cartridge). Our forms,reports & graphics cartridges works fine indivisualy but we are not able to run reports from web form with run_products it works fi

  • Why don't transparencies and drop shadows show right in pdf on Firefox ?

    Hello, We have display problems with transparencies and drop shadows in pdf that we upload on our website. When these pdf are opened on Firefox the areas where we have used transparencies, drop shadows and color gradation end up in grey boxes. This i