Custom Capi service definition fails to include in Capi

I am working on a migrated Oracle designer repository and have quite a lot of custom Capi service definitions which would normally appear in the Capi that they apply to, once I run "Create Capi Definition".
However they are steadfastly refusing to appear. If I go and create a new custom Capi service definition, the new one will appear, but not the old ones.
This could be a simple oversight that I am experiencing - can anyone suggest a resolution to this problem.
I am using hss_capi Rev: 6.5.4.0.2
Regards
Phil Gray

Please note this has been resolved.
For some reason the table definition has been dropped off the CAPI Custom Service program data properties.
This is found by opening the PL/SQL definition for the custom capi service in the Repository Object Navigator.
As for the reason the definition has gone.....?

Similar Messages

  • Create service definition failed while creating a Web Service

    Guru,
    I am trying to develop a Web Service in ECC 6.0 SR3, AIX 5.3+Oracle 10g.
    The followings are my steps:
    1. Create function module, e.g. Z_RFC_DEMO
    2. Activate this function module and also try to run it. It's working.
    3. Then use SE37, Utilities -> More Utilities -> Create Web Service -> From the Function Module, and filles what it really needs to fill. After clicking the complete button, it reports "No Vendor Specified".
    4. From SE80, when activate the Service Definition manually, it reports the same error.
    Is there any body can help me to solve this problem?
    Thanks Advance.

    Guy,
    Thanks for your reply.
    This problem has been solved. Since I haven't turned on everything that to use transaction SOAMANAGER needs. After complete the switch-on works, the problem never happens again.
    Thanks again.

  • Creation of CAPI Definition fails

    Within Headstart Utilities the creation of all CAPI Definitions fails with Error Messages "Activity aborted with ORACLE internal errors" and "ORA-06508: PL/SQL: could not find program unit being called".
    It seems that this caused due package hsu_capc:
    BLAPI.OPEN_ACTIVITY
    Start HSU_CAPI.run
    Number of Tables to create CAPI for 1
    Initial checks for table DBE_ACCESSIBILITIES with id 126949878011559489794221642994244829
    HSU_CAPT.initial_checks for table DBE_ACCESSIBILITIES
    HSU_CAPF.initial_checks for table DBE_ACCESSIBILITIES
    HSU_CAPC.initial_checks Custom Services for table DBE_ACCESSIBILITIES
    Activity aborted with ORACLE internal errors.
    -6508 ORA-06508: PL/SQL: could not find program unit being called
    All Headstart packages are valid. Has anyone an idea or suggestion for solving this problem?

    Hello Rinie,
    It looks like you're missing a HSU-program-unit.
    You might want to check the installation-folder for the presence of HSU_CAPB, needed to create the package-body.
    Succes!

  • Custom CAPI service - default value of varchar2 parameter

    I have a Custom CAPI Service function. That function has a varchar2 parameter (argument) and I wish to set a default value NULL for that parameter.
    I set Default=null, and when I generate CAPI package, my function in that package looks like this (notice the quotation marks around null):
    function cs_cjn_prod_cijena
    ( p_nacin_prodaje in varchar2 default 'null'
    return number
    is ...
    And it should look like this:
    function cs_cjn_prod_cijena
    ( p_nacin_prodaje in varchar2 default null
    return number
    is ...
    I tried setting Default Value Type to Literal, Database Function Call, Client Function Call, but it's always the same thing.
    If that parameter was number or date it would generate ok.
    It seems like the bug in "Generate CAPI Definition" Headstart Utility.
    I know that I can make my function's code to treat the string 'null' as a null default value, but I'd like to have a "real" null as a default value.
    Does anybody have a solution for this?
    Thanks!
    Dalibor

    Marcel,
    Thank you for your answer, but it didn't help. I have already tried using Database Function Call. This time I tried deleting the CAPI package from repository before generating it again, like you suggested, but it didn't help.
    I still get: p_nacin_prodaje in varchar2 default 'null'
    Which version of Create CAPI Definition utility do you have?
    My version is: HSU_CAPI, Revision: 6.5.2.0 ("Help/About This Utility" in Headstart Utilities application)
    Thanks again,
    Dalibor

  • Custom portal service not running ni NW 04

    Hello!
    We are about to migrate from EP6 SP2 to NW04 and I'm currently testing the results of the first test run.
    One special problem I encountered is one of my custom portal services no longer running. It did without flaws back in EP6, so something seems to have changed.
    My Service interface:
    [code]
    package com.rag.ekportal.bginfocenter.kmservice;
    @author Juergen Wahlmann
    public interface IBGFetcher extends IService {
    [/code]
    And the implementation:
    [code]
    package com.rag.ekportal.bginfocenter.kmservice;
    public class BGFetcher implements IBGFetcher, Runnable {
    [/code]
    portalapp.xml
    [code]
    <?xml version="1.0"  encoding="UTF-8"?>
         <application>
              <application-config>
              </application-config>
              <components>
                   <component name="BGViewer">
                        <component-config>
                             <property name="ClassName" value="com.rag.ekportal.bginfocenter.bgview.control.BGViewer">
                             </property>
                             <property name="SecurityZone" value="sbi-ruhr.de/ekportal/medium_safety/com.rag.ekportal/components/bgviewer">
                             </property>
                             <property name="ResourceBundleName" value="bginfocenter">
                             </property>
                             <property name="ServicesReference" value="usermanagement,knowledgemanagement,com.rag.ekportal.bginfocenter.kmservice.BGFetcher,com.sap.portal.ivs.connectorservice,landscape">
                             </property>
                        </component-config>
                        <component-profile>
                             <property name="tagLib" value="/SERVICE/htmlb/taglib/htmlb.tld">
                                  <property name="personalization" value="none">
                                  </property>
                             </property>
                             <property name="templatesfolderName" value="Vorlagen">
                             </property>
                             <property name="guidelinesfolderName" value="Richtlinien">
                             </property>
                             <property name="bgContactsfolderName" value="BG-Ansprechpartner">
                             </property>
                             <property name="ksb2folderName" value="KSB 2">
                             </property>
                             <property name="bgControllingfolderName" value="BG-Controlling">
                             </property>
                             <property name="rvURL" value="/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.fo.admin!2fcom.admin.fo.iview!2fcom.admin.iview.fo.ri!2fcom.admin.iview.ri.fo.rag!2fcom.admin.iview.ri.rag.iv.begis_0_0?numberBG=">
                             </property>
                             <property name="KmServiceUser" value="KM Service User">
                             </property>
                             <property name="systemAlias" value="BeGIS_RV_DB">
                             <property name="personalization" value="admin"/>
                             <property name="plainDescription" value="JDBC System object for DB access"/>                         
                        </property>
                        <property name="table" value="janus_contract_bg_v">
                             <property name="personalization" value="admin"/>
                             <property name="plainDescription" value="Database View for reading contracts"/>                         
                        </property>
                        <property name="table1" value="user_roles_v">
                             <property name="personalization" value="admin"/>
                             <property name="plainDescription" value="Database Table for checking user role in RV DB"/>                         
                        </property>
                        </component-profile>
                   </component>
              </components>
              <services>
                   <service name="BGFetcher">
                        <service-config>
                             <property name="className" value="com.rag.ekportal.bginfocenter.kmservice.BGFetcher">
                             </property>
                             <property name="startup" value="true">
                             </property>
                             <property name="SecurityZone" value="sbi-ruhr.de/ekportal/medium_safety/com.rag.ekportal/services/bgfetcher">
                             </property>
                        </service-config>
                        <service-profile>
                             <property name="interval" value="300000">
                             </property>
                             <property name="enable" value="false">
                                  <property name="type" value="boolean">
                                  </property>
                             </property>
                             <property name="numberofruns" value="1">
                             </property>
                             <property name="repository" value="/rag_bgm_test/Beschaffungsgruppen">
                             </property>
                             <property name="KmServiceUser" value="KM Service User">
                             </property>
                             <property name="dbServer" value="xxx">
                             </property>
                             <property name="dbUser" value="xxx">
                             </property>
                             <property name="dbPassword" value="xxx">
                             </property>
                             <property name="dbName" value="xxx">
                             </property>
                             <property name="workfolderName" value="Arbeitsordner">
                             </property>
                             <property name="teamfolderName" value="Teamordner">
                             </property>
                             <property name="contactfolderName" value="Ansprechpartner">
                             </property>
                             <property name="publicfolderName" value="u00D6ffentlicher Ordner">
                             </property>
                             <property name="deletedfolderName" value="/rag_bgm_test/Gelu00F6scht/">
                             </property>
                        </service-profile>
                   </service>
              </services>
         </application>
    [/code]
    The service didn't work after the migration, so I tried to deploy it again. This is the result:
    [code]
    Date : 01/12/2006
    Time : 13:31:37:880
    Message : [PortalServiceItem.startServices] service initialisation failed:com.rag.ekportal.bginfocenter.kmservice|BGFetcher
    [EXCEPTION]
    java.lang.NoClassDefFoundError: com/sapportals/wcm/repository/ResourceException
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:219)
         at com.sapportals.portal.prt.core.broker.PortalServiceItem.__createServiceInstance(PortalServiceItem.java:727)
         at com.sapportals.portal.prt.core.broker.PortalServiceItem.createServiceInstance(PortalServiceItem.java:613)
         at com.sapportals.portal.prt.core.broker.PortalServiceItem.startServices(PortalServiceItem.java:1042)
         at com.sapportals.portal.prt.core.broker.PortalAppBroker.startLoadOnStartupServices(PortalAppBroker.java:1563)
         at com.sapportals.portal.prt.core.broker.PortalAppBroker.start(PortalAppBroker.java:1518)
         at com.sapportals.portal.prt.core.broker.PortalAppBroker.restartQueuedApplication(PortalAppBroker.java:1866)
         at com.sapportals.portal.prt.core.broker.PortalAppBroker.updateApplications(PortalAppBroker.java:1702)
         at com.sapportals.portal.prt.deployment.DeploymentManager.updateApplications(DeploymentManager.java:1754)
         at com.sap.ip.portal.admin.portalanywhere.QueryHandler.handleTopic(QueryHandler.java:152)
         at com.sapportals.portal.prt.service.notification.impl.NotificationSAPJ2EE630.executeActionHandleTopic(NotificationSAPJ2EE630.java:1141)
         at com.sapportals.portal.prt.service.notification.impl.NotificationSAPJ2EE630.notifyActionSubscribers(NotificationSAPJ2EE630.java:1089)
         at com.sapportals.portal.prt.service.notification.impl.NotificationSAPJ2EE630.receiveWait(NotificationSAPJ2EE630.java:386)
         at com.sapportals.portal.prt.service.notification.impl.NotificationSAPJ2EE630.broadcastAndWait(NotificationSAPJ2EE630.java:553)
         at com.sapportals.portal.prt.service.notification.NotificationServiceDispatcher.broadcastAndWait(NotificationServiceDispatcher.java:192)
         at com.sap.ip.portal.admin.portalanywhere.EventForwarder.sendQueryAndGetResults(EventForwarder.java:122)
         at com.sap.ip.portal.admin.portalanywhere.EventForwarder.sendQueryToAllServers(EventForwarder.java:144)
         at com.sap.ip.portal.admin.portalanywhere.EventForwarder.forwardEventToAllServers(EventForwarder.java:135)
         at com.sap.ip.portal.admin.portalanywhere.ArchiveUploader.forwardUpdateToAllServers(ArchiveUploader.java:253)
         at com.sap.ip.portal.admin.portalanywhere.ArchiveUploader.doContent(ArchiveUploader.java:235)
         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.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:646)
         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:522)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
         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:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         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:95)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)
    Severity : Error
    Category : /System/Server
    Location : com.sap.portal.prt.runtime.broker
    Application : sap.com/irj
    Thread : SAPEngine_Application_Thread[impl:3]_15
    Datasource : 2390950:E:\usr\sap\PMT\JC00\j2ee\cluster\server0\log\defaultTrace.trc
    Message ID : 000C29A5B62A00400000001300000A4000040A2887A939D9
    Source Name : com.sap.portal.prt.runtime.broker
    Argument Objs : java.lang.NoClassDefFoundError: com/sapportals/wcm/repository/ResourceException
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:219)
         at com.sapportals.portal.prt.core.broker.PortalServiceItem.__createServiceInstance(PortalServiceItem.java:727)
         at com.sapportals.portal.prt.core.broker.PortalServiceItem.createServiceInstance(PortalServiceItem.java:613)
         at com.sapportals.portal.prt.core.broker.PortalServiceItem.startServices(PortalServiceItem.java:1042)
         at com.sapportals.portal.prt.core.broker.PortalAppBroker.startLoadOnStartupServices(PortalAppBroker.java:1563)
         at com.sapportals.portal.prt.core.broker.PortalAppBroker.start(PortalAppBroker.java:1518)
         at com.sapportals.portal.prt.core.broker.PortalAppBroker.restartQueuedApplication(PortalAppBroker.java:1866)
         at com.sapportals.portal.prt.core.broker.PortalAppBroker.updateApplications(PortalAppBroker.java:1702)
         at com.sapportals.portal.prt.deployment.DeploymentManager.updateApplications(DeploymentManager.java:1754)
         at com.sap.ip.portal.admin.portalanywhere.QueryHandler.handleTopic(QueryHandler.java:152)
         at com.sapportals.portal.prt.service.notification.impl.NotificationSAPJ2EE630.executeActionHandleTopic(NotificationSAPJ2EE630.java:1141)
         at com.sapportals.portal.prt.service.notification.impl.NotificationSAPJ2EE630.notifyActionSubscribers(NotificationSAPJ2EE630.java:1089)
         at com.sapportals.portal.prt.service.notification.impl.NotificationSAPJ2EE630.receiveWait(NotificationSAPJ2EE630.java:386)
         at com.sapportals.portal.prt.service.notification.impl.NotificationSAPJ2EE630.broadcastAndWait(NotificationSAPJ2EE630.java:553)
         at com.sapportals.portal.prt.service.notification.NotificationServiceDispatcher.broadcastAndWait(NotificationServiceDispatcher.java:192)
         at com.sap.ip.portal.admin.portalanywhere.EventForwarder.sendQueryAndGetResults(EventForwarder.java:122)
         at com.sap.ip.portal.admin.portalanywhere.EventForwarder.sendQueryToAllServers(EventForwarder.java:144)
         at com.sap.ip.portal.admin.portalanywhere.EventForwarder.forwardEventToAllServers(EventForwarder.java:135)
         at com.sap.ip.portal.admin.portalanywhere.ArchiveUploader.forwardUpdateToAllServers(ArchiveUploader.java:253)
         at com.sap.ip.portal.admin.portalanywhere.ArchiveUploader.doContent(ArchiveUploader.java:235)
         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.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:646)
         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:522)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
         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:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         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:95)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)
    Arguments : java.lang.NoClassDefFoundError: com/sapportals/wcm/repository/ResourceException
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:219)
         at com.sapportals.portal.prt.core.broker.PortalServiceItem.__createServiceInstance(PortalServiceItem.java:727)
         at com.sapportals.portal.prt.core.broker.PortalServiceItem.createServiceInstance(PortalServiceItem.java:613)
         at com.sapportals.portal.prt.core.broker.PortalServiceItem.startServices(PortalServiceItem.java:1042)
         at com.sapportals.portal.prt.core.broker.PortalAppBroker.startLoadOnStartupServices(PortalAppBroker.java:1563)
         at com.sapportals.portal.prt.core.broker.PortalAppBroker.start(PortalAppBroker.java:1518)
         at com.sapportals.portal.prt.core.broker.PortalAppBroker.restartQueuedApplication(PortalAppBroker.java:1866)
         at com.sapportals.portal.prt.core.broker.PortalAppBroker.updateApplications(PortalAppBroker.java:1702)
         at com.sapportals.portal.prt.deployment.DeploymentManager.updateApplications(DeploymentManager.java:1754)
         at com.sap.ip.portal.admin.portalanywhere.QueryHandler.handleTopic(QueryHandler.java:152)
         at com.sapportals.portal.prt.service.notification.impl.NotificationSAPJ2EE630.executeActionHandleTopic(NotificationSAPJ2EE630.java:1141)
         at com.sapportals.portal.prt.service.notification.impl.NotificationSAPJ2EE630.notifyActionSubscribers(NotificationSAPJ2EE630.java:1089)
         at com.sapportals.portal.prt.service.notification.impl.NotificationSAPJ2EE630.receiveWait(NotificationSAPJ2EE630.java:386)
         at com.sapportals.portal.prt.service.notification.impl.NotificationSAPJ2EE630.broadcastAndWait(NotificationSAPJ2EE630.java:553)
         at com.sapportals.portal.prt.service.notification.NotificationServiceDispatcher.broadcastAndWait(NotificationServiceDispatcher.java:192)
         at com.sap.ip.portal.admin.portalanywhere.EventForwarder.sendQueryAndGetResults(EventForwarder.java:122)
         at com.sap.ip.portal.admin.portalanywhere.EventForwarder.sendQueryToAllServers(EventForwarder.java:144)
         at com.sap.ip.portal.admin.portalanywhere.EventForwarder.forwardEventToAllServers(EventForwarder.java:135)
         at com.sap.ip.portal.admin.portalanywhere.ArchiveUploader.forwardUpdateToAllServers(ArchiveUploader.java:253)
         at com.sap.ip.portal.admin.portalanywhere.ArchiveUploader.doContent(ArchiveUploader.java:235)
         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.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:646)
         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:522)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
         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:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         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:95)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:160)
    Dsr Component :
    Dsr Transaction : 5f940fe0836711da887d000c29a5b62a
    Dsr User :
    Indent : 0
    Level : 0
    Message Code :
    Message Type : 1
    Relatives : /System/Server
    Resource Bundlename :
    Session : 2391
    Source : com.sap.portal.prt.runtime.broker
    ThreadObject : SAPEngine_Application_Thread[impl:3]_15
    Transaction :
    User : xxx
    [/code]
    Looks like something is wrong in the service definition (portalapp.xml) but I have no clue. Class names are spelled right, settings the same as in EP6 SP2, yet the portal engine is not able to find the implementation class of the service.
    Any ideas?
    Cheers,
      Juergen

    Hi Detlev!
    The ServiceReference definition previously was located in the application config under SP2, but didn't work either.
    Now I found the solution. A sharing reference of all non-custom services in the application config and an additional sharing reference to my custom service in the portal application's config like this:
              <application-config>
                   <property name="SharingReference" value="usermanagement,knowledgemanagement,com.sap.portal.ivs.connectorservice,landscape">
                   </property>
              </application-config>
              <components>
                   <component name="BGViewer">
                        <component-config>
                             <property name="ClassName" value="com.rag.ekportal.bginfocenter.bgview.control.BGViewer">
                             </property>
                             <property name="SecurityZone" value="sbi-ruhr.de/ekportal/medium_safety/com.rag.ekportal/components/bgviewer">
                             </property>
                             <property name="ResourceBundleName" value="bginfocenter">
                             </property>
                             <property name="SharingReference" value="com.rag.ekportal.bginfocenter.KMService.BGFetcher">
                             </property>
                        </component-config>
    Case closed, thx for you hint. I awarded points.
    Cheers,
      Jürgen
    Message was edited by: Juergen Wahlmann, solution included

  • [SOLVED] Netcfg.service always failing.

    Hello,
    Since systemd got pushed down with an update I decided to jump the ship (even though roughly a week ago I tried it and decided to wait a while, the irony ) With the help of my previous topic and the knowledge that e4rat does work with systemd, I got everything working and it's working faster than ever too. Win/win if you ask me.
    There's only one issue: the netcfg.service that I have enabled with systemctl enable netcfg.service always fail on boot and I have to manually connect later. I don't know why it fails, so I hope you can help me tracking the issue.
    This is the output of systemctl status netcfg.service right after booting:
    ┌─[jente @ lappy ~] 19:39:30
    └─■ systemctl status netcfg.service
    netcfg.service - Netcfg multi-profile daemon
    Loaded: loaded (/usr/lib/systemd/system/netcfg.service; enabled)
    Active: failed (Result: exit-code) since Fri, 31 Aug 2012 19:35:04 +0200; 4min 27s ago
    Process: 253 ExecStart=/usr/bin/netcfg-daemon start (code=exited, status=1/FAILURE)
    CGroup: name=systemd:/system/netcfg.service
    And here's systemctl --failed list-units:
    ┌─[jente @ lappy ~] 19:39:32
    └─■ systemctl --failed list-units
    UNIT LOAD ACTIVE SUB JOB DESCRIPTION
    netcfg.service loaded failed failed Netcfg multi-profile daemon
    LOAD = Reflects whether the unit definition was properly loaded.
    ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
    SUB = The low-level unit activation state, values depend on unit type.
    JOB = Pending job for the unit.
    1 units listed. Pass --all to see inactive units, too.
    And here's the journal output:
    ----- Reboot -----
    Aug 31 19:35:04 lappy netcfg-daemon[253]: :: [ESSID] up interface wlan0 does not exist
    Aug 31 19:35:04 lappy netcfg-daemon[253]: [fail]
    I don't think it's any netcfg configuration file, because it did work with SysV and the net-profiles daemon.
    Last edited by Unia (2012-10-31 14:20:21)

    I use a custom "network.service" as I have a static ip on my wireless lan (oh, and I chucked in the hdparm stuff because after suspend I found the disk had lost those settings, so don't copy that line). Based on this wiki section.
    $ cat /etc/systemd/system/network.service
    [Unit]
    Description=Network Connectivity
    Wants=network.target
    Before=network.target
    After=sys-devices-pci0000:00-0000:00:1c.1-0000:02:00.0-bcma0:0-net-wlan0.device
    BindTo=sys-devices-pci0000:00-0000:00:1c.1-0000:02:00.0-bcma0:0-net-wlan0.device
    [Service]
    Type=oneshot
    RemainAfterExit=yes
    EnvironmentFile=/etc/conf.d/network
    ExecStart=/sbin/hdparm --yes-i-know-what-i-am-doing -m 16 -S0 -B255 /dev/sda
    ExecStart=/usr/sbin/wpa_supplicant -B -i ${interface} -c /etc/wpa_supplicant/wpa_supplicant-wlan0.conf
    ExecStart=/sbin/ip link set dev ${interface} up
    ExecStart=/sbin/ip addr add ${address}/${netmask} broadcast ${broadcast} dev ${interface}
    ExecStart=/sbin/ip route add default via ${gateway}
    ExecStop=/sbin/ip addr flush dev ${interface}
    ExecStop=/sbin/ip link set dev ${interface} down
    ExecStop=/usr/bin/killall wpa_supplicant
    [Install]
    WantedBy=multi-user.target

  • Open letter to Verizon Wireless Management and Customer No-Services

    After more than 10 years as a customer of Verizon Wireless, I have recently encountered several situations that have caused me to begin the process of changing my service provider to another company. Verizon has "zero" loyalty or appreciation of its existing customers; they have poor, and in one particular case, rude customer no-service representatives and policies.
    I purchased a new smart phone for my college daughter. Of course, activation of this new phone required the purchase of a data plan, even though she doesn't need or intend to use data services. (That's fine; I was aware of  this cost even though I believe it to be over-priced). In addition, they also required a $30 fee for signing a new contract. Seriously? Are you kidding me? A fee for the "privilege" of signing a contract with the big, powerful, arrogant Verizon? I don't want a contract in the first place; it is Verizon that wants the contract. They should pay me for signing a contract. I could understand a fee for a new account setup (not really, but it makes a little sense) but a fee for an existing multi-line, long-time customer where the paperwork is nothing more than a mere mouse click of  the "I Agree" button?
    So, the daughter gets her new phone with 24 months of data (for the low, low price of 25 months.... yea right). We take her old phone, which she has had for several years, and decide to use it on another of the lines in our family plan because it has a qwerty keyboard. Now, I learn that I have to sign up for a data plan to use this old phone on a different line. This phone has been in service for several years with no data plan but now I have to have a data plan to use it?  What the **** ??? I only wanted to use the phone for voice calls and a few texts. I have no need for data. This phone, an ENV3, is not well suited for data services anyway. (No, I won't be using this old phone after all.)
    Companies such as yours dream up  junk fees; this one amounts to $1.25 per month additional revenue. They do this as a way of increasing revenue while advertising a lower price, ie advertise $30.00 per month but actually charge $31.25. I suppose they all pat themselves on the back and start counting all the new-found money. The management is so stupid and arrogant that they do not realize what the long-term impact could be. In this particular case, the end result shall be the net loss of $250.00 per month in revenue. I know that you don't care; that is painfully obvious and clear.
    Well Mr. Verizon, you may consider this to be my official letter of resignation. Consider me gone, done, history. I don't need you, your arrogance, or your over-priced services. I currently pay nearly $250/mo to your company for six phone lines, four of which are "very lightly" used for calls and and a few text only. Personally, on my line,  I do nothing but make and/or receive an average of  two  3-minute calls per week. I put up with a lot of crap making my money; I do not have to tolerate any when spending it. I WILL be taking ALL my business elsewhere. Four of my lines are currently month-to-month with no contract. I will be moving these to another provider in the coming week. The remaining ones will be moved upon expiration of their respective contracts.
    Cheers

    Verizon has no obligation to respect your "loyalty." They do, however, have an obligatory fiduciary duty to their investors, hence the "upgrade" fees, "line access" fees, "regulatory recovery" fees, data plan "repuirements", and data caps, none of which are intended to buy YOU anything. They are assessed primarily to provide profits to them and dividends to their investors, along with a source of capital expenditure for their network expansion whose sole purpose is to attract more customers to provide more revenue streams to meet their aforementioned fiduciary duty to serve their executives and investors ever greater profits and dividends. And in this country, that is ALL this wireless game is about. EVERYTHING else, be it customer service, value of service, loyalty or anything else, is secondary. 
    And you think other carriers are any different? Nope. They all are in this for the exact same game, however they choose to play it, plan for plan, fee for fee. Sure, details differ, some plans might look more appealing and for some, prudent shopping around might even net some nominal cost savings, but all in all, they pretty much charge the same fees and require the same data plans, because that's where the big bucks are, and one way or another you will pay them or you will do without (which might be a blessing in disguise).
    I personally don't like this any more than you do, and I would favor strong federal regulatory oversight much as they have in Europe Latin America and Asia, along with homogenized network infrastructure which stimulates competition by allowing easy interoperability of phones and devices irrespective of carrier, but I fear it will be a cold day in hell before we ever see the likes of that here. According Republican thinking, that's just not the "American Way."

  • Generic service 'Analysis Services (TEST1)' could not be brought online (with error '1060') during an attempt to open the service. Possible causes include: the service is either not installed or the specified service name is invalid.

    Hi,
    We have a cluster with 2 nodes. Everything works fine in Node1. When I try to failover TEST1 database to Node-2 it fails with this message.
    Generic service 'Analysis Services (TEST1)' could not be brought online (with error '1060') during an attempt to open the service.  Possible causes include: the service is either not installed or the specified service name is invalid.
    Any help is much appreciated.
    Thanks

    Hello,
    The error message is pretty straight forward, it's saying either the service isn't installed or it's not installed as the same service on that node. Did you install analysis services on the second node (from the error it seems like it isn't)?
    Sean Gallardy | Blog |
    Twitter

  • Integration of custom identity services with JDeveloper BPEL designer

    Hi,
    I'd like to know if a custom user repository plugin will cause the 'Identity Lookup Dialog' (Step 6 of Human Workflow Wizard to generate a user task) to utilize the list of users and groups from a third party provider, when used as the Custom Identity Service provider.
    I'd like to have the custom list of users and groups at 'design time' of the BPEL process itself, as well as process runtime. Is this possible?
    This is with respect to both BPEL PM v10.2.0.2 and v 10.1.3.1.0.
    Regards,
    Vineet

    ok, thank you for the reply.
    But the installation of the Oracle BPEL Process Manger for Developers which includes the JDeveloper and the BPEL Designer doesn't come with 10.1.3.1.0?
    I have to install the JDeveloper and the BPEL Process Manager seperate?
    Thx

  • Standard Web Service and Customized Web Services with or without PI?

    Hi All,
    I want to know how I can use Standard Web Service available in SAP  and customized Web Services
    without PI Interface?
    And what is the best practice to expose services ,via PI Interface or directly?
    Thanks in advance!!
    Pushkar

    This is purely based on your requirement. If you use PI middleware to expose web services, you get standard functionalities such as certificate authentication, logging, message reprocessing for the failed messages etc.  If your requirement is so simple, then you might not need PI. In this case you can develop simple webdynpro for abap program to create webservice and expose the webservice in ECC webservice runtime. You can let anyone to consume within your network. other ways like exposing BAPI/RFC as webservice.  I would recommend going with PI.

  • Web Service Request Failed

    Hello,
    Errors in the EE 4 with RedHat ES 3.
    Web Service Request Failed
    The following fault was returned from the web service call:
    Code HTTP
    String (404)/axis/services/rpc/webtopsession
    ------ log -----
    Starting service Tomcat-Standalone
    Apache Tomcat/4.1.29
    Apr 15, 2005 12:26:03 PM org.apache.jk.common.ChannelSocket init
    INFO: JK2: ajp13 listening on /0.0.0.0:8009
    Apr 15, 2005 12:26:03 PM org.apache.jk.server.JkMain start
    INFO: Jk running ID=0 time=0/86 config=null
    AxisFault
    faultCode: {http://xml.apache.org/axis/}HTTP
    faultSubcode:
    faultString: (404)/axis/services/rpc/webtopsession
    faultActor:
    faultNode:
    faultDetail:
    {}string: return code: 404
    <html><head><title>Apache Tomcat/4.1.29 - Error
    report</title><STYLE><!--H1{font-family :
    sans-serif,Arial,Tahoma;color : white;background-color : #0086b2;}
    H3{font-family : sans-serif,Arial,Tahoma;color : white;background-color :
    #0086b2;} BODY{font-family : sans-serif,Arial,Tahoma;color :
    black;background-color : white;} B{color : white;background-color :
    #0086b2;} HR{color : #0086b2;} --></STYLE>
    </head><body><h1>HTTP Status 404 -
    /axis/services/rpc/webtopsession</h1><HR size="1"
    noshade><p><b>type</b> Status
    report</p><p><b>message</b>
    <u>/axis/services/rpc/webtopsession</u></p><p><b>description</b>
    <u>The requested resource (/axis/services/rpc/webtopsession) is not
    available.</u></p><HR size="1"
    noshade><h3>Apache
    Tomcat/4.1.29</h3></body></html>
    (404)/axis/services/rpc/webtopsession
    at
    org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:630)
    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:128)
    at
    org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:180)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2564)
    at org.apache.axis.client.Call.invoke(Call.java:2553)
    at org.apache.axis.client.Call.invoke(Call.java:2248)
    at org.apache.axis.client.Call.invoke(Call.java:2171)
    at org.apache.axis.client.Call.invoke(Call.java:1691)
    at
    com.tarantella.tta.webservices.client.apis.apache.BaseRequest.callServiceWork(BaseRequest.java:316)
    at
    com.tarantella.tta.webservices.client.apis.apache.BaseRequest.callService(BaseRequest.java:213)
    at
    com.tarantella.tta.webservices.client.apis.apache.BaseRequest.callService(BaseRequest.java:205)
    at
    com.tarantella.tta.webservices.client.apis.apache.WebtopSessionRequest.startSession(WebtopSessionRequest.java:62)
    at
    com.tarantella.tta.webservices.client.views.SessionBean.startSession(SessionBean.java:545)
    at
    org.apache.jsp.sessionmanager_jsp.createNewSession(sessionmanager_jsp.java:276)
    at
    org.apache.jsp.sessionmanager_jsp.joinSessionByClientId(sessionmanager_jsp.java:236)
    at
    org.apache.jsp.sessionmanager_jsp._jspService(sessionmanager_jsp.java:619)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
    at
    org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:575)
    at
    org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:498)
    at
    org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:822)
    at org.apache.jsp.index_jsp._jspService(index_jsp.java:483)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:137)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:210)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
    at
    org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at
    org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at
    com.tarantella.tta.webservices.valves.InputFilter.invoke(InputFilter.java:74)
    at
    org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at
    org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2417)
    at
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at
    org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at
    org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171)
    at
    org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    at
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
    at
    org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at
    org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
    at
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
    at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:193)
    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:309)
    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:387)
    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:673)
    at
    org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:615)
    at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:786)
    at
    org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
    at java.lang.Thread.run(Thread.java:534)

    Hello,
    We have same problem on SGD4.2 on Solaris 10 with IE HTML Client.
    Do you solve it ?
    How ?
    Please help.
    Regards.

  • Stop Itinerary Processing after custom itinerary service

    I have a one-way itinerary that receive a message from file receive location, one of its step is to send a message to sql server. after that the itinerary receive the response from the SQL. I have a custom itinerary service that process the message. The
    custom itinerary service process the message successfully. I want here the itinerary to stop the processing.
    I have tried using ShouldAdvanceStep to false. but I got BizTalk error says "The Messaging engine failed to process a message submitted by adapter:WCF-Custom Source URL:mssql://server//database?. Details:The published message could not be routed
    because no subscribers were found. This error occurs if the subscribing orchestration or send port has not been enlisted, or if some of the message properties necessary for subscription evaluation have not been promoted. Please use the Biztalk Administration
    console to troubleshoot this failure. "
    I don't want the itinerary to route the message to any where else after the custom itinerary service.
    Any Suggestions 
    hassan ibrahim

    Are you using request response Orchestration extender ?
    You are getting ":The published message could not be routed because no subscribers were found." error because your response message is not finding any subscriber in Biz Talk messaging engine . I would suggest to make changes  in your Orchestration
    processing so that it wont publish message instead it will complete the process.
    I would also suggest to enable the BizTalk ESB Toolkit trace switch, add the following <switches> element to the system.diagnostics section of the Machine.config file.
    <system.diagnostics>
    <switches>
    <add name="BizTalkESBToolkit2.2" value="4"/>
    </switches>
    </system.diagnostics>
    Use a tool like DebugView to watch the trace output.
    Thanks
    Abhishek

  • Adding Custom Backend service form fields in SAP_PA

    Hi All,
    I have defined a rule in the form scenario using a form field in my custom backend service. I want this rule to be used in the operation of the SAP_PA backend service.
    In order to use the rule in SAP_PA, the field from the custom backend service(used in the rule definition) has to be assigned to SAP_PA as well. Unfortunately I am not able to assign it.
    I have seen SAP delivered from scenarios (S_HR_PA_US_CHG_PERM_ADDR) where they have assigned fields from custom backend service to SAP_PA, Can you please guide me how to acheive this ??
    Thanks,
    Bharath

    Try directly adding the field in the form scenario in the SAP_PA service.
    Thanks,
    Aravind

  • Adding Form fields from Custom backend service in SAP_PA

    Hi All,
    I have defined a rule in the form scenario using a form field in my custom backend service. I want this rule to be used in the operation of the SAP_PA backend service.
    In order to use the rule in SAP_PA, the field from the custom backend service(used in the rule definition) has to be assigned to SAP_PA as well. Unfortunately I am not able to assign it.
    I have seen SAP delivered from scenarios (S_HR_PA_US_CHG_PERM_ADDR) where they have assigned fields from custom backend service to SAP_PA, Can you please guide me how to acheive this ??
    Thanks,
    Bharath

    Try directly adding the field in the form scenario in the SAP_PA service.
    Thanks,
    Aravind

  • Custom web service in SharePoint 2010

    Hi,
    I have developed one custom web service and deployed in inside 14 hive Layout folder. I have to consume this custom web service in WCF REST services. This WCF REST service will be consumed in to HTML 5 and javascript application (Presentation Layer). Here
    is the code for Custom web service :
    [WebMethod]
    public string[] GetSponsorList()
    string url = "https://ptmdev.bpiper.com/";
    //string strUserName = "ravikant";
    string sponsorTitle = string.Empty;
    string[] arrTitle;
    string[] myArray;
    DataTable dtSponsor = new DataTable();
    string error = string.Empty;
    ArrayList myArrayList = new ArrayList();
    try
    dtSponsor.Columns.Add(new DataColumn("sValue", typeof(string)));
    dtSponsor.Columns.Add(new DataColumn("sText", typeof(string)));
    using (SPSite site = new SPSite(url))
    using (SPWeb web = site.OpenWeb())
    //SPUserToken userToken = web.AllUsers[strUserName].UserToken;
    SPWebApplication webApplication = SPContext.GetContext(web).Site.WebApplication;
    SPSiteCollection siteCollections = webApplication.Sites;
    int i = 0;
    if(web.CurrentUser!=null)
    myArrayList.Add("User:"+web.CurrentUser.LoginName);
    else
    myArrayList.Add("Null User..");
    foreach (SPSite siteCollection in siteCollections)
    if (siteCollection.RootWeb.DoesUserHavePermissions(SPBasePermissions.ViewPages))
    if (siteCollection.Url.ToString().ToLower().Contains("/sponsor/"))
    sponsorTitle = siteCollection.RootWeb.Title;
    if (string.IsNullOrEmpty(sponsorTitle))
    arrTitle = siteCollection.Url.Split('/');
    sponsorTitle = arrTitle[arrTitle.Length - 1];
    dtSponsor.Rows.Add(new object[] { siteCollection.Url, sponsorTitle });
    i = i + 1;
    siteCollection.Close();
    catch (Exception ex)
    error = ex.Message;
    myArrayList.Add(error);
    if (dtSponsor.Rows.Count == 0)
    myArrayList.Add("No Data available 101");
    myArrayList.Add("No Data available 102");
    myArrayList.Add("No Data available 103");
    for (int i = 0; i <= dtSponsor.Rows.Count - 1; i++)
    for (int j = 0; j <= dtSponsor.Columns.Count - 1; j++)
    myArrayList.Add(dtSponsor.Rows[i][j].ToString());
    myArray = (string[])myArrayList.ToArray(typeof(string));
    return myArray;
    Above code will return a string array of SiteCollection URLs and Title. Th issue is siteCollection.RootWeb.DoesUserHavePermissions(SPBasePermissions.ViewPages)
    logic is failed and due to this string array does not return desired result.
    web object is not containing users information due to that DoesUserHavePermissions logic is
    failing.
    Urgent help is needed.
    Thanks,
    Ravi

    Hi,
    According to your post, my understanding is that you have issue about siteCollection.RootWeb.DoesUserHavePermissions(SPBasePermissions.ViewPages) logic when you custom web service.
    You can use siteCollection.RootWeb.DoesUserHavePermissions( SPContext.Current.Web.CurrentUser, SPBasePermissions.ViewPages)
     to check whether it works.
    In addition, you can use a RunWithElevatedPrivileges delegate.
    For more information, you can refer to:
    “Attempted to perform an unauthorized operation” and SPWeb.DoesUseHavePermissions
    Thanks,
    Linda Li                
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

Maybe you are looking for