Portal Component Services

Hi All,
I've installed 9iAS R2 and have 2 instances, 1 for infrastructure and 1 for portal.
When I installed Portal I logged-in as Portal using the ias_admin password and
created a new user and browsed with no problems, but since I've rebooted
- nothing but problems.
Using the Enterprise Web Manager I have the following services for infrastructure:
* BC4J
O ClickStream Collector
O HTTP Server
O Internet Directory
O OC4J_DAS
O OC4J_Demos
O OC4J_Home
* Single Sign-On:7777
I can start all of the above services using Start All.
BC4J and Single Sign-On:7777 cannot be selected because
the select option to their left is grayed-out.
The Portal Instance has the following services:
* BC4J
O ClickStream Collector
O HTTP Server
O OC4J_Demos
O OC4J_Home
O OC4J_Portal
* Portal:portal:7778
* Single Sign-On:7777
O Web Cache
All the services can be started using Start All, except Portal:portal:7778.
BC4J and Single Sign-On:7777 and Portal:portal:7778 cannot be selected because
the select option to their left is grayed-out.
I can access the portal homepage via http://machinename.com:7778/pls/portal.
How do I get the Portal:portal:7778 service started?, or
where do I look to see why it doesn't start?
Thanks for your advice.

Hi Matthias,
usually, I would access the service like this:
IDirectoryContextService o = (IDirectoryContextService) PortalRuntime.getRuntimeResources().getService(IDirectoryContextService.KEY);
This should get you a class implementing IService and IDirectoryContextService.
Another prerequisite would be, that if the service belongs to another portal application, a SharingReference has to be set in the portalapp.xml and the KEY should match the service's name declared in portalapp.xml.
Regards, Karsten

