How to run business services as dynamically generated Subject?

Hi experts,
I have configured a business service which puts a message on a JMS queue in a weblogic container other than ALSB's weblogic container.The queue is configured with a security policy [say a 'MessagePublisher' role], so that only users with role of 'MessagePublisher' can send message to that queue.
We have different partners SFTPing messages(xml/csv/excel format) to us, of which only few of them would have a role of 'Message Publisher'. I have configured a proxy to read these files from a directory, however sender of some of these messages may not have a role of 'Message Publisher'.
I am expecting the senders' credentials to be appended to the message by some process on SFTP server. How can I generate a 'Subject' within a proxy using these credentials and do a run as on the business service, so that only users with the role of 'MessagePublisher' succeed in sending message to the queue.
I probably can configure my business service to run as a user account who has the relevant role, but I do not want to hard code the UserAccount within business service and obtain a user account using sender's credentials.
Is ALSB not supposed to be used as suggested above?Would highly appreciate any thoughts on this..
Regards.

The JMS business service can use only a static service account. I think this has an undesirable implication that the business service cannot be invoked as a dynamically generated subject.
Only way I know of to enforce role based access control in this scenario is to have an extra proxy service in front of JMS business service. Enforce access control over this extra proxy service.
To invoke this extra proxy service with credentials embedded embedded in the message, I think you need to look at "custom authentication" option under message level security. I am not sure how this would work. May be someone here can explain that.

