Dynamic endpoint resolution in OpenESB

Hi,
I was wondering whether OpenESB also supports dynamic resolution of target endpoints. My impression so far is that I need to explicitly specify all connections from service consumers to service providers in a service assembly's jbi.xml deployment descriptor using the CASA editor in NetBeans. However, one of the strengths of the NMR in my opinion is that it can dynamically resolve endpoints to send message exchanges to. However, this would mean that the SA's jbi.xml must not contain any <connection>s, doesn't it? Does OpenESB's NMR support this at all? I would really like to be able to deploy a service consumer to a service engine without needing to explicitly specify the name of the endpoint providing the consumed service but instead specify the service interface name only letting the NMR resolve this to a matching endpoint at runtime.
Regards,
Kai

Hi Kai,
The BPEL SE supports dynamic endpoints allowing you to programatically (in the flow) change the port name, service name and address info. I've modified my flows to call an internal AddressResolution flow that calls a EJB in the Java EE SE that looks up address info from a DB. It works great but took a while to get rights as the Namespaces have to be perfect when assigning the XML to the Partner Link.
See: http://wiki.open-esb.java.net/Wiki.jsp?page=DynamicPartnerLinks
Cheers,
Paul

Similar Messages

  • Dynamic EndPoint allocation in OpenESB?

    I have created an EJB Service Unit and added it as a JBI module in my Service Assembly. My Ejb SU will call external webservice as a part of its functionality.
    My Questions is , Is there any way in OpenESB where you can read the URL for the External WebService dynamically ?? I know this question has been posted earlier. and a wiki page is referenced in solution.
    I didnt understand it properly.
    Can someone Help me in this ??
    Thank you
    Rajesh

    openESB doesn't (as of date) provide a repository to query for the URLs that applications want to use. Dynamic service feature enables the applications to call services dynamically, given that the applications have enough information during runtime as to which service they want to call. In static service composition, all the things are known at design time. Dynamic service feature could be used for use cases where the service addresses are not known during the design time. This doesn't include provisioning some sort of repository for the URLs that the applications want use.
    Hope that helps,
    Kiran B.

  • Dynamic endpoints - NullPointerException

    Hi,
    I'm trying to work with dynamic endpoints. I'm doing it the same way as in the DynamicPartnerLink sample. First copy literal XML-skeleton of EndpointReference in a variable, copy address and name into that variable, then copy the variable to the partner link.
    When I run it, the variable is setup correctly, but the copy to the partner link causes a NullPointerException:
    06/04/19 09:45:40 java.lang.NullPointerException
    06/04/19 09:45:40 at com.collaxa.cube.engine.types.bpel.CXPartnerLink.copy(CXPartnerLink.java:254)
    06/04/19 09:45:40 at com.collaxa.cube.engine.ext.wmp.BPELAssignWMP.performCopyTo(BPELAssignWMP.java:757)
    06/04/19 09:45:40 at com.collaxa.cube.engine.ext.wmp.BPELAssignWMP.__executeStatements(BPELAssignWMP.java:183)
    06/04/19 09:45:40 at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:185)
    06/04/19 09:45:40 at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3398)
    06/04/19 09:45:40 at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1905)
    06/04/19 09:45:40 at com.collaxa.cube.engine.dispatchmessage.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
    06/04/19 09:45:40 at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:100)
    06/04/19 09:45:40 at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:185)
    06/04/19 09:45:40 at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5410)
    06/04/19 09:45:40 at com.collaxa.cube.engine.CubeEngine.callbackPerformer(CubeEngine.java:2127)
    06/04/19 09:45:40 at com.collaxa.cube.engine.delivery.DeliveryHelper.callbackPerformer(DeliveryHelper.java:558)
    06/04/19 09:45:40 at com.collaxa.cube.engine.delivery.DeliveryService.handleCallback(DeliveryService.java:753)
    06/04/19 09:45:40 at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleCallback(CubeDeliveryBean.java:339)
    06/04/19 09:45:40 at ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.handleCallback(ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.java:1982)
    06/04/19 09:45:40 at com.collaxa.cube.engine.dispatch.message.instance.CallbackDeliveryMessageHandler.handle(CallbackDeliveryMessageHandler.java:49)
    06/04/19 09:45:40 at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:76)
    06/04/19 09:45:40 at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
    06/04/19 09:45:40 at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
    06/04/19 09:45:40 at com.evermind.server.ejb.MessageDrivenBeanInvocation.run(MessageDrivenBeanInvocation.java:123)
    06/04/19 09:45:40 at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome.java:748)
    06/04/19 09:45:40 at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:921)
    06/04/19 09:45:40 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
    06/04/19 09:45:40 at java.lang.Thread.run(Thread.java:534)
    <2006-04-19 09:45:40,875> <ERROR> <Coplintho.collaxa.cube.xml> java.lang.NullPointerException
    I don't know where this is coming from, I've done exactly like the DynamicPartnerLink sample.
    Anyone have an idea?
    Best regards,
    Koen

    Hello,
    When I replace the .NET 2.0 Web service dynamically called from my BPEL flow with a BEA WebLogic 8.1.5 Web service, and try to change the endpoint dynamically, I get a similar but different exception:
    (note: WSDL, partnerlink, variables all replaced for calling WebLogic Web service, only endpoint is dynamic)
    <bindingFault>
    <part name="code">
    <code>GenericError</code>
    </part>
    <part name="summary">
    <summary>Cannot find binding operation.
    in WSDL located at "file:/C:/OraBPEL/integration/orabpel/domains/default/tmp/.bpel_eAlarm_1.3.jar/MailStorageRef1.wsdl", cannot find a binding operation of "getEmailAddresses", portType "{http://coplintho.ibbt.be/broker/repository}MailStorageSoap"
    Please make sure the WSDL is valid.
    </summary>
    </part>
    </bindingFault>
    <2006-05-24 10:29:34,296> <DEBUG> <default.collaxa.cube.ws> <WSInvocationManager::invoke> operation: getEmailAddresses, partnerLink: <partnerLink name="MailStorage" partnerLinkType="{http://coplintho.ibbt.be/broker/repository}MailStorageSoap_PL">
    <myRole name="null">
    <ServiceName>null</ServiceName>
    <PortType>null</PortType>
    <Address>null</Address>
    </myRole>
    <partnerRole name="MailStorageSoap_Role">
    <ServiceName>{http://coplintho.ibbt.be/broker/repository}MailStorage
    </ServiceName>
    <PortType>{http://coplintho.ibbt.be/broker/repository}MailStorageSoap</PortType>
    <Address>http://erato59/broker/Repository/MailStorage.asmx
    </Address>
    </partnerRole>
    <conversationId>bpel://localhost/default/eAlarm~1.3/1207-BpInv1-BpSeq0.3-8</conversationId>
    <properties>{}</properties>
    </partnerLink>
    <2006-05-24 10:29:34,312> <DEBUG> <default.collaxa.cube.ws> <WSDLManager::getWSDL> registered wsdl at C:\OraBPEL\integration\orabpel\domains\default\tmp\.bpel_eAlarm_1.3.jar\MailStorageRef1.wsdl
    <2006-05-24 10:29:34,312> <DEBUG> <default.collaxa.cube.ws> <WSDLManager::getWSDL> got wsdl at: C:\OraBPEL\integration\orabpel\domains\default\tmp\.bpel_eAlarm_1.3.jar\MailStorageRef1.wsdl
    <2006-05-24 10:29:34,312> <DEBUG> <default.collaxa.cube.ws> <WSInvocationManager::invoke> def is file:/C:/OraBPEL/integration/orabpel/domains/default/tmp/.bpel_eAlarm_1.3.jar/MailStorageRef1.wsdl
    <2006-05-24 10:29:34,312> <DEBUG> <default.collaxa.cube.ws> <WSIFInvocationHandler::invoke> opName=getEmailAddresses, parnterLink=<partnerLink name="MailStorage" partnerLinkType="{http://coplintho.ibbt.be/broker/repository}MailStorageSoap_PL">
    <myRole name="null">
    <ServiceName>null</ServiceName>
    <PortType>null</PortType>
    <Address>null</Address>
    </myRole>
    <partnerRole name="MailStorageSoap_Role">
    <ServiceName>{http://coplintho.ibbt.be/broker/repository}MailStorage
    </ServiceName>
    <PortType>{http://coplintho.ibbt.be/broker/repository}MailStorageSoap</PortType>
    <Address>http://erato59/broker/Repository/MailStorage.asmx
    </Address>
    </partnerRole>
    <conversationId>bpel://localhost/default/eAlarm~1.3/1207-BpInv1-BpSeq0.3-8</conversationId>
    <properties>{}</properties>
    </partnerLink>
    <2006-05-24 10:29:34,312> <ERROR> <default.collaxa.cube.ws> <WSIFInvocationHandler::invokeAsync> ServerException thrown
    ORABPEL-08022
    Cannot find binding operation.
    in WSDL located at "file:/C:/OraBPEL/integration/orabpel/domains/default/tmp/.bpel_eAlarm_1.3.jar/MailStorageRef1.wsdl", cannot find a binding operation of "getEmailAddresses", portType "{http://coplintho.ibbt.be/broker/repository}MailStorageSoap"
    Please make sure the WSDL is valid.
    at com.collaxa.cube.ws.soap.WSHeaderMgr.setRequestHeaders(WSHeaderMgr.java:74)
    at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:253)
    at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:327)
    at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:143)
    at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:601)
    at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:317)
    at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:188)
    at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3408)
    at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1836)
    at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:166)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:252)
    at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5438)
    at com.collaxa.cube.engine.CubeEngine.callbackPerformer(CubeEngine.java:2058)
    at com.collaxa.cube.engine.delivery.DeliveryHelper.callbackPerformer(DeliveryHelper.java:686)
    at com.collaxa.cube.engine.delivery.DeliveryService.handleCallback(DeliveryService.java:755)
    at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleCallback(CubeDeliveryBean.java:371)
    at ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.handleCallback(ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.java:1982)
    at com.collaxa.cube.engine.dispatch.message.instance.CallbackDeliveryMessageHandler.handle(CallbackDeliveryMessageHandler.java:49)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:125)
    at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
    at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
    at com.evermind.server.ejb.MessageDrivenBeanInvocation.run(MessageDrivenBeanInvocation.java:123)
    at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome.java:755)
    at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:928)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)
    <2006-05-24 10:29:34,328> <DEBUG> <default.collaxa.cube.ws> <WSInvocationManager::invoke> invoke failed
    ORABPEL-08022
    Cannot find binding operation.
    in WSDL located at "file:/C:/OraBPEL/integration/orabpel/domains/default/tmp/.bpel_eAlarm_1.3.jar/MailStorageRef1.wsdl", cannot find a binding operation of "getEmailAddresses", portType "{http://coplintho.ibbt.be/broker/repository}MailStorageSoap"
    Please make sure the WSDL is valid.
    at com.collaxa.cube.ws.soap.WSHeaderMgr.setRequestHeaders(WSHeaderMgr.java:74)
    at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:253)
    at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:327)
    at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:143)
    at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:601)
    at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:317)
    at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:188)
    at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3408)
    at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1836)
    at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:166)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:252)
    at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5438)
    at com.collaxa.cube.engine.CubeEngine.callbackPerformer(CubeEngine.java:2058)
    at com.collaxa.cube.engine.delivery.DeliveryHelper.callbackPerformer(DeliveryHelper.java:686)
    at com.collaxa.cube.engine.delivery.DeliveryService.handleCallback(DeliveryService.java:755)
    at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleCallback(CubeDeliveryBean.java:371)
    at ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.handleCallback(ICubeDeliveryLocalBean_StatelessSessionBeanWrapper16.java:1982)
    at com.collaxa.cube.engine.dispatch.message.instance.CallbackDeliveryMessageHandler.handle(CallbackDeliveryMessageHandler.java:49)
    at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:125)
    at com.collaxa.cube.engine.dispatch.BaseScheduledWorker.process(BaseScheduledWorker.java:70)
    at com.collaxa.cube.engine.ejb.impl.WorkerBean.onMessage(WorkerBean.java:86)
    at com.evermind.server.ejb.MessageDrivenBeanInvocation.run(MessageDrivenBeanInvocation.java:123)
    at com.evermind.server.ejb.MessageDrivenHome.onMessage(MessageDrivenHome.java:755)
    at com.evermind.server.ejb.MessageDrivenHome.run(MessageDrivenHome.java:928)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
    at java.lang.Thread.run(Thread.java:534)
    --------------------

  • Dynamic system resolution for portal published BI content

    I have a Dev-Tst-Prd ABAP stack BI landscape with a corresponding Dev-Tst-Prd Java stack portal landscape.
    My BI developers create reports and webdynpro applications which are then published to our portal and made available via iViews.  These iViews refer to the target applications via URLs which contain hardcoded hostnames and port numbers.  This makes it a pain when portal content is transported from Dev to Tst and then to Prd.
    All my BI systems are known by the SAP_BW alias.  I have a different system definition in each portal for the SAP_BW alias pointing to the corresponding BI backend.
    Can I use dynamic system resolution for this?  If so, how?
    I want a URL like http://<devhost.domain>:<devport>/sap/bc/webdynpro/sap/appname to be transportable.  Obviously if that starts out as http://dev.mycompany.com:8100/sap/bc/webdynpro/sap/appname, it won't work when it arrives in tst where it needs to be http://tst.mycompany.com:8110/sap/bc/webdynpro/sap/appname.  If I could store the URL as something like http://<%JSP SAP_BW %>/sap/bc/webdynpro/sap/appname this could be transportable if there was something in dynamic system resolution to resolve the variable appropriately at runtime in each system.
    As a Netweaver administrator, rather than a portal developer, I'm a little lost as to where to even start.

    Success!  Thank you for your help.
    What finally worked?
    Create a Portal Component iView of type com.sap.portal.appintegrator.sap
    Set URL Template to http://<System.wap.ITS.hostname>/sap/bc/webdynpro/sap/zcs_wd_cc_app
    Set System to SAP_BW (where SAP_BW is an alias for the System entry for the system where we want the WebDynpro app to run)
    Where did the help come from?
    SDN (Mr Nicholls in particular)
    SAP Help (http://help.sap.com/saphelp_nw70/helpdata/en/21/dfd241cb76c417e10000000a155106/frameset.htm in particular)
    Where did the parameter value reference come from?
    The "wap.ITS.hostname" attribute name came from the portal's system definition for SAP_BW.  Under System Administration -> System Configuration -> System Landscape -> Portal Content the entry for the SAP_BW system can be displayed.  In that system entry there is a field labelled SAP ITS host which contains the fully qualified hostname and port number for the ITS server delivering my application.  Expanding the detail of this field (click the arrow head beside the name) shows its Property ID to be wap.ITS.hostname.
    So this last answers my earlier question about where to find the valid contexts and attributes per context for the variables to substitute in the URL template.  The contexts are the names of the fields available to configure the iView, the attributes are the Property IDs of the relevant information fields in the obect described by the context.
    Note:  This solution ended up only being required for WebDynpro content.  The generated URL for WebDynpros appears to resolve any load-balance ITS URL to a specific host and port before publishing, the method here leaves the resolution until runtime - a great advantage in performance and flexibility.
    The Web Application Designer published report content was generated in a transportable form already.

  • Dynamic System Resolution issues

    hello forumers,
    i'd like to implement a Dynamic System Resolution scenario, on an EP7 sp14.
    based on the examples i've found on the sap web site, i ve created some content (R/3 transaction Iviews using an alias "SAP_SRM")
    I tried to change the target R/3 server, based on the group to which the user belong !
    i've created a portal service : portalapp.xml =
    <?xml version="1.0" encoding="utf-8"?>
    <application>
      <application-config>
        <property name="releasable" value="false"/>
        <property name="startup" value="true"/>
        <property name="ServicesReference" value="com.sap.portal.usermanagement,com.sap.portal.ivs.api_dynamicSystemService"/>
      </application-config>
      <components/>
        <registry>
        <entry path="/runtime/alias.mappers/SAP_SRM" name="DSRPortalService" type="service"/>
      </registry>
      <services>
        <service name="DSRPortalService">
          <service-config>
            <property name="className" value="com.airbus.DSR.DSRPortalService"/>
            <property name="startup" value="true"/>
          </service-config>
        </service>
      </services>
    </application>
    and a service called DSRPortalService:
    public String getAlternativeSystem(IUser user, String alias) {
              String pcdLocation = "pcd:portal_content/SRMSystems/";
              String system = "xgi";
              String userName = user.getUniqueName();
              IGroupFactory fact = UMFactory.getGroupFactory();
              try {
                   if (user
                        .isMemberOfGroup(
                             fact.getGroupByUniqueName("Group1").getUniqueID(),
                             true)) {
                        //the user is french
                        system = "xgi";
                   } else if (
                        user.isMemberOfGroup(
                             fact.getGroupByUniqueName("Group2").getUniqueID(),
                             true)) {
                        //the user is German
                        system = "xda";
              } catch (UMException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              return pcdLocation + system;
    when i try to acces to the R/3 trasancation i get the following exception:
    Exception ID:01:18_15/01/09_0001_1852850
    [EXCEPTION]
    com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
    Component : pcd:portal_content/Olivier/ROLES/DSR/DSRRole/SRM
    Component class : com.sapportals.portal.sapapplication.SAPApplicationIntegratorComponent
    User : to29267
         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:524)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
         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:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Caused by: com.sapportals.portal.prt.runtime.PortalRuntimeException: Exception in SAP Application Integrator occured: Unable to parse template &#39;&lt;System.ConnectionString&gt;&#39;; the problem occured at position 0. Cannot process expression &lt;System.ConnectionString&gt; because Invalid System Attribute:
    System:    &amp;#39;SAP_LocalSystem&amp;#39;,
    Attribute: &amp;#39;ConnectionString&amp;#39;.
         at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContentPass(AbstractIntegratorComponent.java:123)
         at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doContent(AbstractIntegratorComponent.java:98)
         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)
         ... 29 more
    have you got any ideas ?
    best regards,
    Olivier.

    hello,
    thanks for your quick reply !
    i alredy used your blog to create my DSR scenario ...
    as you could see, i didn't even change the alias and i used the name you have prrovided in your blog !
    please find just behind a copy of "portal runtime" in the System Administration:
    Portal Application Name Depends on Dependents Access State
    NewPortalAppProject   com.sap.portal.ivs.api_dynamicSystemService
    com.sap.portal.usermanagement   service: NewPortalAppProject|DSRPortalService     (refresh)
    Portal Service Items :
    Class Name Class Name Factory Pool Size Nb Accessed Last Accessed Time Last Stopped Time State
    com.airbus.DSR.DSRPortalService none 0 1 Thu Jan 15 11:05:25 CET 2009 never started (restart)
    and also the content of runtime in the portal Registry browser:
    You are here: ROOT/runtime/alias.mappers
    Child list of the current context:
    Name Class name
    SAP_SRM java.lang.String - NewPortalAppProject|DSRPortalService 
    do you have any idea of what i might have forgotten please ?
    best regards,
    Olivier.

  • Dynamic Screen Resolution

    Hello Everyone!!! I am having tough times solving query on Dynamic Screen Resolution in J2ME. How can you create an application in J2ME that automatically adjusts to the screen resolution to the phone it is being installed. That means if the resolution is small the layout automatically adjusts to the screen resolution and if its bigger then accordingly... Please help....

    If you can use a UI framework/toolkit I suggest LWUIT. If not, code using proportions. Avoid absolute values of x, y, width and height. I made a sample at http://smallandadaptive.blogspot.com/2010/12/bar-chart.html

  • Dynamic Endpoint Error on asynchronous callback - Error ORABPEL-08022

    I'm trying to call an asyn. bpel process using dynamic endpoint. The main bpel process will invoke the asyn. bpel process and wait for callback. The main process is successful at calling the asyn. bpel process. However, the asyn. bpel process is erroring out on the callback. I'm not sure what I'm doing wrong.

    Try using the http://xmlns.oracle.com/AddressBookMaintain declaration outside the actual payload.
    Regards
    Anirudh Pucha

  • Regarding Support of Dynamic system  resolution for iview "Skills profile"

    Hi All,
      I wanted to know whether of dynamic system resolution "VIR" is supported for persinfo  webdnpro Java iview ??
    Also I would like to know the procedure that is to be followed so that a iview uses the dynamic system configuration.What are the actual steps ?
    If there are any documents related to this please let me know it would really help.
    Thanks in advance!
    Regards,
    Sowmya

    you guys can refer to this weblog:
    <a href="https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1432">https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1432</a>
    Ashish Shah

  • Dynamic System Resolution

    Hi
    i want to use the IDynamicSystemService Interface to dynamically resolve the System Based on the
    User Group.
    1.Has anyone done this ?
    2. this interface is part of which jar file ?
    3. I have to create a Portal Application Project and add a Portal Service to it. is it correct ?
    Any answers ?
    Regards
    Rajendra

    Solved.
    For Ref to otheres.
    1 .this is part of com.sap.portal.ivs.api_dynamicSystemService_api.jar file.
    2 .need to create a Portal Service.
    3. Refer this URL for Details of How to do it : [Dynamic System Resolution|http://help.sap.com/saphelp_nw70/helpdata/en/21/dfd241cb76c417e10000000a155106/content.htm]
    Best Regards
    Rajendra
    Edited by: Rajendrakumar Gaikwad on Sep 18, 2008 9:12 AM

  • Dynamic system resolution "VIR"

    Hi All,
    I wanted to know whether of dynamic system resolution "VIR" is supported for persinfo webdnpro Java iview ??
    Also I would like to know the procedure that is to be followed so that a iview uses the dynamic system configuration.What are the actual steps ?
    If there are any documents related to this please let me know it would really help.
    Thanks in advance!
    Regards, Sowmya

    you guys can refer to this weblog:
    <a href="https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1432">https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1432</a>
    Ashish Shah

  • Dynamic System Resolution and Custom Login Modules

    I'm trying to achieve the following, and wondered whether anyone could validate that is possible, and possible solutions.
    We want to use Dynamic System Resolution to programatically determine which system alias (and therefore which R3 client) should be returned based on the user. So far so good.
    When the user logs in, we want them to be able to specify which R3 client they wish to use whilst logged in to EP. We are considering writing a custom login module to do this, which will strip the client the user wishes to use out of the j_user username, and stores the client value *somewhere* so that the Dynamic System Resolution code can access it and base the system alias it returns on the user's prefered client.
    Considering the DSR code only has access to the IUser object it would be handy if our login module could store the prefered client as an attribute in the IUser object. Is it possible to set custom attributes in custom login modules for a given user?
    We want to do this to avoid having to have an EP instance per client in a given R3 system, and to avoid duplicating worksets by creating delta linked copies and overriding the client number.
    Any suggestions?
    Cheers,
    Steve

    Hello,
    Before even doing such an elaborated construction, I do not succeed in writing a working Dynamic System Resolution.
    The service doing the resolution is never called when the method getSystemID() is invoked.
    I know that the registry is read (I first test with a system alias which was in the PCD and get an error when debugging, I forget that you cannot use the same system alias in the PCD and in the Dynamic System Resolution service) but afterward the resolving service is not called.
    Has anyone an idea ?
    Thanks a lot
    Best regards
    Richard

  • Package : com.sap.portal.dynamicsystem - Dynamic System Resolution

    hi all
      We are using EP 6.0 SP 13.
      And i am implementing Dynamic System Resolution....
    But i am unable to implement the Interface<b>IDynamicSystemService</b>.
      Could anybody help me ????
    Thanks
    Kay

    Yes the people in this forum
    /community
    where you also posted the question.
    You shouldn´t post your questions in all forums in the hope to get a quicker answer.
    Helmut

  • Setting dynamic endpoints in ESB

    Hi
    I have a async BPEL process(P1). It is invoking a sync ESB services(say E1). Then the BPEL process waits in a 'Receive' activity.
    The E1 ESB service contains a DB adapter tht calls a stored procedure, which performs some complex logic. After the time consuming processing is done, it writes data to a Queue. Now there is another ESB service(E2) tht reads from this queue.
    After reading from the queue, the ESB service transforms the data and uses a SOAP external service to call the BPEL prcs(P1) tht is waiting in a receive activity ( as described above) .. ...
    And then the BPEL replies to client..
    The above process can be summarised as :
    BPEL_______________________________________________ESB
    P1
    (Invoke) -----------------------------------request-------------------------> E1 (sync) ----->Uses DB adapter to call stored proc
    | <----------------------------------response----------------------
    |
    (Receive)<---------------------Invokes BPEL prcs----------------------- E2 <---------------- Queue
    |
    In E2 service , the BPEL WSDL location is mentioned(hard coded) in the SOAP service and the E2 services always invokes the process P1
    I was wondering if the following is possible :
    The queue data contains the WSDL URL(end-point dtls) along with other process related details. Is it possible tht the ESB service reads this endpoint info and then the endpoint in the SOAP external service is assigned so that the E2 service is able to dynamically invoke the BPEL process....
    In the design described above, the E2 service is always invoking the same BPEL service..... Please suggest if it is possible to dynamically set endpoints in ESB based on the data in the queue....or any other way ESB can invoke a prcs based on the queue data....
    Thanks
    Ffider

    Hi Sowmya,
    Yes, it is very much possible in OSB 11g using customization (you may use it manually or programmitically). Please refer -
    http://download.oracle.com/docs/cd/E14571_01/doc.1111/e15867/customization.htm#CACJCAGD
    http://download.oracle.com/docs/cd/E14571_01/doc.1111/e15022/toc.htm
    Regards,
    Anuj

  • Dynamic endpoints

    all,
    i was required to manually edit a service's wsdl in order to declare faulting.
    by manually editing the wsdl it is no longer directly related to the service,
    requiring me to use the @jws:wsdl annotation. the problem that i'm having is
    that the endpoint location is now static in the wsdl. does anyone know of a means
    by which i can make the <service> section dynamic in the wsdl? i need a way to
    make the location of the service transparent to consumers who are internal to
    our enterprise, ie as we move applications through various envs dev, test, acpt,
    prod, etc.. any pointers/recommendations would be greatly appreciated.
    thanks,
    sean

    all,
    i was required to manually edit a service's wsdl in order to declare faulting.
    by manually editing the wsdl it is no longer directly related to the service,
    requiring me to use the @jws:wsdl annotation. the problem that i'm having is
    that the endpoint location is now static in the wsdl. does anyone know of a means
    by which i can make the <service> section dynamic in the wsdl? i need a way to
    make the location of the service transparent to consumers who are internal to
    our enterprise, ie as we move applications through various envs dev, test, acpt,
    prod, etc.. any pointers/recommendations would be greatly appreciated.
    thanks,
    sean

  • Dynamic Endpoint URI  ?

    Hi,
    Anyone know of any way to dynamically set the endpoint URI property of an ALSB business service from the payload ?
    Hanx!

    Hi Paul,
    Well that looks like the explanation of the context variables of ALSB. Now I tried to override the transport/uri element of the $outbound variable in the process of dynamic routing. Unfortunately it doesn't seem to work. I want to know (first of all), is it possible to make the endpoint URI(http://mydevenv/service for example) completely dynamic, so that I wouldn't be needing any business services? Or I'd only provide the names of the business services like "BusinessService1" dynamically picked up at runtime? Well the second approach still demands that I'd have to create many number of business services or will have to change the URI each and everytime in the ALSB artifact. Kindly advice! I've been trying a way around to do this for a while and running out of help!!! Many thanks!

Maybe you are looking for

  • Data Model - SQL Query

    Hi everyone, Hopefully someone can point me in the right direction. I have the following SQL in the Data Model type SQL Query. select * from ap_invoices This select statement is not return any rows from the view but does so from sqlplus. I am using B

  • Udev/dmraid not picking up all partitions of a fake RAID setup!

    Hey all. I've been having a problem with my RAID setup in Arch.  At first Arch wasn't picking up a partition on one of my arrays, (a single large NTFS partition on a 2TB array between two 1TB drives) but after re-creating the RAID array in the Intel

  • Website Design in java

    I have to design a website in java could you please tell me for website design which latest new technology i can use so that i can learn more about java .(e.g jsf/dojo/jmaki,ajax) I would be thankful to you if you provide some short details about the

  • Putting a swf within a swf

    A friend of mine told me that I can take and create a swf file and then pull it onto another swf file (ex: creating a swf for the buttons and then the pages) he said that I needed to use action script and to create a container for the other swf to lo

  • Exporting MP3's for use in car Navigation Systems

    I am trying to load, SD memory cards (2g) for my Audi's navigation system, I have followed some disucssions on here-about using iTunesMyWalkman, to convert files. I have loaded a SD card, and played it in my car, well my question, is there anyway to