Similar Messages

  • Error while consuming web service in portal component

    Hi All,
    I am working on a portal application which uses web services in portal component via web service.
    I have tested the web service and then creted a relevant portal service to it .When using this portal service in the portal component and running it Im getting the following run time error
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : Test_portal_service_app.Test_portal_service_app
    Component Name : Test_portal_service_app.Test_portal_service_app
    com.sap.portal.ivs.global.ume.UMECLient.
    Exception id: 11:17_03/07/08_0028_2739150
    See the details for the exception ID in the log file
    I did not use any ume attributes or ume api methods in the portal component .
    I have also added sharingreference= portalserviceapplication name  in deploymentdescriptor of the portal application which has the portal component.
    Please provide any suggestion for the possible cause of error .
    Urgent!!!!
    Thanks.

    Hi all,
    Please throw some light into this issue i am getting the following exception.
    com.sap.engine.services.webservices.jaxm.soap.accessor.NestedSOAPException: Problem in server response: Proxy Authentication Required.
    I have given the proxy settings in the com.sap.portal.ivs.httpservice  in the portal and also
    defined a proxy server in the Visual Administrator under Services -> Webservice Container -> HTTP Proxy Server
    I am calling service in the following manner.
    IPortalRuntimeResources runtime = PortalRuntime.getRuntimeResources();
       IService service = runtime.getService(IWS_P_Service.KEY);
       IWS_P_Service ws_service = (IWS_P_Service)service;
        Volumes from = new Volumes(Volumes.VOLUMES_KILOLITER_VALUE);
        Volumes to = new Volumes(Volumes.VOLUMES_LITER_VALUE);
        ChangeVolumeUnit cvu = new ChangeVolumeUnit(1200,from,to);
        // working upto here
         response.write("working");
         ChangeVolumeUnitResponse cvu_res = ws_service.ChangeVolumeUnit(cvu);
         double result = cvu_res.getChangeVolumeUnitResult();
         response.write(result+"");
    It is working upto "working".
    If any body has any solutions please post.
    Thanks

  • How to access a  web service(.wsdl) from portal component.

    Hi ,
    Is there any document/tutorial available on how to access a webservice from portal component ?
    I have found this linkhttps://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ep/g-i/how to access a web service.htm...
    but the urls in the link are not working...
    i want  to know the steps to access webs service and sample code if some body has already done that..
    Thanks for the help.
    Lakshmi

    Hi Lakshmi,
    See the links below:
    http://help.sap.com/saphelp_nw04/helpdata/en/f0/581140d72dc442e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/a3/918340d990ce62e10000000a155106/content.htm
    Hope this helps.
    Regards,
    Pooja.

  • Error in service call of Portal Component

    Hi
    When user trying to access the ITS screen through portal he is getting the following error.
    Portal runtime error with exception id.
    I
    com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
    With the same exception id i could see the another error...
    com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception in SAP Application Integrator occured: Exception occured in layer CommonTopLayer
    All other users can access it successfully..
    What could be the problem.
    Please suggest us.
    Thanks & Regards
    Sowmya.

    hi,
    i had the same exception.....
    and find some notes mentioned in other thread:
    Note 1063785 - Runtime of Remote Delta Links fails...
    but seems still not work.
    any suggestion?  or some support package maybe..?
    Edited by: fishy 61 on Oct 13, 2009 4:18 AM

  • How to use a portal service in portal component(DynPage)

    Hi,
    I have made a portal service and i want to use this in my portal component .
    Please tell me how can i use it.
    also can anyone tell me step wise creation of portal component and portal service and their connectivity by using a smalll example in which connectivity is done in Dynpage and using stored procedure .

    Hi,
    Check this link:
    [How to Create a Portal Component and a Portal Service Tutorial|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/0b57e590-0201-0010-a29f-abd37a436f54?QuickLink=index&overridelayout=true]
    Thanks and Regards,
    Shyam

  • Difference between portal component and portal service?

    Hi I am kishore...
             I worked on portal components but not on portal services... Would anybody tell the difference between the portal components and portal services...? What is a portal service..?
               How we know which one to choose in the scenario.?
        Thanks in adavance

    Hi kishore,
    A portal component is custom Java code that is executed according to user requests, and generates HTML output for display on the client.
    Portal components:
    Page builder, which assembles pages
    Admin tools, such as logger, which is comprised of user interface messages.
    Pages
    Technically, the page is also an iView. A page includes iViews or pages (nested) and Layout components
    iViews
    There are two different isolation levels (iView types)
    Embedded: iViews’ html is embedded as part of page html. iViews are called synchronically on the server, and retrieved in one response, to  the client (this is the page response)..  Each iView reloading reloads all iViews on page.
    URL (Isolated): iViews are fetched by an IFRAME element in an “own” request. One response for the page followed by additional request-response for each iView (depending on browser 2-4 requests simultaneously).
    Portal Services:
    A portal service is a component that offers a globally accessible function in the portal. 
    A portal service act as the middleware, that is, interfaces that are enabled to exchange procedures and data. They offer functionality to portal components, and other services.
    There are two groups of portal services:
    Portal services (part of the PRT)     
    Caching                     
    Notification
    iView service
    Application Repository
    System Landscape
    Role, pages, worksets
    Web Services
    Unification service
    Portal services (external to the PRT)     
    Client Eventing                 
    URL generator
    Logger
    JCO client service
    Hope this helps.
    Regards
    Atul Shrivastava

  • Accessing portal service from abstract portal component

    Hi
    I have created a portal service where it contains getdata() and putdata(String) methods.
    I have created a abstract portal component and trying to access the portal service from this component.
    In portalapp.xml file of the portal component i have created the sharing reference and i have given the service name.
    When i run the component it says service not found.
    Please let me know if i have missed some things
    Thanks and Regards
    NagaKishore

    Hi Prakash
    Sorry for the latereply.
    find below the code for the interface
    package com.sap.global;
    import com.sapportals.portal.prt.service.IService;
    public interface IGlobalContext extends IService
        public static final String KEY = "IGlobalContext.GlobalContext";
        public void putData(String strUserID,String strSessionID);
        public String getData();
    portalapp.xml file of the portal service.
    <application>
      <application-config/>
      <components/>
      <services>
        <service name="GlobalContext">
          <service-config>
            <property name="className" value="com.sap.global.GlobalContext"/>
            <property name="startup" value="true"/>
          </service-config>
          <service-profile>
            <property name="Test" value="true"/>
          </service-profile>
        </service>
      </services>
    </application>
    I am doing the following steps to access the portal service in the abstract portal component.
    1. Add the portal service to the java build path of the abstract portal component.
    2. do content method has the following code.
    String userid ="",sessionid="";
              response.write("Welcome");
              try
              IUserContext uc= request.getUser();
              userid = uc.getLogonUid();
              sessionid = request.getServletRequest().getSession().toString();
              response.write("Iview "+userid);
              IGlobalContext uid = (IGlobalContext)PortalRuntime.getRuntimeResources().getService(IGlobalContext.KEY);
              uid.putData(userid,sessionid);
              response.write(" Response from Service " + uid.getData());
             }catch (Exception e)
                  response.write(e.toString());
    3. portalapp.xml of abstract portal component
    <application>
      <application-config>
        <property name="SharingReference" value="GlobalContext"/>
      </application-config>
      <components>
        <component name="LandingPageComponent">
          <component-config>
            <property name="ClassName" value="com.satyam.landing.LandingPage"/>
          </component-config>
          <component-profile/>
        </component>
      </components>
      <services/>
    </application>
    I am getting the following error.
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    Could not find portal application GlobalContext.
    Exception id: 11:53_08/04/05_0095_1641450
    See the details for the exception ID in the log file
    Thanks in advance
    Regards
    NagaKishore

  • Calling a abstract portal component from portal service

    Hi
    Can i access a abstract portal component from portal service?
    My requirement is i have a method called getsessionID in portal service. My portal service is enabled as a webservice. Who ever consumes my webservice they will call this method.
    This method in portal service should call a method in abstract portal component to return the session id of the user.
    is this possible.
    Thanks in advance
    Kishore

    Hi Kishore,
           This is impossible. The AbstractPortalComponent is a servlet and it can only be executed via URL. It is easy to execute the component via url but you have to pass the logon information. Also it will run under a user context that you have specified(while passing the logon information) when calling the url. I think you ought to consider a different approach.
            Prakash Singh

  • Error in service call of Portal Component while accessing CRM iview

    Hi Experts,
    When I'm trying to open the iview, i'm getting portal runtime error.  Below is the log I found.  I check the permissions and everything looks fine.  We have migrated from EP6 to EP7 EHP1 SP8.  This iview is working properly in EP6 but throwing error in EP7.  Kindly let me know how to resolve this issue.
    Exception ID:02:43_05/09/11_0009_109976350
    [EXCEPTION]
    com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
    Component : pcd:portal_content/com.scc.scc/vcr/com.ids.scc.vcr.crm_link/com.ids.scc.vcr.crm_link.Roles/com.scc.sapbpe.salesrep/myApplications_dlren_0/CRM/quotations/com.sap.pct.crm.sal.my_favorites_sales_documents
    Component class : com.sap.pct.crm.core.favorites.list.ListPortalComponent
    User : TESTUSER
    at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:973)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:343)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:355)
    at com.sapportals.portal.prt.core.async.AsyncPortalComponentResponse.include(AsyncPortalComponentResponse.java:310)
    at com.sapportals.portal.navigation.workAreaiView.doContent(workAreaiView.java:293)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable$1$DoDispatchRequest.run(AsyncIncludeRunnable.java:375)
    at java.security.AccessController.doPrivileged(AccessController.java:246)
    at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:388)
    at com.sapportals.portal.prt.core.async.ThreadContextRunnable.run(ThreadContextRunnable.java:164)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:729)
    at java.lang.Thread.run(Thread.java:770)
    Caused by: java.lang.NoClassDefFoundError: com.sap.pct.crm.core.objectlinks.ObjectLinkGenerator (initialization failure)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:134)
    at com.sap.pct.crm.core.favorites.list.ListDynPage.onContainerCreate(ListDynPage.java:547)
    at com.sapportals.pct.util.pdv.PDVDynPage.doProcessBeforeOutput(PDVDynPage.java:171)
    at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:127)
    at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    ... 15 more
    Thanks in advance,
    VV.

    Hi,
    check whether note 1291058 applies for you.
    Check whether your Stacks and SPs / Business Packages matched correctly with maintenance optimizer.
    Got this error only once while implementing a new portal, it was due to a corrupted deployment, so probably some of the XSS JAVA Components got corrupted.
    EDIT: "Caused by: java.lang.NoClassDefFoundError: com.sap.pct.crm.core.objectlinks.ObjectLinkGenerator" really looks like something with the JAVA deployment went wrong. Java Stack can't find a class definition in PBO... you haven't modified anything with NWDS/NWDI or have you?
    regards, Lukas
    Edited by: Lukas Weigelt on Sep 7, 2011 1:22 PM

  • FPN: Error in service call of Portal Component

    Hi,
    I'm working with a federated portal network and the producer portal is a BW system.
    My remote role assignment works fine, but not the remote delta links.
    I have create on my consumer portal a delta link to my role residing on my BW system.
    When I test this role,  I got a syntax error in my DetailedNavigationTree:
    [EXCEPTION]
    {0}#1#com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
    Component : pcd:portal_content/Standardobjekte/Layout/ Default_Desktop/frameworkPages/Default_Page/com.sap.portal.innerpage/com.sap.portal.detailedNavigationTree
    Component class : com.sapportals.portal.navigation.DetailedNavigationTree
    User : ADMIN
         at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:973)
    Caused by: java.lang.NullPointerException
         at com.sapportals.portal.navigation.DetailedNavigationTree.doContent(DetailedNavigationTree.java:201)
    Can you tell me why I get this error with the remote delta link role?
    Thanks for your help.
    Regards,
    Mathieu

    Hi,
    thanks for your help. I will update my consumer portal to SP14 and then test again.
    There is in the SAP help this interesting topic: [Version Interoperability|http://help.sap.com/saphelp_nw70/helpdata/de/43/23fabdcad10d23e10000000a1553f7/frameset.htm]
    Consumer-side functionality determines the support level. If content on the producer uses portal client-side functionality (for example, OBN or other navigation related functionality) that is not available or supported by the consumer portal, then the content is not supported in an FPN implementation.
    Regards,
    Mathieu

  • PeopleFinderComponent  Error in service call of Portal Component

    Hi:
    I created the PeopleFinderComponent iview from scratch, when I preview the iview this error is display:
    com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
    Component : the iview I´m testing
    Component class : com.sap.ip.collaboration.coreui.impl.people.peoplefinder.PeopleFinderComponent
    User : my user
    at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:973)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:343)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:523)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:412)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Caused by: com.sapportals.wdf.WdfError
    at com.sapportals.wdf.WdfCompositeController.buildComposition(WdfCompositeController.java:688)
    at com.sapportals.htmlb.AbstractCompositeComponent.preRender(AbstractCompositeComponent.java:33)
    at com.sapportals.htmlb.Container.preRender(Container.java:120)
    at com.sapportals.htmlb.Container.preRender(Container.java:120)
    at com.sapportals.htmlb.Container.preRender(Container.java:120)
    at com.sapportals.portal.htmlb.PrtContext.render(PrtContext.java:406)
    at com.sapportals.htmlb.page.DynPage.doOutput(DynPage.java:238)
    at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:133)
    at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.doPreview(AbstractPortalComponent.java:240)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:168)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
    ... 29 more
    I´m working just with EP 7.01 (EHP1) (there´s not any ABAP System in the Portal Landscape).
    I searched for PeopleFinder.xml in the server file system* (it´s the value of com_sapportals_wdf_ConfigFileName property) and nothing was found, so I think that´s the problem but I couldn´t find so much about it.
    Thanks a lot for your time on this thread.
    Rocío.

    Hi Rocio,
    Is this just a regular AbstractPortalComponent iView you have written? What are you trying to do in the code? I don't see any non-sap classes in the error stack only com.sap.*
    Is the PeopleFinder.xml file a file that you have included in the PAR?
    BRgds,
    Simon

  • Somehelp regarding Web service consumption in portal component

    hi all,
    I need Somehelp regarding External Web Service consumption in portal component.
    I have a wsdl file, but when i try to create a model using wsdl in portal it is showing cannot to read the wsdl file.
    is there any other way i consume wsdl in portal.

    Hi,
    mybe it's an authorization problem while reading the WSDL file?
    Try to include it like this:
    http://mycompany.net:8000/sap/bc/srt/rfc/sap/Z_Webservice_Test?sap-client=800&wsdl=1.1&sap-user=USERNAME_ON_BACKEND&sap-password=XXXXXXXXX
    Thomas

  • Anonymous access to Portal Component over direct URL.

    Hi All,
    Im having a few Issues with enabling anonymous access to a portal component.
    Here is a mock of our portalapp.xml file
    <?xml version="1.0"  encoding="iso-8859-1"?>
    <application>
      <application-config>
        <property name="SharingReference" value="usermanagement, knowledgemanagement, landscape, htmlb, exportalJCOclient, exportal"/>
        <property name="startup" value="true"/>
        <property name="releasable" value="true"/>
        <property name="Vendor" value="com.ourdomain"/>
        <property name="SecurityArea" value="OurSecurityArea"/> -->
      </application-config>
      <components>
        <component name="MyComponent">
          <component-config>
            <property name="ClassName" value="com.ourdomain.MyClass"/>
            <property name="ComponentType" value="servlet"/>
            <property name="SafetyLevel" value="no_safety"/>
          </component-config>
          <component-profile/>
        </component>
      </components>
      <services/>
    </application>
    I want to be able to access the servlet over a URL like...
    http://host:port/irj/servlet/prt/portal/prtroot/MyApp.MyComponent
    I have added the Default User Group Everyone to the no_safety area of our com.ourDomain Security Zone.
    However when try to navigate to the URL we are first faced with a SAP Portal login page. on successful login the servlet is then shown.
    Note: I was able to get the Same Servlet working within an iView when the iViews Authentification Scheme was set to anonymous...However i am under instruction to get it working without the iView...
    As Background, The servlet is to be a sink for accepting data sent via an HTTP Post.
    Any help with this or pointers in the right direction would be greatly appreciated.
    -Paul

    Hi Darrell,
    Thankyou for that, yes it has helped....And I can now access the servlet directly without need to login.
    I figured that there was something that i was missing.....
    -Paul

  • Portal web service consuming in portal application

    Hi ,
    I have done the following steps and consumed a web service and created a portal service.
    When i am consuming this portal service in turn in my application.Its showing the error.
    Step 1 :- I Created a portal service.
    Step 2 :- And published it as a web service.
    Step 3 :- By consuming this web service I created a portal service and uploaded it into the server and started it.
    Step 4 :- Now I am using the portal service created from my web service in my application ad I also added the sharing reference of the portal service in this application.
    Step 5 :- I configured the proxy.
    By going to the path System Administration->System configuration->Service Configuartion.In that under Applications folder--->com.sap.portal.ivs.Httpservice and under this proxy.
    Step 6:- And when I am executing my portal component I am getting the following error stack i am getting .
    Could anyone help me in this regard.
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : lokconsumewebservice_Use.webserviceuse
    Component Name : lokconsumewebservice_Use.webserviceuse
    com.sap.portal.ivs.global.ume.UMECLient.
    Exception id: 08:02_30/06/08_0041_4808950
    See the details for the exception ID in the log file .
    Thanks & Regards,
    Lokesh.

    Hi
    Go to
    usr/sap/<SID>/JC00/j2ee/cluster/server/logs...if i am not wrong. Pick up the latest one and post logs here for  related error.
    Koti Reddy

  • Error while running a portal component.

    Hi,
    I am not able to access portal service from an abstract portal component that I created in the same project as the portal service. Here is the error I am getting:
    Portal runtime error.
    "An exception occurred while processing your request. Send the exception ID to your portal administrator.
    Exception ID: 11:45_15/01/09_0068_15350950
    Refer to the log file for details about this exception."
    Here is the portalapp.xml:
    <?xml version="1.0" encoding="utf-8"?>
    <application>
    <application-config/>
    <components>
    <component name="AOSTestComp">
    <component-config>
    <property name="ClassName" value="com.gfc.ume.service.AOSTestComp"/>
    </component-config>
    <component-profile/>
    </component>
    </components>
    <services>
    <service name="OfficeListService">
    <service-config>
    <property name="className" value="com.gfc.ume.service.OfficeListService"/>
    <property name="startup" value="false"/>
    </service-config>
    </service>
    </services>
    </application>
    Here is the code for the service:
    public interface IOfficeListService extends IService
    public static final String KEY = "OfficeListService";
    public String testMyService(String user);
    Here is the code for the component:
    package com.gfc.ume.service;
    import com.sapportals.portal.prt.component.*;
    import com.sapportals.portal.prt.runtime.IPortalRuntimeResources;
    import com.sapportals.portal.prt.runtime.PortalRuntime;
    import com.sapportals.portal.prt.service.IService;
    public class AOSTestComp extends AbstractPortalComponent
    public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
    IPortalRuntimeResources runtimeResources = PortalRuntime.getRuntimeResources();
    IService aService = runtimeResources.getService(IOfficeListService.KEY);
    IOfficeListService myService = (IOfficeListService)aService;
    response.write(myService.testMyService("Longivity"));
    Thanks
    Tony

    Tony,
    this is Java Web Dynpro forum.You already have posted this same question twice in Portal forums. This is third time. please dont do so. We have to keep SDN clean (no redundancy).
    Regards,
    Yogesh Varma

Maybe you are looking for

  • SSL Server: No available certificate or key.... exception

    Hi, I want to create a very simple SSL Server for testing purposes. I have searched google and these forums for an answer, but anything that I found did not help (will say below what I tried). Here is my code: import java.io.IOException; import javax

  • How can I mail the Job Log in the form of an excel sheet?

    Daily I have to monitor a Job and I have to retrieve the Job Log in an excel sheet, Format the excel sheet, and then mail the excel sheet and the Job Status(Finished/Cancelled) to Client/Person Incharge. I want to automate this entire process. Please

  • Check if email address exists before creating account

    Hi all, Is there a way to check if the email address chosen when creating a new account isn't already used by another account ? Thanks, Ben

  • Why syntax errors?

    when I copy/paste from: http://www.heaveninteractive.com/weblog/2008/03/01/actionscript-state-abbreviations-combo- box/ the states list for a combobox, I get tons of syntax errors. The code looks good, is it some weird character-encoding thing? And d

  • Missing "Recordset Sequence" in FCC

    HI We are in SP19 and We find that the parameter "Recordset Sequence" is missing in the FCC paramaters section of the sender File Communication channel Is there a way to get back that field? Or should we revert back to SP15 regards krishna