Service Virtualization: Mediator v/s OSB

Gurus,
I've been scouting for information as to when to use OSB and when to use Mediator for service virtualization.
I came across online material that says within SCA Assembly and same soa-infra installation, mediator should be used for virtualization.
Rest all scenarios (outside domain, non SCA) should be handled by OSB.
This limited and vague understanding brings me to the following questions:
1) When we change the target service location in mediator, it does require deployment. No OSB like console for mediator (to my knowledge) to push the change to runtime without deployment. That means change in mediator will go through "dev-deploy-test" cycle. Still Mediator should be preferred?
2) Should each component of composite that is exposed outside have a corresponding mediator to provide virtual layer? If yes, should OSB layer be added on top of mediator layer if such services are exposed outside SOA Infra?
Thanks-
Ashish

Any one has any idea about this?

Similar Messages

  • How to call business service from xquery transformation in OSB ??

    Hi All,
    How to call business service from xquery transformation in OSB ??
    I need to assign the response variable of Business Service to a target element in XQuery Transformation Mapper file.
    It's urgent.
    Regards,
    Jyoti Nayak

    Transformation is to mapping the source and target of 2 different schemas.
    In your case you should have a XQuery transformation between, your Business Service output schema and the target schema.
    Thanks,
    Vijay

  • Calling two Business service using split join in osb

    Hi,
    While trying to call two business service using Split Join in osb i am getting selection failure message in Bpel em console. i am using invoke activity to invoke the BS and assign to assign the input. in the assign i am assigning *$request.payload/input* to input.payload . In the em console i am getting input like this
    receiveInput
    Jun 19, 2012 5:05:45 PM Received "process" call from partner "bpelprocess1_client"
    <payload>
    <inputVariable>
    <part name="payload">
    <client:process>xxxxx</client:process>
    </part>
    </inputVariable>
    Assign (pending)
    Jun 19, 2012 5:05:48 PM Error in evaluate <from> expression at line "65". The result is empty for the XPath expression : "/client:process/client:input".
    <payload>
    <client:process>xxxxxx</client:process>
    Jun 19, 2012 5:05:48 PM The following exception occurred while attempting to execute operation copy at line 63
    <payload>
    <bpelFault>
    <faultType>0</faultType>
    <selectionFailure/>
    </bpelFault>
    Jun 19, 2012 5:05:57 PM "BPELFault" has not been caught by a catch block.
    Jun 19, 2012 5:06:00 PM The transaction was rolled back. The work performed for bpel instance "650002" was rolled back, but the audit trail has been saved for this instance.If this is a sync request, please resubmit the request from the client. If it is an async request, please recover from the recovery console by resubmitting the invoke message.
    Can anyone help on this?
    Thanks in Advance...

    maybe this one helps a bit, it's the same pattern
    http://www.xenta.nl/blog/2011/07/03/oracle-service-bus-implementing-aggregator-pattern-by-use-of-split-join/
    if you're using a dynamic split join easiest way is to do something like
    assing <yourresponse/> to $response
    at this moment your assign an empty placeholder to the response variable
    now you go into the for-each looping and for each iteration you need to insert the response of your bpel call in the $response variable
    so in the looping as last step you add something like
    insert $mybpelresponse/rootelement into $response/yourresponse
    with the insert it will insert the reponse 1..x times into the $response variable (so actually aggregating all the responses for you)

  • Service Accounts used in Different OSB Projects

    Hi,
    In the project I'm working on, we need to have a service account used by different OSB projects. We are using fn-bea:lookupBasicCredentials to lookup the service account. The problem is, the same service account may be under different paths in the different environments we have. Is there a way to use something like a relative path to refer to this service account so we don't have to worry about the environment our code is deployed?
    Thanks in advance

    Please refer -
    How to get ip number in WSDL instead of host name?
    Why do you want to have IP instead of host name?
    Regards,
    Anuj

  • Overhead of OSB in case of Service Virtualization

    Hi All,
    I am trying to do some performance testing and trying to add logging interceptors in OSB. I can calculate the time taken by the message flow in OSB, but how do i calculate time taken by the Transport Layer and binding layer. Any Idea on this?. Will the service level time be equal to the formula as mentioned below.
    Service Level Avg Response Time=(Inbound Transport Layer Inbound Binding Layer Message Flow+ Outbound Transport Layer+ Outbound Transport Layer)
    Regards,
    KC

    Hi All,
    I am trying to do some performance testing and trying to add logging interceptors in OSB. I can calculate the time taken by the message flow in OSB, but how do i calculate time taken by the Transport Layer and binding layer. Any Idea on this?. Will the service level time be equal to the formula as mentioned below.
    Service Level Avg Response Time=(Inbound Transport Layer Inbound Binding Layer Message Flow+ Outbound Transport Layer+ Outbound Transport Layer)
    Regards,
    KC

  • OSB:Publish to business service with for each in osb proxy message flow

    Hi,
    I have an external application that will make a call to my web-service and post a message to my queue "A" and i need to model my osb component such that it picks the message from that queue " A"and posts it to another queue "B". All this is done without any BPEL involved.
    for publishing the message i have created a business service that publishes a msg to the queue A and my proxy service is modelled such that it subscribes to this same queue A and publishes the msg to another business service (that posts it to a queue B).
    Everything is working fine but i have an issue in modelling my proxy message flow. If an external application sends a bulk msg i need to post the message one by one to my queue B. I have used for-each and Publish to BS but the msg doesn't get posted one by one. i know i am missing something please help me out.
    SOA Suite Version - 11.1.1.3

    Are you sure that your for-each definition is correct? Does the flow within the for-each get executed multiple times?
    You can check this by logging the variable to which you assign the message in the for-each. Don't forget to put the log level to Error, so you're sure that it's logged.
    Let's say you get a list of persons like the following xml in a variable personList
    <Persons>
    <Person>Glenn</Person>
    <Person>Prasanth</Person>
    </Persons>
    Your for-each definition should be the following.
    For each variable: person
    XPath: +./Person+
    In Variable: personList
    You don't mention the Persons element in the XPath expression since it is the root element of the XML. The root element is represented by . (dot).
    In the for-each, the variable person can be used like any other variable.

  • How to create a single business service against multiple Queues in OSB

    Can I create one business servcie against multiple jms queues.
    and based on content routing i want to pass the queues' JNDIname
    for example
    jms://localhost:7001/jms.cf/$variable_queueName
    and in runtime i want to provide the queue name for variable "variable_queueName" in the above endpoint URI.
    is it possible?.
    Thanks,
    Narasimha.
    Edited by: user13154768 on Jun 2, 2010 5:03 AM

    You can use routing options action to achieve this.
    see Dynamic Service Invocation sample under OSB code samples :
    http://www.oracle.com/technology/sample_code/products/osb/index.html
    Dynamic Service Invocation Sample:
    http://www.oracle.com/technology/sample_code/products/osb/samples/DYNAMIC-DISPATCH.zip

  • Invoke secured service in splitjoin in an osb proxy message flow

    Hello,
    I create a new Split-Join (in the OSB workshop application). Then
    I use an action "Invoke Service" to call a not secured business service. So far no problem. When I assign a security policy to my business service, the OSB does not accept. Here is the error message in the OSB workshop:
    [Parallel, Scope, Invoke Service] Binding contains Security policy assertions, which is not supported.
    Binding: "{http://testsplitjoin/v1}TestSplitJoinSOAPBinding"
    Service: "BusinessService TestSplitJoin/BusinessServiceNotSecure"     
    TestSplitJoin     SplitJoinTest.flow     line 43     1316955334516     3695
    How can I call a secured business service in a splitJoin?
    Thanks

    Are you sure that your for-each definition is correct? Does the flow within the for-each get executed multiple times?
    You can check this by logging the variable to which you assign the message in the for-each. Don't forget to put the log level to Error, so you're sure that it's logged.
    Let's say you get a list of persons like the following xml in a variable personList
    <Persons>
    <Person>Glenn</Person>
    <Person>Prasanth</Person>
    </Persons>
    Your for-each definition should be the following.
    For each variable: person
    XPath: +./Person+
    In Variable: personList
    You don't mention the Persons element in the XPath expression since it is the root element of the XML. The root element is represented by . (dot).
    In the for-each, the variable person can be used like any other variable.

  • Can i deploy the same proxy service with dofferent version in OSB

    Hi all,
    Can we deploy the same Proxy service with different version ??? .
    As in SOA suite we can deploy the same BPEL process with different version .
    How we can achieve this in OSB ??????
    Thanks
    Phani

    No concept of versioning in osb.. If you want to maintain different versions , you will have to create separate projects for separate versions.

  • Service Virtualization ...?

    Hi Experts,
    Here is the problem at hand I have two enterprise systems A and B which communicate via a Web Service,
    I need to develop an intermittent system that can monitor this web service grabbing the interactions (request/responses) between
    these systems
    The need is to get a solution to record these interactions and store it in a persistent store for Playback when system B goes offline(down)
    because of maintenance or other issues.
    The only catch here is we cannot make any changes in either system A or B when it comes to the following
    1. Changing source code i.e implement web service handlers
    2. Reading logs from the target server etc..
    3. Proxy approach is not allowed as well :(
    Also, I have access to the network that is the only part that is clear till now.
    Considering this scenarios are there any good solution approaches to this scenario ?

    jschell wrote:
    RainaV wrote:
    Also, I have access to the network that is the only part that is clear till now.
    Are you sure you do?Yes :)
    How do you know if B is down? Or up? If you can't insure that then you can't insure duplicate traffic would not occur.We check for a heartbeat received from that system to ensure if it is up or down.
    Given the requirements I would look for a really expensive piece of hardware that records IP traffic on a network. Then price out a really expensive project which would manipulate the data that that records. Shoot for at least $200K price tag.
    CA has a tool called ITKO, that's the pricey approach which we are trying to avoid.
    Then as an alternative point out that a proxy would be much cheaper to implement.
    Of course this presumes that this isn't just a man in middle attack.This is not a man in the middle attack for sure ;)
    Clarifying the same when we record these interactions we keep a record of them and when the system B goes offline for whatever cause we immediately bring up this Monitor/Recorder into a playback mode thus acting as a Simulator, thereby catering o the needs of the client thus saving outage cost.
    This is mainly targeted at E2E Testing via LIVE, which suffers a lot due to these outages on certain interfaces.
    Wanted to know how an out of the box approaches can be taken on this via Java or any other open source technology
    but all within ethical bounds for sure ;)
    Regards
    VR

  • OS compatibility Remote Descktop Services/Virtualization Descktop Infraestructure VDI

    Hello
    Someone know the site or information about the OS available for Remote Desktop pool
    For Example If I can Create one collection Linux and that support version.
    VDI/RDS
    Thank you 
    Hugo Monge

    Hi,
    Thank you for posting in Windows Server Forum.
    As per my research, VDI is only designed for publishing the Windows client OS. So it is impossible to create a Linux Desktop collection with VDI/RDS.
    Thanks for your understanding and support!
    Regards.
    Dharmesh Solanki
    TechNet Community Support

  • 11g Mediator

    Hello,
    Is Mediator pattern available in 11g is OESB or OSB or we have both of them to use. ? If OSB is not in 11g Stack, then when it would merge in OFM roadmap ?
    Thanks

    The "Old" ESB is fade away into SOA 11g as service, called Mediator. The OSB 11g will come out later. The current version of OSB is 10gR1 (10.3.1).

  • Which component to chose in my use case ( BPEL / OSB / Mediator)

    All,
    I have gone through various blogs and documentation explaining the reasons for choosing a specific component,But,It is always a close call when it comes to making a very important decision as
    the real time uses case we generally deal with always fall in a border making it difficult to decide.
    Use case:
    A legacy system has to communicate with a third party system for sending some job details. For the same it uses an service intermediary.
    This service intermediary has to
    a) Receive the message from the legacy system. ( Preferably as EDN event as its easy for the legacy system to through an event)
    b) Very light orchestration ( in the future)
    c) Route it to the Mobile enablement application/ system.
    Generic:
    d) Need to provide a fault management / handling.
    e) Authentication / Authorization.
    Having these requirements, I thought an OSB would be a right component to be used as we are focused on routing in a decoupled way with light orchestration and business agility. However can OSB support
    a. subscribe to EDN events ? If yes how ? Can it have Oracle Apps adapter to get the events from R12 like BPEL?
    b. Can it use the same fault management framework written for SOA suite ( policies and bindings) ?
    On the other hand, I am having thoughts on why not use BPEL process itself. We can turn Auditing to off and will not have any dehydration points in the bpel process thus making it stateless ( just like OSB ?) if that is the major difference we are looking at ? Service virtualization ( dynamically changing the end point ) can also be acheived in bpel.
    and why not Mediator ? I know everywhere people talk about using mediator for intra composite commmunication but at the same time they suggest using it while writing to file / adapter or call a external service exposed as SOAP WSDL too. Now for our use case, a mediator can listen to events from the legacy system and route it to the target mobile enablement service.
    ( Note : BPEL and mediator can use fault management , EDN's, Oracle apps adapter and also can be made stateless by turning the audit to off . So if you are still suggesting OSB please back it up with strong reason rather than just theoritcally saying that its a standard to use in case of routing and stateless etc..)
    Kindly help !
    Regards,
    Sridhar.

    Realized that OSB can
    a. Read an AQ using AQ adapter and thus can subscribe to the Events raised using AQ in Oracle Ebsuiness Suite applications.
    b. OSB has its own way of handling faults. ( does not use SCA fault handling framework).
    The important question I want to focus here is
    In the above use case when everything can be acheived using either of OSB, BPEL or Mediator. ( ie., from ease of developement, performance and management) how to chose a specific component ?
    Service virtualization that OSB boasts can be done by BPEL.
    BPEL can also be made lieght weight by turning the dehydration to off ( auditing to off)
    Result cache can be achieved in bpel by using some custom coherence api.( which is one time effort and simple to use)
    Message throttling can be done using a queue in between.
    Really need a very practical reason to prefer OSB and not BPEL or Mediator in my case. Help appreciated

  • OSB vs Mediator

    Hi,
    I know this is already well discussed discussion with many blogs. But I am still confused on one point.
    From what i heard , Mediator is used to mediate message with in Composite and OSB can be used across composites and applications.
    ( Apart from other advantages like OSB being light weight) The above is the key differentiator according to many schools of thought while going for any one of these two.
    However, I am basically confused with statement - " Mediator Mediates message between components with in composite ". Why doesnt it mediate messages across composites. I dont see any restrain it has in calling another composites service(client) by using a webservice call. ie., A mediator can have a Webservice as its target. And we know webservice can be any service, which is anywhere in the world. So how does mediator is used only for compenents with in Composite.??
    I am sure I am missing something here . Please clarify.
    Second thing is Service Virtualization : Many people say that they chose OSB for Service Virtualization feature. Well this is also available in Mediator.
    ie., the source always calls mediator service ( can be thought as OSB proxy) and mediator will route it to appropriiate target service based on various routing rules( similar to OSB) and hence target is completely hidden from the source and hence Service Virtualization. So both the products offer this. How is OSB better than Mediator in this ..
    Regards,
    Sridhar.

    Sridhar,
    However , still my first question of mediator being limited to just components with in composites is still unclarified.OSB is primary service bus in OFMW 11g but as it is not integrated within composite (SCA), mediator is still being used as a service bus for routing transactions among components within a composite. In future release of OFMW, mediator engine might be removed from SOA Suite and OSB will be integrated within composite as well and in that case there will be only one service bus in OFMW stack. So until OSB, is not integrated with SCA, you may see two services buses but in future there will be only one service bus - OSB.
    So for all (major) service bus needs, it is advised to use OSB and for routing among components you have to use Mediator as of now.
    Regards,
    Anuj

  • Bypass authentication check while calling mediator exposed service

    Hi,
    I have mediated a secured service using Mediator. Previously it was running fine on Oracle SB (note that I need not to configure anything related to security policy in OSB). But now, after using Mediator, I am getting soapMustUnderstand error because of security headers passed in soap header. How to configure Mediator not to go for authentication. I can't attach any policy as my authentication mechanism is written in target service message handlers. I just want to use Mediator as routing mechanism.
    Thanks in advance...!!!

    This is happening in binding layer and not mediator. Ideally this error will occur during deserializing the SOAP envelope with SOAP header containing mustUnderstand = 1.
    This can happen for many reasons;
    1> If headers are not propagated properly to the target through mediator.
    a> If you want to passthrough all the incoming headers to target then use the following in composite.xml for that mediator.
    <component name="Mediator1">
    <implementation.mediator src="Mediator1.mplan"/>
    <property name="passThroughHeader">true</property>
    </component>
    Note: By default headers are not propagated.
    b> If you want to propagate only specific headers ex: username and password, use mediator assign to achieve the same.
    ex: <assign>
    <copy value="oracle" xmlns:wsse1="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" target="$out.header.wsse1_Security/wsse1:Security/wsse1:UsernameToken/wsse1:Username"/>
    <copy value="password" xmlns:wsse1="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" target="$out.header.wsse1_Security/wsse1:Security/wsse1:UsernameToken/wsse1:Password"/>
    </assign>
    2> There could be a mismatch in the namepsace in headers for which I suppose the only way is to use policy as of now.

Maybe you are looking for

  • E72 problem to activate silent mode with 031.023

    now it is very difficult to activate silent mode with the ctrl key !

  • Venezuela new currency VEF support in JDK 1.4.2

    Hi, Is there any plan to support new Venezuela's new currency code (VEF) in JDK 1.4.2 which is getting in effect from 1 Jan, 2008 ? Currently, jdk 1.4.2, 1.5 & 1.6 update 3 shows VEB even for future date. Following code returns VEB (old currency code

  • "local" html files hangs browser more that 3.X any work arounds?

    I have a program on another machine that creates an html file every 30 seconds. This html file has javascript which compares dates and figures out when to check for the next 30 second update. Works fine in the office. When I VPN in it takes longer to

  • Redeployment fails when using WLP + WLS 10.2 + hibernate

    Hi all, When using WLP, WLS 10.2 version, Oracle 10g database and application which uses hibernate as JPA, redeployment fails: <10.9.2008 11:44:11 EEST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID

  • I cannot open a website on Safari

    Hi everybody, I am the moderator of a forum, and the forum is pretty important to me and as of four days ago, I cannot access the forum at all. I've tried at different times but it will not let me access the forum at all. I've tried it on Safari, Fir