Similar Messages

  • OSB best practices to run business service on two different environments

    Hi.
    I am using Service Bus 11gR1
    Oracle Service Bus Version: [Oracle Service Bus L10N Dependencies 11.1 Fri Dec 4 17:43:22 EST 2009 ]
    Oracle Weblogic Server Version: [WebLogic Server 10.3.5.0 Fri Apr 1 20:20:06 PDT 2011 1398638 ]
    I deploy my OSB services on two different environments (development, production).
    How to setup business service to run on two different environments without changing source (business service transport Endpoint URI)?
    Thanks in advance.

    I am not sure of any tutorial.
    For your case if you just have one URI and you want to change the URI for the business service you can simply use the OSB Customization file.This is straight forward.
    If you have complex routing logic based on inputs fields ,you can follow the below steps,
    Create a simple table with Business Service Name,Env and URI as columns.
    Create a select DBAdapter to return the URI
    Create a business svc out the DBAdapter files
    Use the business service to fetch the URI and finally
    Use the URI override( ref - http://www.oracle.com/technetwork/middleware/service-bus/learnmore/index.html)
    Edited by: Prabu on Feb 21, 2012 8:10 PM

  • 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

  • How to create Business Services in SLD

    Hi Experts,
    I'm working on SAP background and wanted to learn SAP-XI.
    I'm interesting to work in XI and for this need your support.
    I installed XI in my PC and wanted to start learning.
    But there are no Business Services (or) Systems configured in the SLD.
    I want to start with a simple FILE to FILE scenario.
    Could anyone please tell me how to create services in SLD and carry on from there.
    Thanks,
    Prajwal

    Hi,
    please look at the bleow links
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/4013f6bb-7ec3-2b10-62b5-e5be01e498f7
    Blogs
    /people/srinivas.vanamala2/blog/2007/02/05/step-by-step-guide-xml-file-2-xml-file-scenario-part-i  - Step by Step Guide: XML File 2 XML File Scenario: Part I
    /people/srinivas.vanamala2/blog/2007/02/05/step-by-step-guide-xml-file-2-xml-file-scenario-part-ii - Step by Step Guide: XML File 2 XML File Scenario: Part 2
    Regards,
    Pradeep A.
    Edited by: Pradeep Amisagadda on Apr 16, 2010 9:39 AM

  • How to run 1 service

    I didn't run solaris for years. And this is a new contact.
    In the good old time, it was possible to boot as siingle user, go to /etc/init.d and run a
    sh service
    as I can always do with other *nix.
    how can I run ONE service with this "@#{[~#{|[(" smf.
    Do I have to completely configure a special runnning level.
    It seems to me that sun want an AIX 6 !

    What exactly is your question? Are you trying to start an existing
    service? Or are you trying to install some new software and
    you're tryingo to find out how to start that service under smf control?
    To start an existing service:
    - if it hasn't been converted to "smf"
    /etc/init.d/service start
    e.g. /etc/init.d/samba start
    - if it has been converted to "smf":
    svcadm enable -t {service_id}
    e.g. svcadm enable -t svc:/system/keymap:default

  • How to expose to test automation dynamically generated third party component

    We need to expose to test automation extended check box (which is not our component), that is dynamically generated and works together with tree.
    So, our application contains the  following code:
    import org.sepy.ui.CheckBoxExtended;
    checkBox = new CheckBoxExtended();
    Then all properties of check boxes are set dynamically.
    These check boxes are  used with the tree, to select  any of its nodes.
    When using test automation tool (we are evaluating RiaTest), automation tool agent sees the tree, but it does not see checkboxes, and therefore selection  of tree node cannot be automated.
    Is there any  way to make automation tool agent see this check box? There is a procedure for instrumenting custom components, but this is like third party component.
    Thanks,
    Miroslaw

    I am beginning to think that there is no solution to my problem. Let me better define the problem:
    1. Automation tool does not see extended check box.
    2. The container of extended check box is standard tree (nothing to instrument).
    3. Extended check box is third party component which was derived from standard button, and not standard check box (theoretically nothing to instrument again).
    4. Extended check box was used in item renderer class of the tree.
    Maybe elements used in item renderers cannot be exposed to automation tools (I have tried FlexMonkey and RiaTest, but they both failed)?

  • How to use web services with Dynamic url behaviour

    Hi,
    IView created by me currently uses some web services whose url behavior is static but i want to give a dynamic url behavior. i.e. i want to use the url which user provides. So here are my questions
    1. How I shall assign the url supplied by the user to IView?
    2. If I want to set some config variables during runtimes how I shall do it?
    Thanks in advance,
    Vishvesh

    Hi,
    1. I'm guessing you mean the webservice's url the user provides is pointing to an identical webservice to what you used to create your proxy... otherwise I think it will be very hard to do (I can imagine creating the proxies using the wsdl tool in run time or using code dome.. but that can't be what you want, right?).
    So if what you wanted is to use the same web service with a different url, then the web service's proxy class you created has API for doing this in code! (it inherits it)
    2. you can't, simply since the portal application doesn't ever use the config file... it isn't even deployed to the portal... so dynamic properties are "out of the question" here, sorry... see 1 again
    Regards,
    Ofer

  • How to run oracle stored procedure dynamically

    How can I call a stored procedure dynamically. My requirement is to call a stored procedure based on user selection on a parameter screen. I do not want to hardcode proocedure name, but rather call dynamically.
    If I use the same methodology as of running dynamic sql's Iam getting an error.
    "invalid SQL statement after call to procedure"
    v_cursorid INTEGER;
    v_cnt NUMBER;
    v_sqlstring VARCHAR2(2000);
    v_sqlstring := 'execute insert_job_status('''||TO_CHAR(SYSDATE,
    'dd-mon-yyyy HH:mi:ss')||''');';
    v_cursorid := dbms_sql.open_cursor;
    dbms_sql.parse(v_cursorid, v_sqlstring, dbms_sql.v7);
    --cnt        := dbms_sql.execute(v_cursorid);
    dbms_sql.close_cursor(v_cursorid);

    EXECUTE is a SQL*Plus command. try
    v_sqlstring := 'begin  insert_job_status('''||TO_CHAR(SYSDATE,
    'dd-mon-yyyy HH:mi:ss')||'''); end;';Cheers, APC

  • How to run Naming service in WebAs server using telnet

    Hi
       i have a requirement to start a naming service in WebAs server.I have seen all the services running in server using telnet.But i haven't find naming service.So i have to start it.so pls send me the command and the way how to start it.

    Hello Bhogi,
    The naming service is a core service so it should always be started. You can check it via telnet using lss command on the server shell or in the visual administrator if you navidate to server-> services -> JNDI Registry.
    I suspect that you have not seen the naming service via telnet as you were on the dispatcher node instead of on the server.
    Best Regards
    Vyara

  • How to refresh business service in OSB

    Hi,
    I created business & proxy service (consume URI) in OSB. Now service is changed. Is there possibility to simply refresh/renew business/proxy service in Eclipse or I have to delete it and create it again?

    What do you mean by "service is changed"?
    If you mean that the osb project name has changed and you want to reuse the same resources, then you can try the Move option on the resource or use the Clone resource option.
    There might be some conflicts that you will have to resolve if you use the clone with proxies and ws-ploicy files.
    Thanks,
    Patrick

  • How to run IDS without EWPS and generate the PDF output and show it on user browser?

    How can we run IDS from custom code with xml input. I want to achieve this without EWPS. The end results should be a PDF in either byte array or URL.

    The doc is here http://docs.oracle.com/cd/E22582_01/sdk_book.pdf.
    Depending of what language you are using you would need to look at examples in specific language.

  • How to find function code for Dynamic generated program

    Hi,
    I have created a dynamic program for getting different selection screens depending on inputs . I am finding a flaw that, pressing 'BACK' buttn is leading some other action which was coded by me,  instead of going back.
    SY-UCOMM is also not working as it is dynamic program.
    Help me for getting previous screen.
    Please suggest me the inputs.Thank u
    Regards
    Aditya

    Hi Klaus,
    As per ur instructions, I replaced SY-UCOMM with SSCRFIELDS.
    But no change in my problem.
    The following screen shot is a program which is coded dynamically using fieldsymbols.
    When I press BACK here for the following code selectionscreen, I am getting someother action which was coded by me. But not going back.
    Twist is, SSCRFIELDS-UCOMM or SY-UCOMM is getting captured for 'F8', but not 'BACK'.
    I hope, I have explained my issue clearly. Please let me know, if any deep clarifications needed.
    Regards,
    Aditya

  • USe of Business services with BPEL or ESB

    Hi,
    Has anyone come across any example on how to use Busiess services with BPEL or ESB.
    Oracle App Server , JDE 812 , Tools 8.98 , SOA suite 10g

    Samir,
    I don't see any answer for your post.
    Did you find a solution. I would be interested to know as how to integrate business services in JDE with BPEL/SOA 10g or 11G.
    I would appreciate if you could share the approach/solution you followed.Also, please let me know if there are any docs which I can for jde-fusion integration.
    Thanks
    Edited by: user13374451 on Jul 26, 2010 9:15 AM

  • Soap proxy to jms business service response not available.

    Hi
    Please can anyone help me with this really urgent, help is greatly appreciated.
    We have one Proxy Service which takes in SOAP Request, and I have a route node in it which calls the biz service.
    Business service is a Messaging service built using jms queue and response URI is configured with jms out queue.
    If I run business service standalone it gets the message and response comes to out queue.
    if I run it through proxy service which routes to biz service, the message goes to biz service, and response goes to out queue, but I do not get response in http proxy.
    Please can someone help.
    thanks
    K.

    Basically the logic to consume msg requires full SOAP message as text, now when I use BS as Messaging Service it works fine because in test I put the full soap message as text. If I run it through Proxy it strips the header and sends only Body or if I base both my BS and PS using WSDL, then it attaches full soap message in multiple soap header and that causes the problem, so I have to remove extra header from message to have it processed correctly.
    this is my actual request:
    <SOAP-ENV:Envelope      xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Body>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    the trace shows that request to BS is:
    <soapenv:Body      xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Envelope      xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
    <SOAP-ENV:Body>
    /SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    </soapenv:Body>
    so my message consumer has problem with extra soapenv:Body wrapper... any ideas will help.
    thanks
    K.

  • How do I build a dynamic business service URL in OSB 11g?

    Hello,
    I am used to using the business service endpoint URIs that we configure on the Transport tab of our business services in OSB 11.1.1.6.  We can add multiple static entries here for load balancing, and we can overwrite these with a Customization File as we migrate through DEV, TEST, PROD.  Everything's just fine there.
    I now need to start consuming RESTful services with dynamic URLs such as:
    http://host:port/customer/{customerId}
    that would result in HTTP calls to values like:
    http://host:port/customer/12345678
    and
    http://host:port/customer/55555555
    I see that I can build the URI using the Routing Options action in our proxy message flow and throw in all of those variable values at runtime.  This is working in DEV just fine.  And, effectively, I've overridden the business service endpoint URIs that we configured in the Transport.
    But now I want to:
    1) Use multiple endpoint URIs for our cluster
    2) Deploy to TEST
    What is the proper way to do this?  I would guess in the business service endpoint URIs in the customization file, but I don't know how to parameterize those.  I would also guess customization file find/replace functionality to change the host:port in my Routing Options action, but then that would still be just a single-node endpoint and not a pointer to multiple servers in our cluster.
    Can someone please advise the best way to configure these dynamic URLs at runtime while still allowing for clustered endpoints and for customization files to be applied as we promote through our environments?
    Thank you,
    Michael

    Found some old code.
    I think you need to do
    property_text = "#"^variable_text
    then you can do the following
    property_list[1][property_text]
    That seemed to work.

Maybe you are looking for