Proxy Service Deployment in OSB

Hi
I Have a requirement where i wnat to deploy same Proxy services with deferent versions. i dont wnat this to be reflected in my service name. so what i am doing is
creating deferent folders like v1, v2 and deploying the same service in bothe thse folders having endpoint URI deference in v1, v2.
i am bit curious to know if there is any impact to run time proxy instances as bothe of them are same. i just want to confirm before hand that there are no conflicts in run time behaviour of Proxy service.
any sugestions and answeres well appriciated.
thanks in advance
mr

Hi mr,
I don't think you'll be able to do this in the same OSB instance, although I may be mistaken. If both proxy services have the same name, then OSB will try to export both of them with the same name and there won't be any way to distinguish between them. Is the interface the same between the versions? What do you expect the behavior to be, i.e., which service will get called when Tuxedo calls the service?
Regards,
Todd Little
Oracle Tuxedo Chief Architect

Similar Messages

  • OSB Proxy Service deployed in cluster environment FTP issue

    Hi,
    I have a OSB 11g proxy service based on a FTP JCA adapter. Here are the JCA settings:
    <connection-factory location="JNDI_FILE_TOKEN" UIincludeWildcard="FILENAME_TOKEN"/>
      <endpoint-activation portType="Get_ptt" operation="Get">
        <activation-spec className="oracle.tip.adapter.ftp.inbound.FTPActivationSpec">
          <property name="DeleteFile" value="true"/>
          <property name="MinimumAge" value="0"/>
          <property name="PhysicalDirectory" value="FOLDER_TOKEN"/>
          <property name="Recursive" value="false"/>
          <property name="PollingFrequency" value="30"/>
          <property name="FileType" value="ascii"/>
          <property name="IncludeFiles" value="FILENAME_TOKEN"/>  
        </activation-spec>
      </endpoint-activation>
    When I deploy this proxy in a cluster (having 2 osb nodes) and place the very first file on FTP server. Both nodes pick the file simultaneously. But after this when I place files on FTP server only one node is picking file. Could you kindly tell where is the issue ?
    Thanks and Regards

    Hi Mani,
    Do check the configuration of ProxyService-2 that it is enabled or not.
    Do check the input payload of it, that ProxyService-1 is passing the correct payload to ProxyService-2.
    Redeploy the ProxyService-2
    There is some issue in your proxyService-2.
    Regards,
    Richa

  • Where is the Proxy Service deployed?

    Hi
    This is about the internals of the service bus.
    I want to see the deployment unit that matches the Proxy I have created.
    Where is it?
    Where in the CONSOLE (not the sbconsole) can i see it deployed?
    kind regards
    kambiz

    Proxy services except of jms transport are not deployed as standard j2ee deployment units - (ear, war, rar etc). Instead these deployment units are xml config files which will be understood only by the osb product j2ee applications. You will not be able separate individual proxy services from this.
    Proxy services with jms transport are deployed as MDB's under the hood and you will be able to see these deployments under wls console --> Deployments with random names.

  • ALSB Proxy services deployment management

    Hi all,
    I have a problem now.
    We have many proxies services running in a ALSB domain.
    Some of them need to transfer hundreds MB XML data very frequently. They are listening to a JMS queue. And when they are working, they will cause the whole system too heavy-loaded to work.
    So we want to add a new server into this ALSB domain to run the data transfer proxy services.
    Because the data transfer proxy services have too much dependencies to separate, our thought is to deploy the all the projects to the new server and control the data transfer proxies only run on the new server.
    Is it possible? Can I specify some JMS proxy services only running on server1 and other proxy services running on server2 (server1 and server2 are in the same domain) in ALSB?
    Thanks in advance.
    Garriot Zhang

    Is it possible? Can I specify some JMS proxy services only running on server1 and other proxy services running on server2 (server1 and server2 are in the same domain) in ALSB?No. When a proxy is deployed it gets deployed to all servers. OSB does not give explicit control on which server a proxy should be deployed.
    Manoj

  • OSB Setting SOAP Body Id value in proxy service when calling out to another service

    I have a proxy service deployed in OSB.  I need to set the Id attribute value on the SOAP Body element to a specific value prior to invoking the business service.
    In the service callout I currently has  "Configure Payload Document" selected.
    Do I need to do an XPath / XQuery transformation in an Insert or Update message processing action in a prior step of the message flow before the callout to the business service?

    Suppose below is your request you are passing to Business Service :
    <math:input
    xmlns:math="http://www.math.org">
        <math:inp1>100</math:inp1>
        <math:inp2>1</math:inp2>
        </math:input>
    Now before passing it to BS you need to change the value of inp2 to let say 200.
    So just before service callout , add a replace action
    Replace [ node contents ] of [ ./math:input/math:inp2 ] in [ body ] with [ 200 ]
    Your new request will become:
    <math:input
    xmlns:math="http://www.math.org">
    <math:inp1>100</math:inp1>
    <math:inp2>200</math:inp2>
    </math:input>
    Hope this helps.
    Regards,
    Karan
    Oracle Fusion Middleware Blog

  • Need JAVA API to list down all the Proxy Services in OSB Console 11g

    Hi,
    I need a java API to List down all the Proxy Services present in OSB Console for SOA 11g (11.1.1.5). I am in a situation where I cant use python script for the same.
    any help will be much appreciated.
    Thanks in Advance,
    Ravi
    Edited by: 899443 on Oct 1, 2012 4:13 AM

    AFAIK it is proprietary.
    What I do in a similar situation is to form XML for the services, package them into JAR the same way as an import JAR is packaged (creating ExportInfo resource, ...) and deploy with standard WSLT script. Works for simplest services only (direct proxies mostly) but I can also form security, alerts, throttling etc etc etc -- all in one shot.
    Out of sheer interest, may I ask you a question? Why do you need to create OSB services from Java?
    Vlad
    http://vladimirdyuzhev.com

  • How to use "Routing Table" option in Proxy service in OSB ?

    Hi,
    I have created Business and Proxy services in my OSB console. I have used "Custom Query" option while creating the Database Adapter and I'm passing one input parameter to the query. My input parameter is "Name".
    Based on the input values for this parameter, I need to pass a corresponding values to the query. For example, If I pass the following values to "Name" input parameter (India) I need to pass "Value1" to my query -
    India --> Value1
    China --> Value2
    America --> Value3
    To achieve this requirement, I have used "Routing Table" option. I have specified the values as follows -
    Expression - $body/fet:FetchCustDataInput/fet:Name
    Operator- '='
    Compare value - India
    Service - "My Webservice"
    Operaton- "My Service Operation"
    In the "Request Actions:" I have added the "Add an Action --> Messaging Processing --> Replace" and provided the following values -
    Replace <XPath> = $body/fet:FetchCustDataInput/fet:Name
    in Variable = "Name"
    with Expression = xs:string('Value1')
    and selected "Replace node contents" option.
    No validation errors I faced. I have created the Routing table in Proxy service. But when I try to execute the proxy service in my Test Console, I get the following error message -
    "The invocation resulted in an error: Unknown error while processing message for service ProxyService OSBQueryService/FetchByCustomQuery/FetchByCustomQueryPS."
    I have even enabled "Direct call" and "Include Tracing" options as well. The message under "Tracing" give "(echoing request)
    Routed Service. No Service has been invoked, the request is echoed.".
    Can anyone please help me to resolve this issue.
    Thanks in Advance,
    Udaya

    Did you put any loggers in the proxy at request pipeline prior to route node ? Can you trace if the request has entered request pipeline aleast.
    If not just check the transport headers under the request window in the test console. There should be a text box for entering username/password which should be left blank. I have faced this unknown exception from test console in some browsers where an incorrect username/password used to get populated here. Check this ..
    Edited by: atheek1 on Jul 22, 2010 2:02 AM

  • OSB Proxy Service routing

    Hi,
    I have a simple Proxy Service which consumes messages from a remote endpoint queue (source queue). The Proxy Service simply routes consumed messages to a Business Service which puts messages into another remote endpoint queue (destination queue).
    When I test passing a message to the Proxy Service using the OSB's Test Console, the Proxy Service routes the message to the Business Service okay where the message is then placed into the remote endpoint queue (destination queue) as expected. But, if I put a message into the remote source queue, I can see that the message gets consumed by the Proxy Service but the message remains as 'pending' and, either the Proxy Service does not route the message to the Business Service or, the Business Service does not put the message into the remote destination queue. What could the problem be?
    Thanks in advance for any help on this.

    Hello,
    Still looking for an answer to this.
    Scenario:
    When enabled, OSB Proxy Service removes any messages placed in remote endpoint URI queue, but it seems the messages do not flow within the Proxy Service's message flow itself. When the Proxy Service is enabled, the messages in the remote queue get removed but are seen to stay in a 'pending' state. When the Proxy Service is disabled, the messages get put back in the queue. What are the possible reasons as to why messages would not get processed within the Proxy Service's message flow? All the message flow does is, route the messages to a Business service which then sends the messages to another remote endpoint URI queue.
    PS: When a message is injected into the Proxy Service via the Test Console, the message flows/routes to Business Service okay without problems so I assume that the problem must lie in the inital remote queue/Proxy Service interface somewhere. Maybe permissions or transaction related issue? But I can't see any hints to anything wrong in configurations or server(s) logs...
    Thanks in advance for any help on this.

  • Proxy service disable problem in OSB

    Hi All,
    I have two proxy services in a OSB project (one with OWSM policy and other without OWSM policy applied to it). Apart from this the two proxy services are implemented in the exactly same way. When I disable the proxy service to which OWSM policy is attached, and when I click the WSDL of the disabled proxy in browser it is automatically being redirected to the wsdl of other proxy service which doesn't have OWSM policy attached to it. I don't understand how it's happening. The only reason that I could think of is namespace of wsdl's which is different for both proxies (one has http://company.com/service and other is http://company.com/service/). Can anybody explain this issue?
    Adi

    Vlad,
    The URL is same, but the content from the wsdl of Proxy service which doesn't have OWSM policy attached to it. Ideally it should display 404 error when the proxy is disabled, but on the contrary it is displaying the content of other Proxy service which has endpoint similar to this.
    The only difference in the endpoints between the two services is:
    Proxy with OWSM: B2B/Gateway/Legacy
    Proxy without OWSM: B2B/Gateway
    I've cleared the cache memory in IE. Even asked other's to open it in their systems.
    Thanks,
    Adi

  • JMS Distributed Destinations as proxy service endpoints

    We have a cluster of 2 ALSB servers with a proxy service deployed
    listening on a JMS queue which is a distributed destination (DD) on a
    WLS 8.1 system.
    The JMS DD is spread across 4 JMS servers and 4 JVM's.
    When ALSB starts up - we only get consumers on 2 of the 4 DD members,
    which makes sense as a JMS proxy service is essentially an MDB, and this
    is normal MDB/distributed destination behaviour - it will bind to the
    queue member where it first makes the connection to the JVM.
    How do I make sure my messages are consumed from all 4 DD queue members?
    There is a JMS option to forward messages to queues with consumers if no
    consumers exist - is that the way to do it?
    Someone must have come across this before and I'd be grateful for any
    advice.
    Also - how do you reduce the consumers on the JMS queue - seems to
    default to 16. Perhaps you don't.
    Thanks,
    Pete

    Meghan Pietila wrote:
    Update: I see your exchange with Tom over on the JMS forum, Pete. We just switched everything to WLS 9.2, so maybe the ALSB internal extension will work for us. It's not working by default, so possibly it's something that must be activated... I'll follow up with BEA.
    http://forums.bea.com/thread.jspa?threadID=570001317
    I'd still like to hear what you end up working with, if you don't mind sharing once it's running. :)
    MeghanI only have 8.1 as an option - a JMS proxy service is essentially an
    MDB, and if you deploy an MDB in the same way, it will only bind to a
    single destination, so it's actually behaving as I would expect.
    The forward delay on the queue probably won't be an issue for us, as
    we're not talking about high volumes and large messages, but for some
    sites there will be alot of moving around queues, access jms filestore
    etc which you could do without.
    I reckon the trick is (as Tom mentioned) to bind to individual
    distributed queue members from the proxy service somehow.
    I'll let you know what I find out.
    Pete

  • Error while deploying polling dbadapter as proxy service in osb console

    Hi all,
    I have created a db adapter in Jdeveloper and imported it into oepe. I have create a proxy service from that . Which i have just deployed to verify on doing so i am getting the following execption.
    <Internal error occured in OSBConsole : null
    java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    Caused By: java.lang.NoClassDefFoundError: oracle/tip/adapter/api/NeedRARClassLoader
        at oracle.tip.adapter.sa.impl.meta.JCABindingEndpointMetadataHelper.validateJCAOperationSpecProperties(JCABindingEndpointMetadataHelper.java:272)
    I have admin server and no other managed servers. I have configured the Dbadapter and redeployed the adapter. I have tested the connection using a sample BPEL and it's working fine. Any suggestions......
    Thanks

    Hi Vladodias,
    Thanks for the reply. My dbadapter is active and is deployed to admin server i have checked it twice . I have no managed servers as all of them were in development mode . I have targeted the db adapter to the admin server.
    Here are the versions i am using
    Jdev 11.1.7
    WLS 10.6
    SOA Suite 11.1.6
    OSB 11.1.7
    Thanks....

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

  • OSB proxy service and BPEL depedency is not established in BTM

    Hi All,
    I am using BTM 12.1.0.3 and I have deployed a service where an OSB proxy service is taking employee information and callling a BPEL process which writes data in some database table. The OSB proxy service and BPEL got discovered in BTM but the dependecy between OSB Proxy service and BPEL process is not established in BTM. I have used soa-dorect protocol to call the BPEL from OSB. I have also tried with using http protocol in OSB for calling a BPEL but nothing worked and the depedency is not established in BTM.
    Now I want to create an end-toend transaction i.e. starting from OSB proxy to the database. For this I selected OSB proxy operation and BPEL operation but correlation is not established. How can I correlate these operation? And how can I create an end-to-end transaction for this type of service where OSB calls a BPEL?
    Please guide!!
    Thanks in advance!!

    you can manually correlate any number of services to create an end-2-end transaction. Please see http://docs.oracle.com/cd/E24628_01/doc.121/e37014/transactions004.htm#BABDBDFI on how to manually correlate services in BTM.

  • OSB: Proxy Service and Dispatch Policy

    Hi all,
    I'm trying to use OSB (10.3) proxy service with dispatch policy set to WebLogic (10.3) work manager to limit maximum number of threads allocated for request to this proxy service.
    It seems to me that whole dispatch policy setting is ignored in OSB. The situation is like this: I have simple Axis based web service with wait method that just waits for few seconds (based on request parameter). I use this service for testing (hm, so far just for trying to understand) OSB dispatch policy function.
    Using soapUI I created a simple load test which uses 10 threads to call wait(10) - it means "wait for 10 seconds". Time limit for the whole load test is set to 20 seconds. It is clear that the total execution count is 2 x 10 = 20. So far, so good.
    Then I created simple proxy service in OSB that just routes request to business service representing my Axis service with wait method. I set a dispatch policy for the proxy service to WorkManager-2threads (see below) and I expected that running the same load test with endpoint set to OSB would result in significant lower total execution count. I expected that because WebLogic should allocate 2 threads at most for all requests to this proxy service. However, that's not the case as the result is the same as in the first (Axis only) test. Just as there was no dispatch policy settings at all ...
    Where is the problem?
    This is the relevant part of my WebLogic configuration regarding work manager:
    <max-threads-constraint>
    <name>MaxThreadsConstraint-2</name>
    <target>AdminServer</target>
    <count>2</count>
    <connection-pool-name></connection-pool-name>
    </max-threads-constraint>
    <work-manager>
    <name>WorkManager-2threads</name>
    <target>AdminServer</target>
    <max-threads-constraint>MaxThreadsConstraint-2</max-threads-constraint>
    <capacity xsi:nil="true"></capacity>
    <ignore-stuck-threads>false</ignore-stuck-threads>
    </work-manager>

    It's same problem to me. I do pressure test by loadrunner,I deployed two separate proxy service,under same concurrent user,I get same TPS from the two proxy service.but when I add low priority concurrent user,low priority TPS up.
    I set the Route option as you say,but weblogic hanged immediately,and can't be accessed by the console.

  • Using weblogic unit-of-order (UOO) in osb proxy service

    Hi,
    I have a JMS Queue deployed to Weblogic server. The messages inside the queue are grouped using the JMS_BEA_Unit-of-order (UOO) Weblogic feature.
    Now i have a OSB 10g Proxy Service which reads messages from this Queue. The problem is, on recieving a message, acknowledgement is send immediately, thus removing the message from the Queue and next message with same Unit-Of-Order is ready for processing.
    But the business scenario needs the first message to be read, processed and then decide to acknowledge or not. The second message should not be read unless the previous message is processed successfully.
    Can anyone help with this scenario?
    Thanks,
    Alex
    Edited by: user9024636 on Feb 11, 2010 2:57 AM

    Hi Steve,
    I don't know what you need UOO for, but, for some use cases, its sufficient just to configure a default UOO on the sender's connection factory.
    Propapagation of a UOO from one desitnation to another is not automatic (except via SAF, or unless OSB somehow does it for you). Plain vanilla JMS apps do this by calling msg.getStringProperty("JMS_BEA_UnitOfOrder") on the received message and setUnitOfOrder() on the javax.jms.WLProducer.
    You might find that there's more OSB expertise on an OSB newsgroup (I think it's one of the newsgroups under [url http://forums.oracle.com/forums/category.jspa?categoryID=194]SOA & Process Management).
    Regards,
    Tom

Maybe you are looking for