Oracle SOA Suite DB Adapter with BPEL

Hi All,
I am using an inbound DB Adapter to poll a tabe and fetch any new inserted records.
My implemented flow
DBAdapter (Reads Data from database) > BPEL Process
In my table i have a status column which needs to be updated if the record fetched is successfully processed by the BPEL.
In the adapter configuration wizard i have the selected "Update Field in Table (Logical Delete) "
This works fine for successful processing but i dont have any idea on how to avoid the updation of the status column if the BPEL throws an exception.
Can anyone please help me on this asap as i need to implement this in my project.
Thanks and Regards,
Sachin

that is either make the read op in the bpel service sync or set the invocation mode on the "partner link" to sync.
Cheers

Similar Messages

  • Deploy using admin_client.jar to Oracle SOA suite started up with java cmd

    Hey,
    Someone at work asked me to create a deployer command to deploy to a locally running OC4J SOA suite. I got it working like this:
    java -jar %ORACLE_HOME%\j2ee\home\admin_client.jar deployer:oc4j:opmn://localhost/home oc4jadmin oc4jadmin -deploy -file <path> -deploymentName <appname> -bindAllWebApps
    However when I implemented this using Maven2 there was a problem. It seems the SOA suite OC4J instance gets started up alternatively to get debugging to work. I started it up using the startupconsole which is automatically used in the Windows XP start menu.
    They start it up like this:
    java -Xrs -server -XX:MaxPermSize=128M -ms512M -mx1024M -XX:AppendRatio=3 -Djava.security.policy=$ORACLE_HOME/j2ee/home/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false -Djava.net.preferIPv4Stack=true -Xdebug -Xrunjdwp:transport=dt_socket,address=5000,suspend=n,server=y -jar oc4j.jar
    This causes the URI for deployment to be invalid. I tried lots of other URI forms I found online but none of them work. Maybe you guys know?
    Thanks in advance

    Something noteworthy it seems...
    I added a few extra lines to the command to enable logging (as found here)
    http://theblasfrompas.blogspot.com/2007/12/adminclientjar-giving-standard-could.html
    This results in the following peculiar stacktrace:
    C:\Thomas\appz\OC4JLA~1\j2ee\home>java -Djava.util.logging.config.file=logging.p
    roperties -jar admin_client.jar deployer:oc4j:opnm://localhost:6003/home oc4jadm
    in oc4jadmin -validateURI
    SEVERE: Oc4jDeploymentFactory.getDeploymentManager For input string: "//localhos
    t"java.lang.NumberFormatException: For input string: "//localhost"
    at java.lang.NumberFormatException.forInputString(NumberFormatException.
    java:48)
    at java.lang.Integer.parseInt(Integer.java:447)
    at java.lang.Integer.parseInt(Integer.java:497)
    at oracle.oc4j.admin.jmx.client.Oc4jDomainFactory.getDomainFromDeployerU
    rl(Oc4jDomainFactory.java:283)
    at oracle.oc4j.admin.deploy.spi.factories.Oc4jDeploymentFactory.getDeplo
    ymentManager(Oc4jDeploymentFactory.java:127)
    at javax.enterprise.deploy.shared.factories.DeploymentFactoryManager.get
    DeploymentManager(DeploymentFactoryManager.java:112)
    at oracle.oc4j.admin.deploy.api.J2EEDeploymentManager.validateURI(J2EEDe
    ploymentManager.java:911)
    at oracle.oc4j.admin.deploy.cmdline.ValidateURICommand.execute(ValidateU
    RICommand.java:61)
    at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.executeCommand(Oc4j
    AdminCmdline.java:96)
    at oracle.oc4j.admin.deploy.cmdline.Oc4jAdminCmdline.main(Oc4jAdminCmdli
    ne.java:73)
    Failed at "Could not get DeploymentManager".
    I find this peculiar because I use an URI format as specified in the documentation.

  • Integration with PeopleSoft Applications Using Oracle SOA Suite 11g BPEL

    Hi,
    I'm integrating BPEL with Peoplesoft FSCM 9.0 Application on tools 8.49 using Oracle SOA Suite 11g. The BPEL invokes the web service method generated from Peoplesoft Component Interface in a synchronuos manner.
    I have deployed the BPEL in Oracle SOA Suite 11g using Jdeveloper successfully but I have problem in configuring the BPEL node in Peoplesoft side using Oracle SOA Suite 11g(FMW) . I had done the integration of BPEL with Peoplesoft FSCM 9.0 on tools 8.49 using Oracle SOA Suite 10g earlier successfully by configuring BPEL node properties as follows:
    BPEL CONSOLE : http://Host Name:8888/BPELConsole (System with Oracle SOA Suite 10g server for deployment)
    BPEL DOMAIN : default
    Using this BPEL node configuration, I was able to ping the BPEL console of Oracle SOA Suite 10g from peoplesoft and hence complete the integration successfully.
    Now in order to acomplish Business rules and other functionality, the BPEL application has been developed in Oracle SOA Suite 11g using Jdeveloper 11g. This time I'm not able to configure the BPEL node in Peoplesoft for this integration as I'm assuming there is no separate BPEL console in Oracle SOA Suite 11g. All the BPEL deployments are administered in console (11g console used for deployment of BEPL)
    http://Host Name:7001/em (System with Oracle SOA Suite 11g server - Fusion Middleware).
    So when I Configured the BPEL node property in Peoplesoft as :
    BPEL CONSOLE : http://Host Name:7001/em (System with Oracle SOA Suite 11g server for deployment)
    BPEL DOMAIN : default
    I'm not able to ping the Peoplesoft BPEL node to the Oracle SOA Suite 11g. Hence I'm not able to proceed with my integration.
    When I searched the OTN discussion forum on BPEL console for Oracle SOA Suite 11g, all threads point that there is no separate BPEL console unlike Oracle SOA Suite 10g. Also most of the articles for Integration with Peoplesoft Application using SOA 11g do not state any specific configuration setting for property of Peoplesoft BPEL node in order to integrate with BPEL 11g. The examples published in OTN still point towards screen shots of integration using SOA Suite 10g.
    So I'm not able to proceed in this regard.
    Any help in this regard is highly appreciated.
    Thanks in Advance,
    Girish
    Edited by: user11214154 on Nov 23, 2009 8:12 PM
    typo error

    Hi,
    I found this document from the Oracle Open World 2009 (maybe you have found it too) :
    "Integration with PeopleSoft applications using oracle soa suite 11g BPEL" --> [http://www.oracle.com/technology/tech/fmw4apps/peoplesoft/pdf/oow2009-bpel-psft.pdf]
    And this could be a little more simple, but have a good step-by-step tutorial.
    [http://www.oracle.com/technology/obe/fusion_middleware/fusion/soa/BPEL_PS848/OBE_PSFT_BPEL_848.htm]
    I think you must read this docs by now, but never come amiss.
    Hope this can help you,
    By the way, if you can help me with this I'll appreciate it a lot.
    Unable to access the following endpoint(s)

  • Oracle SOA Suite 11g (BPEL Process) Dependency with Database

    Folks,
    Oracle SOA Suite 11g requires a relational DB like Oracle, SQL Server to maintain the Metadata for the SOA & Related Components.
    Can you plz let me know with your experience - what should happen to a running BPEL Process if the database (SOAINFRA) is down? Being very specific -
    1, Does/Should end-point become inaccessible? Or Does service remains accessible but throws service remote-fault execption?
    2, What happens to a process which is in running state?
    My experience in these scenarios is not encouraging; we have notices the following -- during the time when our SOAINFRA database is down, the in-process (running) instances are left in a running state. These instances do not complete or move forward even when the Database is back. These instances do not provide any information in the Enterprise Manager.
    Also, if DB is down WSDL's are still accesssible, is this right way?
    If this is how SOA does work then I would doubt for its merit……...your thought plz????
    Thanks & Regards
    Shyam Kumar

    I am not posting here because I'm smart but because your questions look interesting.
    during the time when our SOAINFRA database is down, the in-process (running) instances are left in a running stateYou know that BPEL is a state-full product and it needs database support for persisting the process of state so if database goes down it is an expected behavior that processes may stuck in the same state where they were when DB went down. I don't see anything wrong with it.
    These instances do not complete or move forward even when the Database is back.Instances should auto/manually recoverable. If this is not the case then you may raise a SR with support.
    These instances do not provide any information in the Enterprise Manager. What information you could not find? Can you be more clear on this?
    Also, if DB is down WSDL's are still accesssible, is this right way?Yes, again it's expected because design time data also gets stored in DB only and hence if DB goes down, any design time data may not be accessible.
    If this is how SOA does work then I would doubt for its merit……...your thought plz????Why so? Alternative of DB is physical memory and that I don't think is perfect for long running BPEL processes and their heavy design time data. Moreover, it will create problems in terms of auditing, support and maintenance. If your requirement is such that it does not need any long running BPEL processes and even auditing is not required and use case is simple routing and transformation with no DB dependency then you may go for OSB which is a stateless product. BPEL is generally used for long running processes and hence DB is the best option, in my opinion at least.
    Regards,
    Anuj

  • Schematron validation error in BPEL, Oracle Soa Suite 11g

    Hi Friends,
    As per the requirement, I have to validate all the mandatory element values from an XML payload and need to send the consolidated report to the source application with all the validation failure elements.
    I am trying to implement Schematron validation in BPEL, but its giving me the following error:
    +<remoteFault>+
    +<part name="summary">+
    +<summary>oracle.fabric.common.FabricException: Cannot get Object part 'result'. No parts are set on the message</summary>+
    +</part>+
    +<part name="detail">+
    +<detail>Cannot get Object part 'result'. No parts are set on the message</detail>+
    +</part>+
    +</remoteFault>+
    I have followed the below process and created very basic sample composite.
    1) Extracted the validate.wsdl from bpm-services.jar.
    2) Imported the validate.wsdl into my Jdev Project.
    3) Created partenr link based on the validation.wsdl and used Invoke activty to invoke the partner link.
    4) Created .sch file and passed to input variable of the invoke activity.
    If any one knows about this issue, plz help me. Or if any one has developed an example on how to use schematron in BPEL plz share it with me.
    Thanks
    Ramesh

    1) How often did u see SOA suite being used in Non-Oracle Apps projects i.e projects that do not use Oracle Applications as the source data provider.Frankly speaking, not very often but still there are many customers who are using/willing to migrate on Oracle SOA Suite because of the many advantages provided by 11g stack.
    2) How much Oracle Apps knowledge is required for choosing the career of Oracle SOA Suite Integration Architect? I would say that both the technologies have very less in common so it never depends on your level of Apps knowledge to architect a SOA solution. You have to learn SOA from scratch but if you have prior experience in Oracle Apps then it may not be very difficult for you to go ahead with SOA.
    Regards,
    Anuj

  • Oracle SOA Suite 11g VS BPEL PM 11g

    Hello,
    What is the difference between SOA Suite 11g and BPEL Process Manager 11g?
    I understand BPEL PM is a component of SOA Suite 11g.
    What capabilities does SOA Suite offer more than BPEL Process Manager 11g?
    When does a customer choose BPEL PM 11g over SOA Suite 11g? I assume BPEL PM 11g will be less in terms of cost.
    Thanks,
    Ram

    Ram,
    What is the difference between SOA Suite 11g and BPEL Process Manager 11g?BPEL Process Manager 11g is a standalone product and it is part of SOA Suite 11g as well. SOA Suite 11g is actually a group of products and it includes -
    Oracle BPEL Process Manager
    Oracle Service Bus
    Mediator
    Oracle Business Activity Monitoring
    Oracle Web Services Manager
    Oracle Business Rules
    Oracle Human Workflow
    Oracle Event Processing
    JDeveloper and ADF
    Adapters
    Oracle Entitlements Server Basic
    Oracle B2B
    So you cannot compare SOA Suite with BPEL.
    What capabilities does SOA Suite offer more than BPEL Process Manager 11g?Oracle BPEL Process Manager enables enterprises to model, deploy, and manage BPEL (Business Process Execution Language) processes. It includes a BPEL business process modeler, a scalable BPEL run-time engine, an extensible WSDL binding framework, and a monitoring console. So use of BPEL is limited till business process implementation only whereas SOA Suite offers complete middleware SOA solution.
    When does a customer choose BPEL PM 11g over SOA Suite 11g? I assume BPEL PM 11g will be less in terms of cost.Yes, if you want to implement BPEL processes only then you can buy only BPEL Process Manager 11g but if you are looking for to implement a complete middleware SOA solution then licensing SOA Suite 11g will be the better option.
    Regards,
    Anuj

  • Oracle SOA Suite (10.1.3.1.x) with AS 10.1.2.0.2

    Hi
    We are planning to use Oracle SOA 10g R3 (BPEL &ESB) product with our current Oracle Application Servers 10.2.2.0.2 (Oc4j &Bc4j) , I need to know if Oracle SOA Suite 10gR3 (10.1.3.1.0) release can co-exist with our currently used version 10.2.2.0.2.
    Can we leave the current setup running as is and install the new SOA Suite 10g R3 on a new separate machines and interface it with our current environment.
    Thanks

    "When I was installing SOA 10.1.3.1.0 on oracle 10.2.0.1 and it was giving error that it needs minimum 10.2.0.3, just wondering 10.1.2.0.2 + SOA =will this work?"
    so you talk about the db version. SOA 10.1.3.x runs on 10.2.0.1 and above (I ran for the longest time on XE) and if I remember correctly that's a warning, and not a hard prereq.
    Regarding Appserver versions - soa 10.1.3 runs on AS 10.1.3 only

  • Oracle SOA Suite Installation with traditional Oracle Infrastructure

    Dear All.
    Good day, I have a question related to the Oracle SOA Suite, I need to know if I can use Oracle Application Server 10g Release 2 ( the traditional version) which contains the Oracle Infrastructure & Oracle Middle tier on the same product, Business Intelligence & Forms version, to work with Oracle SOA Suite 10.1.3 Release 3, to give the authinticatio & authoraization using Oracle Internet Directory not using the Java SSO.
    Is this has any effect of development the BPEL Processes or the web services? such as using specific Java containers??
    can I use this OAS 10g Realease 2 to deploy the web applications (J2EE) and integrate them with BPEL processes deployed on the Oracle SOA Suite Installation??
    I really need help, thank you in-advance
    Adham Hattab

    Hello.
    When you install SOA Suite you get typically a "home" and "oc4j_soa" container. You can deploy apps into the "home" container if you wish. Technically you could also deploy into oc4j_soa, but I strongly suggest leaving it alone!
    You can also do a 2nd Oracle install in a new Oracle Home to just have a J2EE server, in order to deploy web apps. Or, you can use WebSphere, Sun, or WebLogic, too. You can add a new OC4J container to your Oracle app server home. That is what we do typically - that way large apps can have their own JVM and memory, you can restart an OC4J container to "reboot" a problem app without impacting apps in other OC4J containers, etc.
    You can configure OAS to use OID or any 3rd-party LDAP for authentication/authorization, including Active Directory. At our site we use OID Directory Integration and Provisioning (DIP) to import AD users/groups into OID. This way corporate users/groups/logins are all available to OID, making SSO that much more powerful, with no need to create new accounts just for OAS.
    The install docs and/or MetaLink (My Oracle Support now) should have details on what versions of OAS work with OID. As I mentioned, we have Business Intel. & Forms (10.1.2) and SOA Suite (10.1.3.3) both using OID 10.1.4.0.1 (which itself is on top of OAS 10.1.2.2).
    Daren

  • Integration Scenario with Oracle SOA Suite and SAP

    Hi to all
    I have the following integration scenario:
    The customer have some applications in the integration landscape. All of this applications are integrated with Oracle Soa Suite.
    This customer, want to buy SAP ERP (ECC 6.0), and they want to integrate SAP ECC in their infrastructure.
    I told to them, that is necesary have Process Integration (PI), by have a services oriented architecture.
    But, I want to hear options, possibilities and comments. Where I find information related ?
    Thank you very much
    Dario

    Hi Rodriguez  ,
    you can use Oracle AS Adapter for SAP for integrating SAP system to oracle .
    some step you need to do in SAP ECC side for data transfer - like create TCP/IP RFC connection ,
    for TCP/IP RFC config. you can generate program ID in Oracle AS Adapter ..Also Oracle provides a SAP JRFC library  for integrating SAP system .
    you can find more information in given link -
    http://www.oracle.com/technology/products/integration/adapters/dev_support.html
    Regards,
    Amit Shivhare

  • Error while deploying BPEL into Oracle SOA Suite

    Hi All,
    I am facing an issue while deploying my bpel project into Oracle SOA Suite. Please find the following error log
    BUILD FAILED
    D:\jdevstudio10135\jdev\mywork\FirstApplication\WelcomeProjct\build.xml:78: A problem occured while connecting to server "localhost" using port "8888": bpel_WelcomeProjct_1.0.jar failed to deploy. Exception message is: ORABPEL-05215
    Error while loading process.
    The process domain encountered the following errors while loading the process "WelcomeProjct" (revision "1.0"): null.
    If you have installed a patch to the server, please check that the bpelcClasspath domain property includes the patch classes.
    at com.collaxa.cube.engine.deployment.CubeProcessHolder.bind(CubeProcessHolder.java:285)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:804)
    at com.collaxa.cube.engine.deployment.DeploymentManager.deploySuitcase(DeploymentManager.java:670)
    at com.collaxa.cube.ejb.impl.BPELDomainManagerBean.deploySuitcase(BPELDomainManagerBean.java:445)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor$1.run(JAASInterceptor.java:31)
    at com.evermind.server.ThreadState.runAs(ThreadState.java:620)
    at com.evermind.server.ejb.interceptor.system.JAASInterceptor.invoke(JAASInterceptor.java:34)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
    at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
    at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
    at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
    at DomainManagerBean_RemoteProxy_4bin6i8.deploySuitcase(Unknown Source)
    at com.oracle.bpel.client.BPELDomainHandle.deploySuitcase(BPELDomainHandle.java:317)
    at com.oracle.bpel.client.BPELDomainHandle.deployProcess(BPELDomainHandle.java:339)
    at deployHttpClientProcess.jspService(_deployHttpClientProcess.java:376)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
    at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
    at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    Total time: 2 seconds
    I am using JDevelpoer 10.1.3.5 and SOA Suite 10g. Please help me to figure it out.
    Thanks

    Make sure you use the similar version of soa suite and JDev 10135. If you are using JDev 10.1.3.5, your soa suite version should be 10.1.3.5. I was just wondering if you were ever able to deploy any other process successfully from the similar JDev and on similar SOA Suite ? If not you need to revisit your soa suite installation again.
    Also check the log files on the server to see if any errors are recorded.

  • Facing Issue With Oracle SOA Suite 11.1.1.3.0

    Hi All,
    I am facing some issues with ORACLE SOA SUITE 11.1.1.3.0.
    Hope you people can help us out.
    Please find the issue details below along with all the relevant information’s
    I have following SOA suite installation at my server:
    Oracle 10g Express Edition Universal 10.2.0.1
    RCU 11.1.1.3.3
    Web Logic Server 10.3.3.0
    SOA suite 11.1.1.3.0
    JDeveloper 11.1.1.3.0
    The first thing what I have done is created a web service and deployed it to server without any issue.
    After that I created proxy client for that service and accessed it successfully from the client end.
    Till here no issue occurs.
    After that I applied few policies on top of web service and deployed it to server.
    The policy I had chosen was “oracle/wss_username_token_service_policy” [coming under OWSM policies list]
    While deploying there was no issue, all went well.
    2nd step I had created client using “oracle/wss_username_token_client_policy” policy which is counter part of above policy and tried to access the web service but failed.
    I have followed this blog:
    [http://biemond.blogspot.com/2010/08/things-you-need-to-do-for-owsm-11g.html ]
    Please have a look on service and client code:
    Service Code:
    package Demo_ScoreCard;
    import javax.jws.WebService;
    import weblogic.wsee.jws.jaxws.owsm.SecurityPolicy;
    @WebService
    @SecurityPolicy(uri = "oracle/wss_username_token_service_policy")
    public class ScoreCardWithPolicy {
    public double getPercentageWithPolicy(double markEng,double markMath,double markHindi,double markScience,double markSsc)
    double result;
    result= ((markEng+markHindi+markMath+markScience+markSsc)/500)*100;
    return result;
    Client Code:
    package com.tec.proxy.client;
    import java.util.Map;
    import javax.xml.ws.BindingProvider;
    import javax.xml.ws.WebServiceRef;
    import weblogic.wsee.jws.jaxws.owsm.SecurityPolicyFeature;
    public class ScoreCardWithPolicyPortClient {
    @WebServiceRef
    private static ScoreCardWithPolicyService scoreCardWithPolicyService;
    public static void main(String[] args) {
    scoreCardWithPolicyService = new ScoreCardWithPolicyService();
    SecurityPolicyFeature[] securityFeatures =new SecurityPolicyFeature[] { new SecurityPolicyFeature("oracle/wss_http_token_client_policy") };
    ScoreCardWithPolicy scoreCardWithPolicy =scoreCardWithPolicyService.getScoreCardWithPolicyPort(securityFeatures);
    Map<String, Object> reqContext =((BindingProvider)scoreCardWithPolicy).getRequestContext();
    reqContext.put(BindingProvider.USERNAME_PROPERTY, "testclient");
    reqContext.put(BindingProvider.PASSWORD_PROPERTY, "test12345"); // I have added this to the myrealm from console under security realms
    double arg1 = 77.2;
    double arg2 = 79.2;
    double arg3 = 77.2;
    double arg4 = 76.2;
    double arg5 = 67.2;
    double clientResult =scoreCardWithPolicy.getPercentageWithPolicy(arg1, arg2, arg3, arg4,arg5);
    System.out.println("clientResult with policy =====> " + clientResult);
    Error Log:
    SEVERE: WSM-07617 Policy: oracle/wss_http_token_client_policy contains unsupported assertions.
    SEVERE: WSMAgentHook: An Exception is thrown: WSM-07617 Policy Policy: oracle/wss_http_token_client_policy contains unsupported assertions.
    Exception in thread "main" javax.xml.rpc.JAXRPCException: oracle.wsm.common.sdk.WSMException: WSM-07617 Policy Policy: oracle/wss_http_token_client_policy contains unsupported assertions.
    at oracle.wsm.agent.handler.wls.WSMAgentHook.handleException(WSMAgentHook.java:395)
    at oracle.wsm.agent.handler.wls.WSMAgentHook.init(WSMAgentHook.java:206)
    at weblogic.wsee.jaxws.framework.jaxrpc.TubeFactory.newHandler(TubeFactory.java:105)
    at weblogic.wsee.jaxws.framework.jaxrpc.TubeFactory.createClient(TubeFactory.java:68)
    at weblogic.wsee.jaxws.WLSTubelineAssemblerFactory$TubelineAssemblerImpl.createClient(WLSTubelineAssemblerFactory.java:148)
    at com.sun.xml.ws.client.WSServiceDelegate.createPipeline(WSServiceDelegate.java:467)
    at com.sun.xml.ws.client.WSServiceDelegate.getStubHandler(WSServiceDelegate.java:689)
    at com.sun.xml.ws.client.WSServiceDelegate.createEndpointIFBaseProxy(WSServiceDelegate.java:667)
    at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:362)
    at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate.internalGetPort(WLSProvider.java:855)
    at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate$PortClientInstanceFactory.createClientInstance(WLSProvider.java:967)
    at weblogic.wsee.jaxws.spi.ClientInstancePool.takeSimpleClientInstance(ClientInstancePool.java:621)
    at weblogic.wsee.jaxws.spi.ClientInstancePool.take(ClientInstancePool.java:486)
    at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate.getPort(WLSProvider.java:782)
    at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:344)
    at javax.xml.ws.Service.getPort(Service.java:133)
    at com.tec.proxy.client.ScoreCardWithPolicyService.getScoreCardWithPolicyPort(ScoreCardWithPolicyService.java:86)
    at com.tec.proxy.client.ScoreCardWithPolicyPortClient.main(ScoreCardWithPolicyPortClient.java:23)
    Process exited with exit code 1.
    Not getting any help from any blog. Just wondering why this error is coming. I would be glad if you can help us in this regard.
    Apart from above issue I have few queries like:
    1.What is difference between OWSM policies and WLS policies?
    2.Are these the only policies we can apply on top of services?
    3.If some one wants to configure his own custom policies than what need to be done
    4.Could anyone please provide some useful links to implement ENCYPTION and SIGNATURE on top of web services?
    5.And If I am not wrong, I guess Oracle Service BUS OSB 11.1.1.3 has been removed from the main download link and version 11.1.1.4 has been provided. Is it
    compatible with SOA suite 11.1.1.3.0? If not where can I get OSB 11.1.1.3?
    Looking forward to hear from you people.
    Thanks
    Arvind
    Edited by: user8490871 on Apr 15, 2011 12:53 AM
    Edited by: user8490871 on Apr 15, 2011 12:53 AM

    Hi,
    I don't know why u get an error. Here are answers for additional questions:
    1. OWSM policies are for web services. WLS policies are based on Java EE security. They are used to protect resources e.g. URL, EJB
    2. I don't know about other policies
    3. See http://download.oracle.com/docs/cd/E14571_01/web.1111/e13713/owsm_appendix.htm#CHDCHFBH
    4. See http://download.oracle.com/docs/cd/E14571_01/security.1111/e10037/toc.htm
    5. I can see OSB 11.1.1.3 download link here
    http://www.oracle.com/technetwork/middleware/downloads/fmw-11-download-092893.html
    Regards,
    Milan

  • Query regarding integrating sun MQ with Oracle SOA suite 11g

    Hi,
    I am new to SOA suite 11g.I have a requirement of connecting to Sun MQ 4.4 queue from Oracle SOA suite 11g.Right now, I have found a work around using java embedding by connecting to the queue from java code directly.Can I use the JMS adapter for this purpose? If yes what are the options of doing that.I saw there is an option of third party queue in the JMS adapter configuration wizard but could not get it to work.Any help is appreciated.
    Thanks in advance

    I think we can exchange only data types, i dont see any data type which can hold the object types.
    If you find anything better let us know.
    Constructing string xml and converting to xml is best option i can think of.
    Thanks,
    Vijay

  • Configuring Webcenter Worklist with Oracle SOA Suite 10.1.3.4

    Hi,
    I have installed Oracle SOA Suite 10.1.3.4 on weblogic server 9.2. I want to configure Webcenter 11g worklist service with this SOA Server.
    I would like to know if this is possible at all? Webcenter Suite 11g talks about configuring Webcenter worklist with SOA Suite 11g and I am not able to find any document
    Thanks,
    Vikas

    Hi,
    If you are trying to understand how to create a connection pool for a data source, then this document might be helpful
    http://blogs.oracle.com/fusionmiddlewarereallife/soa_11g_bpel_composite_and_database_adapter.html

  • Need help installing Healthcare adapter in Oracle SOA Suite 11.1.1.5.0

    Hi everyone,
    I am fairly new to SOA Suite and am trying to learn it out of self interest.
    The problem is that I want to do some POC for healthcare scenarios, since I am currently working in a Healthcare based project.
    I have already installed Oracle SOA Suite 11.1.1.5.0. As part of SOA Suite installation, following components were installed.
    1. Oracle Database
    2. Weblogic server
    3. RCU
    4. SOA Suite
    5. JDeveloper
    6. SOA extension for JDeveloper
    From this point on, to enhance SOA Suite for building healthcare scenarios, I am stuck up with following questions:
    1. What all to install ?
    2. Where can I find the required downloadable ?
    3. How to install it?
    Thanks everyone.
    Edited by: 973335 on 26-Nov-2012 18:45

    The problem is that I want to do some POC for healthcare scenarios, since I am currently working in a Healthcare based project.If you are going to work on a POC then please use Oracle SOA 11.1.1.6 for Healthcare Integration. It is not recommended to use PS4 (11.1.1.5).
    For PS5 (11.1.1.6), instructions are here -
    http://www.oracle.com/technetwork/middleware/healthcare/downloads/index.html
    You may post any query related to Oracle SOA Suite for HI in B2B forum -
    Integration - B2B
    Regards,
    Anuj

  • Oracle SOA Suite integration with HP SOA Policy Enforcer

    Has anyone tried integrating Oracle SOA Suite with HP SOA Policy Enforcer?
    will appreciate your help.
    Thanks,
    V

    Hi Vivek
    Integration with Oracle Access Manager is possible. The documentation points to some custom handlers that can be used for the integration.
    If you have addtional questions please feel free to contact me directly
    Dutta Satadip

Maybe you are looking for