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

Similar Messages

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

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

  • Dynamic endpoints in SOA and OSB 11g

    Hi,
    In AIA we have aiaconfiguration properties.xml from where end points of wsdls will be accessible.
    This enables ease in migrations so that if endpoint changes it is only need to be changed in aiaconfiguration properties.xml.
    Can the same be acheived in SOA and OSB 11g projects?
    Thanks,
    Sowmya

    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 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.

  • Creating dynamic endpoint for synchronous partner link. SOA 11g

    I am on page 522 of the Developer's Guide and have hit a dead end.
    1) There is no such thing as a "Transformation" activity.
    2) If I assume they meant "Transform" I am still stuck because you can't use a wsdl as input
    3) What is a "copy rule?" I thought that meant Assign, but the Assign dialog looks NOTHING like their screen shot.
    I get the CONCEPT 100% but the actual implementation is a complete mystery because this book is fatally flawed.

    It's not a link, it is a literal book.
    Oracle SOA Suite 11g R1 Developer's Guide
    Of more importance to me than sorting out the book is sorting out the issue. I have two partner links I want to be able to set runtime endpoints for. I also want this to be done based on which deployment server the composites are on, but I can cross that bridge later.
    One of the partner links is an HTTP Adapter and the other a WS Adapter.
    I imported the WS-address schema and created en endpoint reference variable but then I get stuck. How to I use this to change the endpoint of the partner link? The developer's guide says "use a Transformation" which I am guessing means and Oracle Transform (thing that makes xlst style sheets) but Transform only accepts variables as input and output and the guide screenshot is showing wsdls being used.
    Also -- looking at "The BPEL Cookbook" (http://www.oracle.com/technetwork/articles/carey-090553.html) I get imediately lost because only partial examples are shown and repeated references are made to this "DynamicPartnerLink Sample" which I can find umpteen million references to but no source for.
    OK.. found the source for the referenced wsdl .. and it has nothing I didn't already have.
    I am using jDeveloper... I think the cookbook is referring to some other editor. I needs instructions I can follow in jDeveloper because my employer is requiring we use that.
    Edited by: Keith Fosberg on Oct 30, 2012 7:16 AM

  • BPEL - Handling invocation timeouts and Modifying Partner Link endpoints

    Hi,
    We've built the basic functionality that we need in our BPEL process but are facing 2 specific questions that we are a bit stuck with and would really appreciate some help on..
    1. Our BPEL process calls an external synchronous web service. We have a requirement that if this external web service is unable to respond to our BPEL process within a fixed timespan (say 1 minute), we need to treat this as a timeout and move on. Can anyone suggest what settings are required for this?
    2. The second query is with regards to a likely situation we will face after go-live. If the URL of the external service changes (lets say the service moves from one server to another), ideally we would want to be able to configure this URL change rather than have to modify the WSDL and rebuild the BPEL project in JDev with the new WSDL. Does the BPEL Admin Console provide any such feature? As far as I can recall from a project a couple of years ago, Websphere Process Server did provide such a feature and I'm looking for something similar here but have not found it yet. I am not looking to use dynamic endpoints within our flow - just for an admin feature that would allow me to modify the URL externally via the console.
    Would really appreciate any suggestions on these 2 points..
    Thanks and Regards,
    TB

    In response to your second query -
    a) you don't need to rebuild the BPEL project in Jdev in order to change the wsdl file. If you update the WSDL file with new values for your endpoint simply clear the WSDL cache and the process will pick up the new values in the new instances created from thereon.
    b) or if you dont' want to update the wsdl manually, you can write a piece of java code to change the endpoint URL's for the deployed BPEL processes using the code given here
    hth

  • No Fault When Dynamic Partner Link Is Down?

    Hello,
    I have an async process that establishes a dynamic partner link based on runtime data. I understand how to fire off to a dynamic partner link, however, I ran into a problem while testing a scenario where the partner link's endpoint is down.
    In situations where the dynamic endpoint is up, my process calls it without any problems. However, when testing what happens if the dynamic endpoint is not available, I expected the process to throw a fault that I can catch. What I find is that an exception is raised in the logs (see below), but the calling process does not throw a fault. The process also continues on as if the call were successful?
    Is there something that I can do to ensure that faults are raised in cases where dynamic partner links are down?
    <2008-06-07 21:42:13,413> <DEBUG> <default.collaxa.cube.ws> <WSIFInvocationHandler::invoke> invoke failed
    org.collaxa.thirdparty.apache.wsif.WSIFException: when invoking locally the endpoint 'http://alcalba2-lap:8889/orabpel/default/CDS_DNS_process/1.0', ; nested exception is:
    ORABPEL-00000
    Exception not handled by the Collaxa Cube system.
    An unhandled exception has been thrown in the Collaxa Cube system. The exception reported is: "ORABPEL-02178
    Process not found.
    The BPEL process "CDS_DNS_process", revision "1.0" has not been loaded. Either the process was not initialized properly or the process has been disabled.
    Please consult your administrator regarding this error. The application server logs may provide more information regarding this error.
    v10.1.3.3.0
    Thanks!

    There is a catch all block. I have no fault policies or fault binding set outside of what is defaulted.
    Shouldn't my catch all block be enough to pick this up? It's as if nothing is bubbling up to the process and I clearly see an exception in the logs.

  • WSSecurity on Dynamic EndpointReference URL in BPEL

    BPEL version 1.1
    SOA Suite 11.1.1.6
    AIA 3.0
    I am trying to invoke R12 SOA gateway service using dynamic endpoint reference within my bpel code. <binding.*location*> in composite.xml is removed. I am constructing ws-security header xml inside bpel and assigning it to the invoke activity using bpelx:inputHeaderVariable. In this scenario, the invocation fails saying 'User is not authorised'. In R12 front end, I could see that user is going as null.
    But, when the location attribute of <binding> is assigned with the actual URL, then everything is working fine. Even from soap-ui, it works fine.
    Only when using dynamic endpoint reference, the ws-security is not getting set. I have tried using ws-security policies also, but getting the same exception.
    Any help please.
    Thanks,
    - KSH.
    Edited by: 840696 on Jan 11, 2013 5:13 AM
    Edited by: 840696 on Jan 11, 2013 5:25 AM

    This issue got fixed when we removed the string ?wsdl from the http wsdl url. I am not sure how it made a difference, if anyone knows please provide your inputs.
    Sample WSDL URL that was not working: http://9.9.9.9:999/abcd/xyz/?wsdl
    WSDL URL that worked: http://9.9.9.9:999/abcd/xyz/
    Thanks,
    - KSH
    Edited by: 840696 on Jan 19, 2013 5:52 PM
    Edited by: 840696 on Jan 19, 2013 5:52 PM

  • ChannelSet vs Endpoint - RemoteObject (+ColdFusion!) - Just Questions

    hello,
    I've been working with Flex for a few years now, and recently came across a discussion about channelsets versus the endpoint property in a remoteObject call. My questions are general, but I hope someone can shed some light on this issue:
    1. I have an application that is configured with ColdFusion as it's destination, and I'm using a remoteObject. When I specify a dynamic endpoint, I can simply deploy the application across all of my environments, without having to change services-config.xml or remoting-config.xml files. The opposite is true of a channelset; in a channelset it appears as if I have to change the services-config and remoting-config.xml files in order to get my application to work on my environments. With that in mind, why would I use a channelset here versus an endpoint?
    2. In the Adobe documentation for channelset, it states that Channelset is used in BlazeDS only (http://livedocs.adobe.com/flex/3/langref/mx/messaging/ChannelSet.html). What does this mean? Is this only accessible because BlazeDS is built into ColdFusion? If I do not have BlazeDS available, what happens to the channel set?
    3. What types of applications would you use Channelset for? If you know the endpoint (e.g. www.yourwebsite.com/flex2gateway/secureamf), why would you use channelset over the endpoint property?
    Thank you for your help.

    If you have access to your deployment server you can use the Flex compiler
    settings if you don't then the best option will be to use the endPoint,
    there is no significant downside or upside on this. You can write a single
    bindable var and in this one set the value for endPoint

  • Using JAX-RPC handlers to proxy web service traffic

    Hi,
    I want to use JAX-RPC handlers to proxy web service traffic. In some instances the handler should modifiy / verify the message before forwarding the request to the remote web service end-point. Hence, the handler should forward the call by invoking the remote web service. In some cases the result from invoking the remove service should be post-processed by another proxy handler. To ensure that the result from invoking the remote service is available for post-processing I assume that the handler invoking the remote service must add the response message to the message context ( e g setProperty method) in the handler. Is this correctly understood?
    I would like to understand that this is a technically feasible and reasonable approach of using JAX-RPC. I'd really appreciate some feedback here.
    Many thanks,
    Tom

    Hi Eric,
    Thanks for your response. we are trying to access WSRR( manages end point urls for 7 different environments) and generate the end point dynamically at the design time. As we figured out WSRR is not compatible with OSB we are trying to implement these client side (OSB Proxy service) handlers which would get the dynamic endpoint depending on the environment used. I was able to create the handlers for this and set the jar in the classpath but the client service which should be using these handlers have to have these handlers defined in the deployment descriptor(web.xml) which am unable to see with a OSB project.
    Will there be a deployment descriptor(web.xml/webservices.xml) associated with Proxy services on OSB? Or Is there any other way to add custom JAX-RPC Handlers to a proxy service? Or is there any way to connect to WSRR directly?
    Thanks,
    Swetha

  • How to read JBoss server 'app.properties' file in the deployed Flex application?

    Hi, my current Flex project is using LCDS server to make call (Remote object call and Data managements services' call) to the backend Java services and consume data to render. I have defined the AMF and RTMP channels in the services-config.xml file and destinations for the Java services' in the remoting-config.xml and data-management-config.xml files.
         <channel-definition id="my-amf" class="mx.messaging.channels.AMFChannel">
                <endpoint url="http://localhost:8080/eqcFlex/messagebroker/amf" class="flex.messaging.endpoints.AMFEndpoint"/>
                <properties>
                    <polling-enabled>false</polling-enabled>
                </properties>
         </channel-definition>
    As of now both the Flex application WAR file and Java services EAR files are depolyed on the JBoss server on my machine, therefore I can hardcode the endpoint URL as http://localhost:8080 in the services-config file and hit the Java services.
    But the requirement is that the Flex application WAR file needs to be deployed on JBoss servers deployed on different machines and hence the endpoint URL cann't be hardcoded in the services-config.xml file. Is there a way we can pick up the endpoint URL from the JBoss server's app.properties file so that we can dynamically create channels in Actionscript code and make call to the backend services with dynamic endpoint URL?

    But in Command prompt I found out that My properties file by name
    'cedrelay.properties' is not recognised by web.xml.My web.xml structure is
    How does web.xml "recognize" anything?
    You specify the properties file as an init parameter. Do you read it in the init method of the servlet? If so, what does the code look like for reading the properties file?
    You'll have better luck if you put that properties file in WEB-INF/classes and load it as a resource input stream from the CLASSPATH.
    %

Maybe you are looking for

  • Folder mapping with Unix XI box / XI is not pulling the file from folder

    We have installed XI on Unix box. We have developed a test scenario using file adapter and tested the mapping program. it's executing successfully. Problem is after completion of configuration XI server is not pulling the file from the assigned folde

  • Credit Block in Sales Order

    Hi Gurus I have an issue in production system wherein a user has created a sales order for a customer say 'X' which went into a credit block. When the credit master is checked for the customer the credit limit was well below 100%. There are no open o

  • Changing font in a textarea

    Hey, I was wondering how would I code my textarea so that when I choose to change font, it will not change the font of previously entered text. Thanks in advance.

  • Regarding Doubt in Query

    Hi Friends, I have a doubt in Oracle Query. Query SELECT ID FROM LIST; ResultSet 1 2 3 4 5 789 In the above query the result will in seperate rows, bu i want it as 1,2,3,4,5.............,789. Can anyone help me to write a query for this type of outpu

  • Hp MINI 110 asking for Current Password

    I have a hp compaq mini 110 it is asking for Current Password which i don't have