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

Similar Messages

  • Setting an endpoint dynamically for a business service

    I need to set an endpoint for a business service dynamically in the message flow of a proxy service. I'm basically doing what it says in this article(page 9 under heading - Registry per Individual Domain):
    http://e-docs.bea.com/alsb/docs26/pdf/deploybestprac.pdf
    I've gone to the link to the User guide that it gives in there for "Using Dynamic Routing". And I've pieced together most of what I need to do. I have a dummy business service with a dummy URL. I'm making a service callout and getting and endpoint back and saving that endpoint address to a variable. (that's all in a stage in a pipeline node.) Then I dynamically route it to dummy business service. The part I don't know how/where to do is reassign the dummy business service's endpoint to the endpoint I got back from my service callout.
    Can anyone help me with this?
    Thanks,
    Brittany

    Try with a 'Dynamic publish to service' action with:
    <ctx:route isProxy="false">
    <ctx:service>{ $yourBusinessService }</ctx:service>
    </ctx:route>
    where $yourBusinessService is the variable hosting the uri of your business service.
    Regards
    ferp

  • 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

  • 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!

  • How to Change Value set Dynamically for a Parameter in Apps?

    Hi All,
    I have a requirement where i need to change the value set dynamically for a given Parameter. This goes as, I have a Concurrent Program with 4 parameters. First Parameter is mandatory Business group.Second Parameter is Warehouse. Based up on the First parameter the second parameters LoV's are displayed, the third and fourth parameters value sets are dependent up on the Second parameter value. Parameter 2,3,4 Value sets are Table type. So i Used .$FLEX$.Value_setname to retrive the LOV's
    The Requirment now is that if the User doesn't enter the Parameter 2 than the Third Parameter field must be Open and he must be able to enter the Free text. In my case it is an Order Number. If the User enters the paramter 2 value than LOV's for ORder number pertaining to that Warehouse must get displayed. I've figured that this can be possible only if i change the Valuesets Dyanamically. I'm not sure if that is possible or not.
    I have tried :
    Using a Dummy Parameter with a new valueset(Transactable Independent) and giving Y and N based up on Warehouse parameter input.
    SELECT (DECODE ( :$FLEX$.WAREHOUSE_NAMES,NULL,'Y','N')) from dual;
    The default type was SQL.
    Then in the 3rd Parameter i have used Case function to differentiate Y or N. The third parameter being ORder number, is a table type and derived from Oe_order_headers_all.
    In the Query section i tried using dummy parameter value set to retreive the values. I was terribly Unsuccessful in doing so.
    Does the above Case exists or is Doable? Please, Help me out if somone had worked on Similar thing or have any idea of standard report/program using it in Oracle.
    Thanks alot for the Help!

    You will probably have better luck on the eBusinesSuite forum. This is more of a setup issue when defining your LOV and program parameters than it is a SQL or PL/SQL issue.
    http://forums.oracle.com/forums/category.jspa?categoryID=3
    Good luck - this is an aggravating issue to work with and I wish I did have the answer for you!

  • How to set dynamic parameter in list of values in parameter property

    Hi,
    I am using cr4e-all-in-one-win_2.0.1version.I have created .rpt file in that how to set dynamic parameters(from database) in list of values parameter property
    Regards,
    amol

    Hi,
    I am using cr4e-all-in-one-win_2.0.1version.I have created .rpt file in that how to set dynamic parameters(from database) in list of values parameter property
    Regards,
    amol

  • How to set dynamic table name in sql query?

    I want set dynamic table name by parameter in sql query,just like:
    select * from :tbname
    but run report is error,BI P report table name is invalidation.
    What can i do? Thanks!

    Hi,
    that's only possible inside a data template with a lexical parameter.
    Regards
    Rainer

  • Problem in dynamic routing through ESB

    Hi All,
    I am trying dynamic routing through ESB, So I created routing service in my esb with WSDL of BPEL Process1 and a soap service with same wsdl. Then created a xsl transformation. In this xsl transformation I added below code to route to BPEL process 2.
    <xsl:variable name="LocationIn"
    select="http://PC-HP249:8888/orabpel/default/SyncBPELProcess2/1.0/SyncBPELProcess2"/>
    <xsl:variable name="LocationOut"
    select="ehdr:setOutboundHeader('/shdr:ESBHeader/shdr:location',
    $LocationIn, 'shdr=http://xmlns.oracle.com/esb;')"/>
    But when I am invoking this ESB through another BPEL process, Got below error message:, Is there any solution for that , I am using 10.1..3.4.0, (JDEV, and BPEL).
    receiveInput
    [2010/02/25 17:50:39] Received "inputVariable" call from partner "client" More...
    View xml document
    Invoke_1 (faulted)
    [2010/02/25 17:50:39] Faulted while invoking operation "initiate" on provider "PartnerLink_1".less
    -<messages>
    -<input>
    -<Invoke_1_initiate_InputVariable>
    -<part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload">
    <SyncBPELProcess1ProcessRequest xmlns="http://xmlns.oracle.com/SyncBPELProcess1"/>
    </part>
    </Invoke_1_initiate_InputVariable>
    </input>
    <fault>
    ORABPEL-08034
    JTA Rollback requested.
    The current JTA transaction has been aborted due to rollback request received from partner invocation.
    </fault>
    </messages>
    </sequence>
    [2010/02/25 17:50:39] There is a system exception while performing the BPEL instance, the reason is "Namespace prefix 'http' used but not declared.". Please check the error log file for more infromation. Please try to use bpel fault handlers to catch the faults in your bpel process. If this is a system exception, please report this to your system administrator. Administrator could perform manual recovery of the instance from last non-idempotent activity or dehydration point. More...
    oracle.xml.xpath.XPathException: Namespace prefix 'http' used but not declared.
         at oracle.xml.xslt.XSLBuilder.startElement(XSLBuilder.java:468)
         at oracle.xml.parser.v2.XMLElement.reportStartElement(XMLElement.java:3703)
         at oracle.xml.parser.v2.XMLElement.reportSAXEvents(XMLElement.java:3564)
         at oracle.xml.parser.v2.XMLElement.reportChildSAXEvents(XMLElement.java:3576)
         at oracle.xml.parser.v2.XMLElement.reportSAXEvents(XMLElement.java:3566)
         at oracle.xml.parser.v2.XMLElement.reportChildSAXEvents(XMLElement.java:3576)
         at oracle.xml.parser.v2.XMLElement.reportSAXEvents(XMLElement.java:3566)
         at oracle.xml.parser.v2.XMLElement.reportChildSAXEvents(XMLElement.java:3576)
         at oracle.xml.parser.v2.XMLDocument.reportSAXEvents(XMLDocument.java:1537)
         at oracle.xml.jaxp.JXSAXTransformerFactory.newTemplates(JXSAXTransformerFactory.java:379)
         at oracle.tip.esb.server.service.EsbTransformer.getXSLTTransformer(EsbTransformer.java:147)
         at oracle.tip.esb.server.common.cache.TransformCachePolicy.loadEntry(TransformCachePolicy.java:50)
         at oracle.tip.esb.server.common.cache.Cache.setEntry(Cache.java:306)
         at oracle.tip.esb.server.common.cache.Cache.setEntry(Cache.java:270)
         at oracle.tip.esb.server.common.cache.Cache.getEntry(Cache.java:208)
         at oracle.tip.esb.server.common.cache.Cache.getEntry(Cache.java:181)
         at oracle.tip.esb.server.common.cache.RuntimeCache.getXSLTransformer(RuntimeCache.java:324)
         at oracle.tip.esb.server.service.EsbTransformer.doTransform(EsbTransformer.java:101)
         at oracle.tip.esb.server.service.EsbTransformer.transform(EsbTransformer.java:90)
         at oracle.tip.esb.server.service.EsbTransformer.transform(EsbTransformer.java:83)
         at oracle.tip.esb.server.service.EsbRouterSubscription.transform(EsbRouterSubscription.java:388)
         at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(EsbRouterSubscription.java:208)
         at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(EventDispatcher.java:138)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(InitialEventDispatcher.java:545)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(InitialEventDispatcher.java:527)
         at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(EventDispatcher.java:94)
         at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(InitialEventDispatcher.java:160)
         at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1988)
         at oracle.tip.esb.server.dispatch.BusinessEvent.raise(BusinessEvent.java:1467)
         at oracle.tip.esb.wsif.WSIFOperation_ESB.executeRequestResponseOperation(WSIFOperation_ESB.java:288)
         at oracle.tip.esb.wsif.WSIFOperation_ESB.executeInputOnlyOperation(WSIFOperation_ESB.java:357)
         at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:472)
         at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:437)
         at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:251)
         at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:826)
         at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:402)
         at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:199)
         at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3698)
         at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1655)
         at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:217)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:314)
         at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5765)
         at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1087)
         at com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:546)
         at com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:342)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
         at com.evermind.server.ThreadState.runAs(ThreadState.java:693)
         at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at CubeDeliveryBean_LocalProxy_4bin6i8.handleInvoke(Unknown Source)
         at com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:37)
         at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:140)
         at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:58)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    [2010/02/25 17:50:39] BPEL process instance "260032" cancelled
    Regards

    In below I changed http://PC-HP249:8888/orabpel/default/SyncBPELProcess2/1.0/SyncBPELProcess2 to http://PC-HP249:8888/orabpel/default/SyncBPELProcess2/1.0 . this is working.
    <xsl:variable name="LocationIn"
    select="http://PC-HP249:8888/orabpel/default/SyncBPELProcess2/1.0/SyncBPELProcess2"/>

  • Problem in setting dynamic expiration duration from Human Task

    Hi,
    I have a BPEL process, in which the Human task expiration has to be set dynamically..
    In the , I have set the expiration duration with this :-
    <copy>
    <from expression="xp20:format-dateTime(xp20:current-dateTime(),'PT1M')"/>
    <to variable="initiateTaskInput" part="payload"
    query="/taskservice:initiateTask/task:task/task:systemAttributes/task:expirationDuration"/>
    </copy>
    Do not get confused with 'PT1M' .. I want the duration to be 1 minute... Had I used 'PT1M' as a String and assign to the expirationDuration var, it would have caused an error... It needs to be fromatted as a Date..That's y i took this approach ... I am sure this is working fine as I have checked the payload of the task..
    It has a proper duration..
    <initiateTaskInput><part xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" name="payload"><initiateTask xmlns="http://xmlns.oracle.com/bpel/workflow/taskService">
    <task xmlns="http://xmlns.oracle.com/bpel/workflow/task">
    <systemAttributes>
    <expirationDuration>PT1M</expirationDuration>
    Now in the Human task definition(.task file), I have set the expiration duration with "By Expression" option in this way..
    <globalConfiguration>
    <owner>oc4jadmin</owner>
    <expirationDuration duration="/task:task/task:systemAttributes/task:expirationDuration"
    type="XPATH"/>
    </globalConfiguration>
    The problem is the task(at runtime) cannot evaluate the expirationDuration from the XPATH..
    I checked with the WF_TASK table in the orabpel schema ...
    When I use a static duration EXPIRATIONDURATION cloumn gets assigned properly (ie PT1M).. But when i take the XPATH approach, it translates to PT0S.
    Can someone look into this please ?
    Struggling with this for quite sometime...
    saptarishi

    If the Human Task shows status complete, then it's possible that there was an error in the output data association in the process. In EM do you see a fault on the output for the Human Task activity, or if PS4FP the process will go to suspended state if the data association fails.

  • Access/set dynamic configuration in client/server abap proxy

    Hi,
    I have 2 question regarding reading/setting dynamic configuration in ABAP proxies:
    1) Is it possible to set dynamic configuration objects in a server abap proxy (SAP --> XI)?
    When looking at the class CL_PROXY_FRAMEWORK is looks as if it is possible. This class has en attribute IF_XMS_MAIN~DY which is a reference to the class CL_XMS_MSGHDR30_DYNAMIC.
    I'm not sure if I'm supposed to try and access the dynamic configuration objects via this class or if I'm supposed to use the GET_PROTOCOL method in some manner as suggested by:
    http://help.sap.com/saphelp_nw04s/helpdata/en/51/d5cd16235e4643ae8ec92395c4ad97/frameset.htm
    Above link is for client proxies not server, and I've been unable to find any documentation on this for server proxies.
    2) The same question goes for server proxies (XI --> SAP), though now I would like to set some dynamic configuration data.
    This I believe should be done using get_protocol( if_wsprotocol=>ws_header ) as indicated by before mentioned link.
    However in both cases I'm not sure of if it is indeed possible and which road to choose for sure. So a hint or 2 would be really nice.
    Best Regards,
    Daniel
    ps. maybe I should just mention that I am pretty new to the ABAP world, so bear with me.

    The link that you gave does give you an example for both server and client proxies:
    Accessing Protocol Classes for Client Proxies
    In client proxies, you access the protocol class by using the GET_PROTOCOL method. Below is an example for the IF_WSPROTOCOL_PAYLOAD protocol:
    DATA:
    lo_clientProxy      TYPE REF TO co_clientProxy,
    lo_payload_protocol TYPE REF TO if_wsprotocol_payload
    lo_payload          TYPE REF TO if_ws_payload.
    CREATE OBJECT lo_clientProxy.
    Get Protocol Class Using Method GET_PROTOCOL
    lo_payload_protocol ?=
           lo_clientProxy->get_protocol( if_wsprotocol=>payload ).
    CALL METHOD lo_clientProxy->execute_synchronous
                EXPORTING output  = ls_request
                IMPORTING input   = ls_response.
    Use Protocol Methods
    lo_payload = lo_payload->get_sent_request_payload( ).
    Accessing Protocol Classes for Server Proxies (XI Only)
    Within the implementation of a server proxy, you get the protocol class by using the CL_PROXY_ACCESS=>GET_SERVER_CONTEXT( ) method:
    DATA:  lo_server_context   TYPE REF TO if_ws_server_context,
           lo_payload_protocol TYPE REF TO if_wsprotocol_payload.
    lo_server_context   = cl_proxy_access=>get_server_context( ).
    lo_payload_protocol =
         lo_server_context->get_protocol( if_wsprotocol=>payload ).

  • Not able to find mod_oc4j.conf file for setting Load Balancing on ESB

    Hi Guys,
    I am trying to set load balancing on ESB ,I got one document from oracle site for setting the load balancing on ESB. According to that document we have to change mod_oc4j.conf file for setting the roundrobin:weighted,metric,random algorithms.
    But I am not able to find mod_oc4j.conf file in my ORACLE_HOME directory.
    Actual path is
    ORACLE_HOME/Apache/Apache/conf/mod_oc4j.conf file
    I have All folders up to conf but in conf folder there is no mod_oc4j.conf file.
    I just want to know is there any installation problem or we have to create
    mod_oc4j.conf file in that conf folder for seting the loadbalancing on ESB
    kindly give me the exact solution on this .
    Thanks in advance

    Hi Chintan,
    I have apache folder ,but there i have cong folder but in that I am not able to find mod_oc4j ,I know ESB it maintain load in transparent way but in my project we have heavy load on ESB we have to maintain this load in a proper way
    Please give me the exact solution to set load balancing On ESB.
    Thank you
    Bollineni

  • Easy and efficient way to set dynamic attributes

    My integration scenario is quite complex involving many different receivers and an integration process. For some receivers I have to set dynamic attributes.
    I know that I can set them by using a UDF, however in my case I mostly use XSLT so this is not applicable.
    Is there any other way to do this relatively easy so that I can avoid Java Mappings? Problem ist that I would need to use several Java Mappings to set the attributes where no transformation to the payload itself is taking place which seems to be too much for me. Especially when I consider that these Java Mappings are hard to maintain as they have to be imported again and again if any changes occur.
    So my question is:
    1. Do I really have to go for several Java Mappings just to set some dynamic attributes ?
    2. If so, should I use different Java Packages or is it advisable to leave all Java Mappings in one package?

    Hi Florian,
    yes, you can!
    set dyn atts in XSLT:
    <?xml version="1.0" encoding="utf-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:map="java:java.util.Map" xmlns:dyn="java:com.sap.aii.mapping.api.DynamicConfiguration" xmlns:key="java:com.sap.aii.mapping.api.DynamicConfigurationKey">
    <xsl:if test="REFERENCEQUALIFIER='MSU'">
         <xsl:variable name="dynamic-conf" select="map:get($inputparam, 'DynamicConfiguration')"></xsl:variable>
         <!--  mit dem folgenden Key-Key-Paar muss dann via UDF die Adresse aus den dyn. Attr. gelesen werden -->
              <xsl:variable name="dynamic-key" select="key:create('http://sap.com/xi/XI/System/Mail', 'MAILADRESS_SU')"></xsl:variable>
              <xsl:variable name="dummy" select="dyn:put($dynamic-conf, $dynamic-key, $MAILADRESS)"></xsl:variable>
              <xsl:comment>Mailadresse SU ermittelt: <xsl:value-of select="$MAILADRESS"></xsl:value-of>
              </xsl:comment>
    Hoffe es hilft.
    Grüße
    Mario
    Edited by: Mario Müller on Oct 15, 2009 1:47 PM

  • 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)
    --------------------

  • Setting dynamic text not working in AS2

    I'm working on a complex file given to me by another designer
    and I'm having a problem with being able to set dynamic text.
    Basically, I just want to set the text of a nested instance (e.g.,
    with an instance called foo and a instance inside foo called bar,
    I'm using foo.bar.text = "test".) This works beautifully and as
    expected in a test file. But when I move the symbols and code to
    the other designer's file, nothing happens. I.e., the dynamic text
    is blank.
    I feel confident that I'm not making any errors (I'm using
    tested code and symbols!), but I cannot think what else could be
    causing the error. Mine is the only ActionScript in the entire
    file.
    Are there bugs with dynamic text? Could this have to do with
    font substitution? I did change the fonts to Arial and "device
    fonts" without effect.
    Thanks!

    I appreciate your taking the time to help me and others on
    this board. (I actually have another -- probably related question
    -- that has never been answered, but that one is more confusing
    because it involved multiple language support and worked *until* I
    embedded the font.)
    My understanding of Flash is definitely a mixed bag. I have
    encountered so many problems (really quirks) with Flash that I kind
    of start with the assumption that I'm dealing with something
    quirky.
    In this case, since I don't know your style, I just couldn't
    see where you were going with your questions. In any case, thanks.
    I'm smarter re Flash as a result of your help.

  • Setting dynamic WHERE clause in VO

    Hi all,
    I am using JDev 11.1.2.2.0. Example Scenario : In my application, In the first page, I am choosing a location value. In the second page I have a model based VO. The where clause of the query has to be set dynamically, based on the location what I am choosing in the first page. How to achieve this?
    Regards,
    Infy

    First make sure you have defined your method in the AM Impl class.
    Here is a post from a few topics back :
    umesh.agarwal wrote:
    My question is how can I create a method that will return this information and use it from the ViewController ?For this:
    1) Created a method in AMImpl
    2) Exposed the method through Client Interface.
    See this for more details:
    http://docs.oracle.com/cd/E12839_01/web.1111/b31974/bcservices.htm#sm0212
    Then
    3) Define a method action binding in your jspx page(pagedef) where you want to access this method.
    http://docs.oracle.com/cd/E15523_01/web.1111/b31974/web_adv.htm#ADFFD20984
    4) Use the below code to call the AM method from View controller
    DCBindingContainer bindings =
    (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    OperationBinding operationBinding =
    bindings.getOperationBinding("<method_name_in_AM>");
    if (operationBinding != null) {
    operationBinding.execute();
    Object obj = operationBinding.getResult(); //obj will contain the value returned from your AM method
    Step 4) is when you want to call that method from a bean.
    You can also drag that method (from your data control) on your page. JDev will then ask if you want to make a form of it.
    When you choose for that option, you will get an input field and a button. When you fill in the parameter in that input field and then hit the button, the method will be
    executed and will use the inputed value as your parameter.

Maybe you are looking for

  • Lack of Drag and Drop functionality

    Device info Carrier: Sprint BB Tour 9630 v4.7.1.57(Platform 4.1.0.70) Apps and free space File Free: 122746064 (no SD Card) Did a battery pull fix your issue? No in the slightest Apps installed and their version if possible.   (settings, options, app

  • HT3910 How to install Windows 7 on Macbook Air

    i have windows7 on my pen drive.....suggest me how to install it on Macbook Air....

  • Best practice for compressing images to uniform size?

    What would be an effective method of compressing all the images (JPEG) used by an application to a uniform contentLength? Initial thought is to generate a new copy using processCopy with successively smaller integer values for compressionQuality (in

  • AD-RMS with SharePoint Document Access from Internet

    Hi Guys, I have a single AD-RMS Server running on 2008 R2 and SQL 2008 R2 I have sharePoint 2010 Published to Internet. I need to integrate AD-RMS with SharePoint instep to provide access for my docuements through SHarepoint internet. My Questions: U

  • ENABLE VLAN ID GYREYED OUT IN VM PROPERTIES IN SCVMM 2012 SP1

    Dear All, I have a strange issue with Hyper-V SCVMM 2012 SP1. "Enabled VlanID" is greyed out if I take VM properties in SCVMM 2012 SP1. But at the same time I am able to change it in Hyper-V host! strangely it doesn't happen to all VMs! Any help is a