How to Expose LogOff services as an iview on TopLevel Navigation

Dear Experts
I need to provide a logoff iview in Top Level Navigation.
I have created a pdk  application for this. It is providing the basic functionality of logoff, but after logoff it is redirecting to the default portal logon page instead of my custosed logon page.
Code of LogOff services.
IAuthentication Authen = UMFactory.getAuthenticator();
HttpServletRequest req = request.getServletRequest();
HttpServletResponse res = request.getServletResponse(true);
Authen.forceLogoffUser(req, res,"http://ssvepd00:50000/irj/portal/anonymous/LogOnPage?guest_user=JTCGuest");
Could you please suggest me where I am missing? Is it anything to do with ume.logoff.redirect.silent property?
PAppreciate your response..
Regards
Shanmukha Rao Banisetti
Ph: 9916736946

Hi! I guess it's nice to get called upon by name. :-)
As user878 mentions, the problem trying to execute tmloadcf is related to the fact that the associated IPC resources are already considered active by Tuxedo, i.e., you did a tmboot with a given TUXCONFIG and that Tuxedo environment is still running.
Specifically to answer your questions:
1)can my application placed in any folder other and execute compile tmloadcf from there?Where the files reside is almost immaterial. What is key is what the environment variable TUXCONFIG points to. That file defines a Tuxedo environment and is created with the tmloadcf command. Once the application is booted, you can't use tmloadcf to change the configuration. You either need to use the tmconfig command or shutdown the environment and then issue the tmloadcf command and then reboot the environment.
2)How to test my service using command prompt.Tuxedo only provides a generic command line client for Tuxedo services that use FML or FML32 buffers. The commands are ud and ud32. For Tuxedo services that use other buffer types, you will have to develop a specific client.
I have also updated the Jrepository .The Jolt repository is only needed if you are using Jolt, the Java client API to Tuxedo services.
Regards,
Todd Little
Oracle Tuxedo Chief Architect

