Endpoint URI to the OSB business service

Dear team,

We have defined 3 queues in weblogic.

Business service must publish to one of these queues according to the State. How to dynamically send uri endpoint for a business service.

Please suggest.

Thanks in advance

Hello

You can override the URI by adding a routing option.

Please refer to the section "2.4.26 adding and routing of Actions in the message stream configuration" to.

http://docs.Oracle.com/CD/E28280_01/dev.1111/e15866/tasks.htm#OSBDV178

Kind regards

Anuj

Tags: Fusion Middleware

Similar Questions

  • Question about the OSB proxy service

    Hello

    I'm new to the world of SOA/OSB. I'm working on a POC from the OSB for our existing application. I have a question about the definition of the URL endpoint to the proxy service. It is possible to specify a generic url endpoint to a proxy service. Something like / SomeService / *. I tried and got errors. Is it possible to do somethig like that or it is a mistake on a conceptual level.

    Thank you

    anything you type in the uri of the endpoint of entry will be the contextroot to your service, so /SomeService should indeed be sufficient or as mentioned Pierluigi/SomeService/blabla is also valid (Betty is not a parameter query, but only a part of the contextroot)

    If you want to use a service like http rest

    / SomeService/blabla would still be the contextroot, and after that, you can use the query parameters

    / SomeService/badarou? var1 = test & var2 = test or/SomeService/blabla/employee/id/1

  • The predefined business services?

    Hi guys,.
    I wonder is there a place where I can find all the predefined Siebel Business Services with a brief description?
    And you know BS that can read/write directly in the Siebel data Table?

    Respect,
    Slavi

    Hi Slavi,

    The best place to find predefined BS are in the DB sample of Siebel.
    For the second question, I assume you mean the data manipulation directly at the DB level by bypassing the Siebel business logic.
    In this scenario, remove the BS "EAI SQL Adapter.

    Where I assumed it wrongly, you can try "EAI Siebel adapter" BS.

    Thank you and best regards,
    Yassine jegou

  • using weblogic unit-of-order (PUA) in the osb proxy service

    Hello

    I have a deployed on Weblogic server JMS queue. The messages in the queue are grouped using Weblogic JMS_BEA_Unit-of-order (PUA).

    Now, I have an OSB 10 g of Proxy Service that reads messages from the queue. The problem is, upon receipt of a message, acknowledgement of receipt is sent immediately, thus eliminating the message from the queue and the next with the same unit-Of-Order message is ready for processing.

    But the business scenario is the first message to read, processed and then decide to recognise or not. The second message should not be interpreted, unless the previous message is processed successfully.

    Can someone help with this scenario?

    Thank you
    Alex

    Published by: user9024636 on February 11, 2010 02:57

    with PUA, you'll need to do the syschronous transaction.
    1. make transacation enable XA
    2 using the road for the sychrounous transaction
    3. use the routing options, and then select mode = request-respone
    4. If the Proxy service is based on the jms then you should also together WHAT JMS Transport-> Advance settings-> XA is required-> checked

    Kind regards
    http://SOA-Street.blogspot.com

  • Message access control in the OSB proxy service when the Service Type is the Any SOAP Service

    Hello

    We have a proxy OSB service where the Service Type is 'no matter what SOAP Service'. We use Auth.xml to authenticate messages to achieve this proxy service.

    It is, ca we apply Message this proxy access control so that only user A is allowed to sent message has and only user B is allowed to message sent B?

    Us know if the proxy OSB service is based on a wsdl, then we can apply access control message for each operation in the Security tab - and thus specify which user can access the operation. But unfortunately, we have not a wsdl, because this service proxy is a proxy gateway and must accept any SOAP message reaches.

    For example, if the user name in the SOAP header is msgAUser, get is accepted.

    "< soapenv:Envelope xmlns:soapenv ="http://schemas.xmlsoap.org/soap/envelope/">"

    < soapenv:Header >

    "< xmlns:wsse wsse: Security ="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">."

    < wsse: UsernameToken >

    < wsse:Username >msgAUser< / wsse:Username >

    < wsse:Password >msgApwd< / wsse:Password >

    < / wsse: UsernameToken >

    < / wsse: Security >

    < / soapenv:Header >

    < soapenv:Body >

    <Get>

    ...

    < /Get>

    < / soapenv:Body >

    < / soapenv:Envelope >

    If the user name in the SOAP header is msgBUser, then MessageB is accepted.

    "< soapenv:Envelope xmlns:soapenv ="http://schemas.xmlsoap.org/soap/envelope/">"

    < soapenv:Header >

    "< xmlns:wsse wsse: Security ="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">."

    < wsse: UsernameToken >

    < wsse:Username >msgBUser< / wsse:Username >

    < wsse:Password >msgBpwd< / wsse:Password >

    < / wsse: UsernameToken >

    < / wsse: Security >

    < / soapenv:Header >

    < soapenv:Body >

    <MessageB>

    ...

    < /MessageB>

    < / soapenv:Body >

    < / soapenv:Envelope >

    Any suggestions please?

    Understood.

    My current client, we have faced the same problem and implemented a similar design which nevertheless has important benefits.

    The problem with proxy input all SOAP is not only in the complexities of authentication. Most important, resources fine grain (thread) management becomes impossible: proxy entry has a workmanager, one constraint of son max. If any single service behind entered proxy knows an influx of requests (because of a peak or a misconfigured customer), he eats the workmanager dry and the rest of the services become too inadmissible.

    In this spirit, we have implemented the following diagram. It's a little more complicated, but it serves us well for a few years already:

    EntryProxy 1-> Interceptor entering Proxy-> Proxy 1

    EntryProxy 2-> Interceptor entering Proxy-> Proxy 2

    ...

    Enter proxy doesn't do Nothing but shall forward the request for interception of incoming traffic. Power of Attorney of the entry, however, has its own WSDL, authentication and the workmanager which allows precise control.

    Another important aspect of a proxy of the entry, it is that it passes a custom header containing the name of the destination of the interceptor, e.g. TargetURI = "ProxyService/Paypal/Paypal.

    Incoming Interceptor Proxy performs all recording, the error handling and other common tasks.

    Then, according to the last header, the proxy of the interceptor makes a dynamic call to route to the specified destination.

    Yes, this design has an additional moving part - a proxy entry - but he a) works b) guard control all in our hands. The entry proxy is a very small point; When I need to make a new one, I just copy an existing one and replace the WSDL file and the value of the TargetURI - 30 seconds of work.

    Hope that helps.

    Vlad

    http://vladimirdyuzhev.com

  • BEA-382051 any transaction not found on the OSB Proxy Service

    Hello

    I have a proxy mq service and that has properties enabled for 1. Mandatory transaction 2. Same operation required for a response. Also added routing with QoS Options to "Exactly Once" actions to publish and c/o Service.

    MQ proxyQ-> proxy1 local-> localPS11-> localPS12-> localPS13
    MQ proxyQ-> local proxy2-> localPS21-> localPS22-> localPS23

    All these PS11, 12,... have publish and service a/s for various DB operations such as readBS, insertBS and updateBS.

    I searched a few threads in the forum, Anuj has also suggested to activate Options routing with QoS to "Exactly Once".
    What I did is I added and allowed to c/o/Publishing Service requesting this property [insertPS-> insertBS] and [updatePS-> updateBS] only.
    * NOT for [readPS-> readBS] area.*

    What is the cause of this error? I mean, what do I need to enable to publish them all and s. c/o actions regardless of readPS or updatePS?
    I also tried with httpProxy instead of mqProxyService service

    Error: BEA-382051 any transaction not found on the current Thread

    Your suggestion is very apprecited.

    Thank you

    Edited by: 1002815 may 6, 2013 07:59

    Yes, no need to add this legend and node of Road Service by participating in the overall transaction by default.

    Kind regards
    Anuj

  • Oracle Service Bus - Business Service Endpoint URI - dynamic

    Hello

    I'm trying to find a way to avoid hard-coding the URI parameter in a business service. I need to do this is because for different environments (development, test, production, etc.), the URI will be different.

    I spent the last 2 days looking for the forum oracle and documentation but came to nothing. Is there a way to do this?

    Preferably, is there a way to store the URI of the endpoint in a configuration/properties file that can be changed as needed?

    Any help is very appreciated!

    Best regards
    Adel hakim

    Hi Alex,

    Customization file will be the best solution for your problem. You can produce a customization file specific environment. For more information, please visit-

    http://download.Oracle.com/docs/CD/E13159_01/OSB/docs10gr3/consolehelp/customization.html#wp1129087

    The simplest solution would be to create a customization file and replace using the current URI with the required is to replace all the option of textpad. Run this file customization at the target environment, after you import the configuration for OSB.

    Kind regards
    Anuj

  • How to set message MQ expire time to business of the OSB.

    Hello

    Please let me know the OSB business option to set the time-out for MQ messages. Is this possible?

    Thank you
    Karthik.

    http://download.Oracle.com/docs/CD/E13159_01/OSB/docs10gr3/mqtransport/transport.html

    transport header "expires".

    I hope it works: o)

  • OSB: Citing several endpoint URI or business at the same time

    Hi all
    I want to route the request to two point endpoint URIs or services using the OSB.

    For example, I have a BPEL that is deployed on two servers. You use this I have to call the service deployed in both servers as soon as I get input.

    Help, please.

    Thanks in advance

    Yes you can.

    1. place the URIs in an xml file. Save the XML as a resource of xquery to say URICollection.xquery.
    2 set this URICollection.xquery to say variable URICollectionVariable.
    3 extract the URIs desired using a URICollectionVariable xquery query. Two URIS can be stored inside of a parent element, which can appear as a result.
    4. replace service Affairs URI URI desired (by outcome) using the "Routing Options.

    To propagate the request in two different places, you must use 'foreach' action. Run the 'loop' for exactly twice, write logic to above point n ° 4-inner action loop.

  • Change the uri of the service to business in OSB

    Hello

    I have a business service who write some files to a directory that I want to replace the directory with a variable path (I gave the directory path in xquery and store it in a variable) can someone me say how can I achieve this?

    and I call this service in my proxy service using the legend of service.

    Thank you

    Published by: 990437 on March 6, 2013 21:07

    Hi 990437,

    you want to replace the directory by a variable path... and I call this service in my proxy service using the legend of service.

    Inside the legend service - ask actions - use routing action Options and assign the variable in the URI expressions

    OR if you use the JCA File adapter
    Inside the legend of service - request Actions - use action set the Transport headers
    NEC Transport header outgoing request and Add Header.Browse jca.file.Directory drop-down list box in header and assign the new location of new directory
    (variable) in slot Action - Set - Expression Header

    Kind regards
    Afonso Gupta

  • Change of URI of business service endpoint?

    Hi all

    We did all our osb development code and moving from one environment to another (Eg. Stable E2E to PSU, then UAT of Production). When we turn the codes from one server to another, we must change the URI of the end Point in business for nearly all services of the OSB that calls to external systems of other services calling BPEL. SO there at - it another way to make the URI endpoint in another file and read this file to get the endpoint URI and set in BS. Or anyone has any other suggestions? Because every time we need to make code changes when we move from one server to the other.


    Kind regards
    Prabhu

    Why don't you use a customization file.

    http://download.Oracle.com/docs/CD/E17904_01/doc.1111/e15867/customization.htm#CACJCAGD

    Kind regards
    Anuj

  • Oracle Service Bus - Business Service Endpoint URI - change during execution

    Hello

    Is it possible to change/passing the URI of the endpoint for a Service business the runtime? The reason of my question which is based on the content of the message in a Proxy Service, that calls this Service business that I may need to change the URI.

    Kind regards
    Adel

    Adel,
    Is there a limitation of use cases which would prevent us from using the dynamic routing?
    http://download.Oracle.com/docs/CD/E13159_01/OSB/docs10gr3/Userguide/modelingmessageflow.html#wp1100135.

    DynamicRouting /Dynamic publish are possible depending on the use case.
    Another option is to use routing options: change all or part of the following properties in the outgoing request: URI, Quality of Service, Mode, then try to parameters, the priority of the Message.

    Maury

  • OSB: Security: Business Service: configuration of the password Digest in BS

    Hello

    I have a requirement to connect to the target WS. We pass the user name and password (password digest). The target URL is the same, but we have 7 password different and based on a logic that we need to use any one of the password and call the service.

    I can able to connect to the service by adding headers security and demand from business.

    But when you call the proxy business how do I generate the soap headers with collection of password, Nonce, Timestamp.

    This is the header that I used in BS and it works fine.

    " < soapenv:mustUnderstand wsse: Security = '1' xmlns:wsse = ' http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd ">

    " < wsu:Timestamp WSU: ID = 'Timestamp-13' xmlns:wsu = ' http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd ">

    < wsu: created > 2014-07-08T 22: 28:25.395Z < / wsu: created >

    < wsu: expires > 2014-07-08T 22: 29:25.395Z < / wsu: expires >

    < / wsu:Timestamp >

    " < wsse: UsernameToken WSU: ID = 'UsernameToken-12' xmlns:wsu = ' http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd ">

    user name < wsse:Username > < / wsse:Username >

    " < wsse:Password Type = ' http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest "> passworddigesy < / wsse:Password > .

    " < wsse:Nonce EncodingType =" http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-SOAP-message-security-1.0#base64Binary "> announced < / wsse:Nonce > .

    < wsu: created > 2014-07-08T 21: 23:08.455Z < / wsu: created >

    < / wsse: UsernameToken >

    < / wsse: Security >

    Because the password is different do we need to use several business service or can use only one?

    Please provide your comments.

    Concerning

    Use GOSA username token client_policy at the service of the company. Do not substitute the csf - key in politics and set up a service account PASS-THROUGH at the service of the company.

    No need for multiple business. Let me know if this solved your problem or not.

  • The call using two Business service split join in osb

    Hello

    While he was trying to call two business using Split to join the BSO I get failure message from selection in the em Bpel console. I use call activity to invoke the BS and assign to assign to the entry. the entitlement, I am assigning * $request.payload/input * to input.payload . In the em console I get entry like this


    receiveInput
    June 19, 2012 call 17:05:45 received 'process' partner 'bpelprocess1_client '.
    payload of <>
    < variableentree >
    < name of party 'payload' = >
    XXXXX < customer: process > < / customer: process >
    < / part >
    < / variableentree >
    Assign (pending)
    June 19, 2012 17:05:48 error in assessing <>expression "65 online." The result is empty for the XPath: ' / process: client / customer: entry.
    payload of <>
    xxxxxx < customer: process > < / customer: process >
    June 19, 2012 17:05:48 the following exception occurred while trying to execute the operation of copy on line 63
    payload of <>
    < bpelFault >
    < faultType > 0 < / faultType >
    < selectionFailure / >
    < / bpelFault >
    June 19, 2012 17:05:57 "BPELFault" has not been taken by a catch block.
    June 19, 2012 17:06 the transaction has been restored. Work for bpel '650002' instance has been restored, but the audit trail has been recorded for this instance. A synchronization request, please refer to the customer's request. If it is an asynchronous request, please recover from the recovery console to resend the message to invoke.


    Can anyone help on this?

    Thanks in advance...

    Hello

    I created a sample split join to assign you with a similar use cases that you tried, before the invoke activity that you call a Business Service, an activity Assign Action and write the payload of body in the field of expression and in the variable field, I chose my input activity Invoke variable which is InvokeInput.payload.

    Payload body I pasted in the expression field looks to...

    ------------

    Input samples

    -----------

    Hope this helps,
    N

  • OSB 12 c: Business Service can not reference foreign JNDI

    Hello everyone

    I have two machines. First machine running Weblogic 12 c with some deployed EJB´s and second machine running Weblogic 12 c with Oracle Service Bus 12 c.

    For various reasons, I must have the possibility of invoking the EBJ (first machine) by the (second) Bus Service

    My first step was to create an EJB HelloWorldService, and deploy it to the first machine. Is the remote interface of console weblogic JNDI name. It can be invoked java application and works very well

    EJB. HelloWorldBean #es.enrique.ejb.HelloWorldBeanRemote


    I then created a foreign JNDI provider in the second machine (OSB one), using the Weblogic console


    jndi_config_1.JPG

    I also have a JNDI connection to that called foreign JNDI provider


    ForeignJNDILink-0


    Now, I want to configure a business service with access to the foreign JNDI provider. When I put the URI of my business abroad JNDI, I just created, access it complaints by saying:


    The JNDI ForeignJNDILink-0 there is no provider


    jndi_not_exist.JPG

    Can someone please explain to me what I am doing wrong?


    My understanding is that the OSB should see the JNDI foreing supplier because they are both in the same machine (the other)


    Thanks in advance


    Ok. I thought about it.

    Instead of working from the web browser, I tried JDeveloper.

    From there, you can create a "JNDI prodiver", specify EJB machine URL, user and password.

    At this point, you can create a Business Service and set the URI: "jejb: [name of the JNDI provider]: [full EJB JNDI]."

Maybe you are looking for