Similar Messages

  • How to expose odata service for input parameter based procedure.

    i have created one procedure in my schema.
    CREATE PROCEDURE TEST
    (in id varchar) AS
    BEGIN
    SELECT * FROM "table" WHERE "ID" = :id;
    END;
    and i am able to call the procedure from console.
    CALL "schema"."TEST"('1')
    my question is how to expose this procedure as odata service.
    is there any way to do it. ???

    hello Avinash. this is where i stuck in my code. i dont know how to wrap procedure in calculation view..
    My procedure code is below.
    create procedure "Get_User_for_Project"(in PROJECT_ID VARCHAR(255), out OUTPUT_TABLE "schema"."test_table")
    language SQLSCRIPT sql security definer  as
    BEGIN
    truncate table "schema"."test_table";
    OUTPUT_TABLE = SELECT "ID", "FIRST_NAME", "LAST_NAME" FROM "schema"."U_USER" WHERE "ID" IN (SELECT "USER_ID" FROM "schema"."U_USER_PROJECT" WHERE "PROJECT_ID" = :PROJECT_ID);
    END;
    my procedure is working fine. i just need help to wrap in calculation view with input parameter.

  • How to Expose the service to tuxedo :Todd Little  Please help.

    Hi all,
    I am trying to expose the service to tuxedo.In unix system with tuxedo 9.1
    I am starting with the simple app service .I prepared UBB config file. As follow:-
    # samples/atmi/simpapp/ubbsimple     $Revision: 1.5 $"
    *RESOURCES
    IPCKEY          51501
    UID          106
    GID          104
    PERM          0666
    MAXACCESSERS     1000
    DOMAINID     clarify
    MASTER          appsrv01
    MAXSERVERS     50
    MAXSERVICES     60
    MODEL          SHM
    LDBAL          Y
    *MACHINES
    chard1     LMID=appsrv01
              APPDIR="/apps/test/tuxedo/appsrv"
              TUXCONFIG="/apps/test/tuxedo/appsrv/tuxconfig"
              TUXDIR="/apps/test/tuxedo"
              ULOGPFX="/apps/test/tuxedo/samples/atmi/simpapp/LOGS_SAULOG/OLOGS"
              TLOGNAME="TLOG"
              TLOGSIZE=100
    *GROUPS
    "GROUP15" "LMID=appsrv01"     GRPNO=15     OPENINFO=NONE
    *SERVERS
    DEFAULT:
              RESTART=Y
              MAXGEN=5
              CLOPT="-A -- -n //10.106.1*3.**5:48800 -d /dev/tcp"
    simpserv     SRVGRP=GROUP15 SRVID=169
    *SERVICES
    TOUPPER
    When I am compiling this file I get
    883 ERROR: tmloadcf cannot run on an active node .
    I changed IPC key also ,tried to shut down the server but not able to shut down the server.then I tried to kill the server.still no sucess.
    Please answer some of my question.
    1)can my application placed in any folder other and execute compile tmloadcf from there?
    2)How to test my service using command prompt.
    I have also updated the Jrepository .
    Please if you find some required changes please let me know how to get those values which system specific eg I got server name using name -n command.
    Please anybody help me.

    Hi! I guess it's nice to get called upon by name. :-)
    As user878 mentions, the problem trying to execute tmloadcf is related to the fact that the associated IPC resources are already considered active by Tuxedo, i.e., you did a tmboot with a given TUXCONFIG and that Tuxedo environment is still running.
    Specifically to answer your questions:
    1)can my application placed in any folder other and execute compile tmloadcf from there?Where the files reside is almost immaterial. What is key is what the environment variable TUXCONFIG points to. That file defines a Tuxedo environment and is created with the tmloadcf command. Once the application is booted, you can't use tmloadcf to change the configuration. You either need to use the tmconfig command or shutdown the environment and then issue the tmloadcf command and then reboot the environment.
    2)How to test my service using command prompt.Tuxedo only provides a generic command line client for Tuxedo services that use FML or FML32 buffers. The commands are ud and ud32. For Tuxedo services that use other buffer types, you will have to develop a specific client.
    I have also updated the Jrepository .The Jolt repository is only needed if you are using Jolt, the Java client API to Tuxedo services.
    Regards,
    Todd Little
    Oracle Tuxedo Chief Architect

  • How to Expose CAF services as web services?

    Hi friends,
    I want to expose my CAF entity services and application services as web services.
    Can I do that, if yes How?
    In NWDS While designing the application service I have found two options in the <b>General</b> tab:
    1) Remote Enabled Service    [I am able to select it]
    2) Web Service Enabled        [I am not able to select it]
    What is the significance of each
    Also I am able to check first option but second option is disabled in my NWDS,
    Can you guide me how can do that?
    Thanks in advance for your time,
    Deepak

    Hi Deepak,
    Please have a look at this tutorial written by Austin:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5e9ca25b-0e01-0010-bbaa-f3b963e89edd
    in there is a kind of step by step solution how to enable your application service as web service.
    I am not sure if you can expose a entity service as a ws. The only way i know is mapping to an application service.
    I hope this helps..
    best regards,
    rene

  • How to expose BPEL service to outside company network

    Hi Folks
    We have created a BPEL process and want to expose it as a web service to our partners and clients. Typicall the WSDL would look like this:
    http://hostname:port/soa-infra/services/default/processname/processid?WSDL
    How can we create a virtual link from this? so that they do not see the actual implementation.
    Any help please.
    Many thanks
    Deepak

    Typical implementations I have seen uses a web server sitting in DMZ redirecting alias URL's to the actual internal url's....
    You can check the enterprise deployment guide which shows this architecture ( in a nice picture) using Oracle HTTP server..
    Its not a good idea to directly hit soa or osb servers if its sitting within an internal firewall.. If you have your service bus sitting in DMZ then you could use osb proxy service. still you will have to setup some dns aliases and IP Natting to prevent the actual server name going out and to route between external and internal networks..
    Strictly this should be part of network design adhering to the enterprise's network and security policies and not something for soa developers to decide.

  • How to expose sort attributes in a web service created on a AM 11g TP4

    I'm using Jdeveloper 11g TP4 to create a web service on the application module.
    When I run the web service, it is working fine. Can someone tell me how to expose the sort attributes for the user to choose?
    How do I expose the sort Order for the user to select?
    These are the steps I followed:
    1) Created a new application.
    2) Created a view object in the Model project.
    Created one bind variable.
    Created new view Criteria and used the bind variable.
    3) Created a new jspx page.
    From the Data control dragged and dropped the Named Criteria on to the page and used "ADF Query Panel with Table..."
    4) Ran the Jspx page. It works fine.
    Double Click Application Module.
    Click on tab Service Interface.
    Hit New, this will open the Wizard to Create a new Service Interface.
    Followed instructions and selected all the applicable methods to expose as web service.
    At the end of the process, wsdl, xsd, java files are created.
    I'm able to run this web service.
    The field to query the data is exposed in the Web Service.
    Is there a way to expose the sorting attributes to be selected by the user? i.e. I want to expose the fields to the user.
    Thanks,
    Jagadish.

    Why bother with TP 4? JDev 11g is already production.
    --olaf                                                                                                                                                                                                   

  • How to expose custom methods of servlet as web services

    Can i know how to expose the custom methods of the servlet as web services. if it is not posssible then what alternate ways are possible other than ejbs?
    regards

    Hi
    I want to know that whether the custom methods of servlet can be exposed as webservices or not?
    Secondly is there init method like we have in servlets so that we can do all the one time loading in the init() method.
    regards

  • How to expose a application service as web service?

    <UL>Hi Experts,
       <LI>I have created a business component and application service. i have also built and deployed it,
       <LI>Now I want to expose the application service operation as web service so that I can call the application service from XI or any webservice testing tool like SOAPUI or SOAPSONAR?
       <LI>What are the steps involved in doing this?
       <LI>I have selected application service then right clicked and selected "Expose service as web service".
       <LI>This has generated the WSDL file. After this I don't know what to do.
       <LI>In the WSDL file the soap address location is pointing to a default link (<soap:address location="http://www.example.org/"/>).
       <LI>What will be the actual location look like?
       <LI>For example: http://<CE server>:<Port>/?  <--- what will I have to put here so as to give the exact location?
    <LI>Thanks & Regards
    <LI>Gopal
    </UL>

    Hi Gopal,
    If I am not wrong, you need not do anything to the WSDL.
    If you carefully look at your WSDL in your NWDS, the soap:address attribute will point to the default location. However, the 'location' attribute will be 'Empty'. When you Deploy the Composite Application on the server, the location attribute value will be replaced by http://<server host name>:<port>/<WebService Name>/<Application  Service Name> in the WSDL on the server. The WSDL URL  is generated using the same format, and that is how it recognizes the service.
    You can deploy your application on the server and go to the Web Service Navigator and check the WDSL.
    Regards,
    Ajay

  • How to expose ODI scenario as a web service

    How to expose ODI scenario as a web service?
    Can we generate wsdl of ODI scenario if yes then how?

    SSZ wrote:
    Yes.But couldn't understand where to start.In that case use the magic wand.
    Ask specific questions, Many of your posts have an underlying tone , that of you not having read any documentation of bothered to research anything yourself I havent got the time to tell you how if you havent got the time to tell me what you have read , what you grasp and what you do not grasp.

  • How to Expose SOA component as Rest Service

    Hi,
    Is there a example to show how to expose SOA component as Rest Service using Http Binding adapter ?
    or
    How to call Rest Service from BPEL/Composite application ?
    Thanks,
    Naveen
    Edited by: 975104 on Dec 21, 2012 1:57 AM

    Please refer Real Web Services with REST and ICF for creation of rest services in sap. The BAPI will have to be called in your handler class.
    I think your best bet would be to transfer the data in the body of the http request and use simple transformation(with multiple roots) to convert the xml data to sap formats. GZIP can also be used to compress the data that is being sent. We have done this successfully in one of our projects.
    However this approach(RESTful Service) would involve more work when compared to the approach suggested by Vikram. If SOAP based services are ok, then you should go ahead with Vikram's approach.

  • Exposing Web Services as Callable Objects

    Hello!
    I have SAP NetWeaver 04s SP7. How can I expose Web Services as Callable Objects?
    According to "Exposing Web Services as Callable Objects" (http://help.sap.com/saphelp_nw2004s/helpdata/en/44/4758351fcb1193e10000000a155369/frameset.htm), I should start with choosing type of CO "Service -> Web Service".
    Actually, I haven't this entry in CO type list!
    According to integrate Web Services with GP, this type appeared in SP8. What are the alternatives in SP7?
    "Background execution" and "External service" seem to be the best candidates...
    What is the best solution?
    Thanx in advance!

    Hello, Jan!
    I have SAP NWDS 7.0.07, and I cannot find there an option to create a CAF project. I can create Web service, EJB, Web DynPro, and something else - but not a CAF project. In documentation I did not find the connection points between NWDS and External Services, except some plug-ins.
    Maybe I've misunderstood you, sorry - I'm a newbie in SAP
    Actually, I've made a simple EJB, created a Web service from it, and deployed the WS to portal. Maybe, EJB instead of Web service can be somehow used in CAF?
    I've tried to create a CO of type Composite Application Service, but there was necessary to configure endpoint aliases. I've read the manual "Configuring Endpoint Aliases", but didn't succeed to make one for EJB remote call... I've defined the name, URL (http://<host_of_portal>:<portal_port>), user and pwd - but I've got an exception when tried to use the created alias:
    com.sap.caf.core.gp.servicelocator.exception.MetaModelBrowserException: Exception while trying to get InitialContext. at com.sap.caf.core.gp.servicelocator.CAFMetaModelBrowser.getAllApplications(CAFMetaModelBrowser.java:77) at com.sap.caf.core.gp.ui.backgroundco.admin.VSelect.browseCAFCore(VSelect.java:305) at com.sap.caf.core.gp.ui.backgroundco.admin.VSelect.onActionSelectEptAlias(VSelect.java:750) at com.sap.caf.core.gp.ui.backgroundco.admin.wdp.InternalVSelect.wdInvokeEventHandler(InternalVSelect.java:287) at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87) at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67) at
    Maybe, the easiest way is to upgrade the versions of SAP and NWDS?
    Are there some manuals that could provide me some help about:
    1) creating CAS from the deployed Web service (from its creation in NWDS till its use in CAF, step-by-step)
    2) binding Web Dynpro apps and Web services, using CAF and GP.
    Or maybe I should attend SAP courses?
    I have SAP NetWeaver 04s SP7 and NWDS ver. 7.0.07.
    Sorry for the messy post, I did my best
    Message was edited by:
            Kirill Shepitko

  • How to view web service definition details using Netweaver ?

    Hi,
    I have installed Netweaver 7.01 trial version, and I have seen using the Web Service Browser, that all BAPI's are exposed as web services already. I would like to view the web service details for some of these BAPI's, in order to understand the authentication, authorization details for these as I plan to try and call these through java.
    I basically want to understand whether they are using BASIC authentication by default or configured to use something else.
    Any guidance on this is appreciated.
    thx,
    -Kev.

    Did you try unpublishing it ...
    HOW CAN I DELETE SERVICES IN THE SERVICES REGISTRY?
    The concept of the Services Registry sees the content of the registry as a mirror of the various backend systems from which you publish into the registry. To ensure consistency, you should not manually delete service definitions from the registry, but instead it is recommended to use the publication rules functionality of SAP NetWeaver Administrator (Java) and SOA Manager (ABAP) to u2018unpublish' service definitions that are no longer required.
    However, if you still need to delete service definitions, you can make use of the corresponding API and manually remove service definitions.
    from the following link ...
    /docs/DOC-8782#section172 [original link is broken]
    Regards
    M

  • How to deploy web service as part of console.war

    Hello,
    I need to expose the deploy functionality of bpel console as web service. I see that there is a JSP page which pretty much does the same thing in console.war. So I know what my Java class is going to look like the problem is I am very new to OC4J so I don't know how to deploy it as web service on this container. Any help is greatly appreciated.
    I tried going through the tutorial on deploying web services on OC4J but the sample stateless class does not compile because it cannot find some proxy classes. Also next I copied ws_example.ear in 'D:\OraBPEL_1\bpel\system\appserver\oc4j\j2ee\home\applications' and restarted server but it is not deployed.
    Thank you,
    Meghana

    Thank you for replying to my post.
    The requirement is that we deploy BPEL suitcase remotely. My impression was that one can get handle to the Locator object only if running on local machine so I was looking at how to create web service on Oracle BPEL PM itself that will accept the stream of jar and deploy it locally.
    However now looking at this tutorial and the Java docs, I know it supports RMI calls. So I can use this constructor to get Locator instance -
    public Locator(java.lang.String domainId,
    java.lang.String password,
    java.util.Hashtable pInitialContextProperties)
    throws ServerException
    Can you let me know sample initial context properties? I checked the sample InvokingProcesses' context.properties
    orabpel.platform=oc4j_10g
    java.naming.factory.initial=com.evermind.server.rmi.RMIInitialContextFactory
    java.naming.provider.url=ormi://ca-guru/orabpel
    java.naming.security.principal=default
    java.naming.security.credentials=welcome1
    My guess is I have to change that url but I don't know where to point it. Also could you please let me know what are the jars I will need on the client side?
    Thank you. I appreciate your help.
    Meghana

  • Exposing rest services in custom managed server

    Hi everybody,
    I want to know how can expose the rest sevices for custom managed server which is created from webcenter custom portal template ????
    Thanks.

    I mean that once i deployed my custom webcenter portal (including web 2.0 services) into managed server. it is possible or not to manage potal services (documents, discussions ..) through rest api using thz following URL: http://myManagedServer:myPort/rest/api/resourceIndex ????

  • How to expose OSB as a WADL file

    HI ,
    I have a requirement where I need to create an OSB service and expose it as a WADL file rather than a WSDL file.
    Please let me know how to expose the OSB as a WADL file.
    Thanks in Advance!!!

    in that case you still dont have a deployed wadl there.
    you could use this for documentation on the deployed webservice to see what resources you can retrieve.
    other option could be to webservice in front of osb and place the wadl somewhere in the http server, so you can just retrieve it by http, and on selection of the resource of the webservice just passthrough these to the osb interface (proxyservice)

Maybe you are looking for