PreferredPort partner link property

Does anyone know how the preferredPort partner link property (page 1-40 Oracle SOA Suite Best Practices Guide) work???
I have a service with two ports and one of them is not working properly. Unfortunately BPEL is always trying to use the non working port. I've tried to set the property to the name of the port i wish the BPEL would use but with no success...
Tnx,
Peter

One more thing: I've tried it on 10.1.3.1.0 and the Oracle SOA Suite Best Practices Guide in which i found the property seems to be for the 10.1.3.3.0...

Similar Messages

  • Dynamically change a partner link config property via the BPEL Consle

    Is it possible to dynamically change a configuration property
    for a partnerlink in the BPEL Console?
    From Help in Jdev:
    - Double click Partner Link
    - Property tab
    -- Help
    --- "Property Tab"
    Partner link properties are simple name-value pair properties that
    are defined and can be accessed at runtime by the BPEL process.
    The value of a property can be changed from Oracle BPEL Console
    at runtime without having to redeploy the BPEL process.
    Steps to reproduce:
    1. Set the configuration property retryMaxCount on a partnerlink
    2. Enter the BPEL Console, click on the process and then the descriptor tab.
    3. Not seeing a utility to change the value in the BPEL Console.

    Hi Dave,
    the console only allows changes to activation agent properties.
    There are two kinds of partnerlinks. Those associated with a receive (inbound, activation), and those associated with an invoke (outbound, webservices invoke). Only the former polling process properties can be configured from the console.
    Outbound there are only a handfull of properties and the lifecycle management is not the same.
    Thanks
    Steve

  • Control the sequence of invocation of Partner Links in SOA11g

    H!,
    I have a BPEL11g process where i am invoking multiple partner links sequentially from my bpel.
    Through invoking the partner links i am inserting records in oracle base tables.
    The invocation sequence is: PartnerLink1 and then PartnerLink2.
    First i invoke partner link1 (web service invoke to another deployed bpel process(db insert)) and inserted records in location table which has foreign key relationship with order_release table.
    Then i invoke partner link2 (adapter service:db insert) and inserted records in order_release which has dependency on location table. The second insertion needs first insertion to be successful.
    Issue:+ The second invocations takes place to insert record into order_release table before the first invocation of partner link gets completed.
    So getting error that corresponding record is not present in location table as it is yet to commit the new record.
    Plz Suggest:+ How to stop the invocation of partner link2 to take place before invocation of parnerlink1 gets completed.
    a. Tweaking the threads or b. using some partner link property, how i can succeed in correcting the sequence of invocation?
    Edited by: rashmi r on Apr 3, 2013 6:29 AM
    Edited by: rashmi r on Apr 3, 2013 6:32 AM
    Edited by: rashmi r on Apr 3, 2013 6:34 AM
    Edited by: rashmi r on Apr 3, 2013 6:37 AM

    Thanks a million to all three of you. I just wish I had asked earlier!
    Cheers, Veit

  • Service Registry's Dynamic Lookup of BPEL Partner Link not working

    Hi,
    Software : SOA 10.1.3.1
    OS : Windows XP, 2000
    I have deployed webservice application (GetMaxOfTwo) which will give me max of 2 values. Registered the WS in OWSM with user authentication. Registered newly generated WSDL in OSR (Oracle Service Registry). A simple BPEL Process will call service as PartnerLink, which is configured as "Enabling Dynamic Lookup of BPEL Partner Link Endpoints". As mentioned in the document made entry in bpel.xml as registryServiceKey property containing the serviceKey value to the partnerLinkBinding section.
    The entire scenario is working fine and changed the servicekey value to wrong value in bpel.xml and redeployed, as expected it was giving me error message saying invalid servicekey.
    Now deployed GetMaxOfTwo in another application server and registered in OWSM. Intentionally stopped the first GetMaxOfTwo application. In the OSR Service changed the binding with new WSDL of OWSM. As BPEL process enabled with dynamic lookup it should execute without any error. But the results in this case was giving error saying the service was down. (Means it is referring to the old GetMaxOfTwo webservice.
    What could be the reason?, something is missing in the configuration?
    Regards
    Venkata M Rao
    +91 80 4107 5437

    Hi
    I am having trouble making the BPEL and Systinet to work together. I have Systinet and BPEL installed separately on 2 different servers. I deployed my web services and registered them in UDDI. I created a new BPEL process and added a partner link to refer to one of the web service I have registered in UDDI. When I create the partner link, it is forcing me to give the wsdl and it also gives an error message " There are no partner link types defined in current wsdl. Do you want create that will by default create partner link type for you?". If I say "NO' then deployment fails. If I say "Yes", then it creates a new wsdl file on the local server etc and gives "<Faulthttp://schemas.xmlsoap.org/soap/envelope/>
    <faultcode>soapenv:Server.userException</faultcode>
    <faultstring>com.oracle.bpel.client.delivery.ReceiveTimeOutException: Waiting for response has timed out. The conversation id is 75164a0815ea471a:-3be8c246:117cc377894:-537b. Please check the process instance for detail.</faultstring>". Any help is appreciated.

  • Retrying partner link in soa suite 11g

    how do i retry the partner link invoking webservice if it fails

    you could add the property on the invoke of the partnerlink
    http://otndnld.oracle.co.jp/document/products/as10g/1012/doc_v3/integrate.1012/B14448-01/html/appx_deploydesc.htm
    Table D-2 Configuration Properties for the partnerLinkBinding Deployment Descriptor (retry*)
    Or configurate it with the fault policy framework
    http://www.it-eye.nl/weblog/2007/09/10/oracle-bpel-10133-fault-policy-management/
    retry in 11g
    Retry Mechanism in BPEL

  • Set dynamic authentication credentials to Partner link - BPEL 11g PS1

    Hi,
    I am working on BPEL SOA 11g PS1. I need to know how i can dynamically set the Authentication details (Username and password) as well as Timeout while invoking a web service reference.
    I have been successful in setting these values using properties of the partner-link which is static.But actually as per my use-case, i need to read these information dynamically from a repository say Database/DVM and set these value while invoking.
    Regards
    Sesha

    Hi Sridhar
    Below is the composite.xml snippet which works for me as static mapping. I have added "wss_username_token_client_policy" to the reference interface.
    <reference name="getNameService" ui:wsdlLocation="getNameService.wsdl">
    <interface.wsdl interface="http://www.amazon.com/css/mmbi/getNameService/#wsdl.interface(getNameServiceSoapPort)"/>
    <binding.ws port="http://www.amazon.com/css/mmbi/getNameService/#wsdl.endpoint(getNameService/getNameServiceSoapPort)"
    location="getNameService.wsdl" soapVersion="1.1">
    *<wsp:PolicyReference URI="oracle/wss_username_token_client_policy"*
    orawsp:category="security" orawsp:status="enable"/>
    <property name="weblogic.wsee.wsat.transaction.flowOption"
    type="xs:string" many="false">WSDLDriven</property>
    *<property name="oracle.webservices.auth.username" type="xs:string"*
    many="false" override="may">username11</property>
    *<property name="oracle.webservices.auth.password" type="xs:string"*
    many="false" override="may">password11</property>
    *<property name="oracle.webservices.httpReadTimeout" type="xs:string"*
    many="false" override="may">30000</property>
    <property name="oracle.soa.ws.outbound.omitWSA" type="xs:string"
    many="false" override="may">true</property>
    </binding.ws>
    </reference>
    Here you can find property value for oracle.webservices.auth.username,oracle.webservices.auth.password & oracle.webservices.httpReadTimeout are static , What i want to make here is to read these from a bpel variable in runtime.
    OR
    Is there any means i can do this same basic authentication in BPEL 11g which would support dynamic credentials.
    Thanks
    Sesha

  • Explicit time out in DB Partner Link

    Hello,
    How can we set explicit time out in DB Partner Link. I have used timeout property in PL but don't see its working.
    BPEL 10.1.3.4

    Actually in above response i got this suggestion that you can use Catch All block. But for other faults also it will throw time out error if i will handle in Catch All block. So i think this is not a good way to handle the DB time out. 
    I am using a simple select query by using DB Adapter. If database invocation of any particular row fails it should throw time out error in catch block. But how can i handle it through a catch block of Invoke activity? If i am selecting remote fault error handler how exactly we can handle this.
    Do you know any specific fault code for DB time out?
    Thanks

  • Why we use Dynamic Partner Link in BPEL process

    hi,
    What is the purpose of using Dynamic Partner link in BPEL process ?

    Hi Shankari,
    apart of using the the config plan you can change the endpoint uri in runtime if you define the property "endpointURI" in your composite
    <binding.ws port="http://xmlns.oracle.com/bpel/workflow/taskService#wsdl.endpoint(TaskService/TaskServicePortSAML)"
    location="http://localhost:7001/integration/services/TaskService/TaskServicePortSAML?ORAWSDL"
    soapVersion="1.1">
    <property name="weblogic.wsee.wsat.transaction.flowOption"
    type="xs:string" many="false">WSDLDriven</property>
    <property name="endpointURI"
    type="xs:string" >http://localhost:7001/integration/services/TaskService/TaskServicePort</property>
    </binding.ws>
    then right click your composite in the enterprise manager and go to "Service/Reference Properties". There you can change the endpointURI property.
    You can also change the endpointURI inside your BPEL process. Go to the invoke inside the bpel process and go to the "properties" tab. There search for the property "endpointURI" and set a value.
    hope this helps
    cheers Nicolas

  • Understanding wsdl file to be called from Partner link

    Hii All,
    I am trying to understand the wsdl file. This file is being called from a partner link. I have understood most of the part of it but could not understand the following:
    <jca:operation
    LogicalDirectory="inputTriggerDir"
    ActivationSpec="oracle.tip.adapter.file.inbound.FileActivationSpec"
    IncludeFiles=".*\.trg"
    PollingFrequency="10"
    MinimumAge="0"
    DeleteFile="true"
    OpaqueSchema="false" >
    </jca:operation>
    Would appreciate if you could please help to make me understand this part of wsdl file. I have noticed that if i change the value of LogicalDirectory parameter then the build does not deploy successfully. Somehow it is linked with the bpel.xml...Please suggest me how?
    Appreciate your help..
    Thanks,
    Regards,
    AS

    This is the operation that will be performed when a file is read.
    LogicalDirectory = This is the property you have specified to identify the directory to poll. This is best practice, if you do this then you need to specify a name in the bpel.xml file. This also means you can change the directory on the fly within the BPEL console. If you right-click on the recieve for the partner link there is a property tab add the property inputTriggerDir and give the value of the directory on the server.
    ActivationSpec = This is just a pointer to the java code, this is defaulted and should not be changed.
    IncludesFiles = in your case you are looking for files with the extension of .trg
    PollingFrequency = in your case 10 second interval
    MinimumAge = This allows you to put a buffer so if a file takes some time to load you can put a wait until you get the full file.
    DeleteFile = Once read it will delete
    OpaqueSchema = If true means that you have specified no schema and is read in as binary. This is used for pass through, what you read in is what comes out the other side. Manly used for pdf and images.
    cheers
    James

  • Setting encoding/charset when invoking a Partner Link

    Hi,
    I'm having a problem with setting the encodign when calling a partner link from a BPEL-process. Default charset seems to be utf-8, but I need to set the encoding to iso-8859-1. I've tried using the contentType-property under partnerLinkBinding, but with no success. Any ideas?

    I also got a similar error when i tried to use WSIF binding in BPEL. My BPEL process invokes a WSIF webservice and gets the result. The error i got is below,
    <2008-02-13 08:30:17,538> <ERROR> <default.collaxa.cube> <BaseCubeSessionBean::logError> Error while invoking bean "cube delivery": Exception not handled by the Collaxa Cube system.
    An unhandled exception has been thrown in the Collaxa Cube system. The exception reported is: "java.lang.NullPointerException
         at com.collaxa.cube.ws.wsdl.WSDLUtils.getServiceByPortTypeQn(WSDLUtils.java:303)
         at com.collaxa.cube.ws.wsdl.WSDLUtils.getServiceByPortTypeQn(WSDLUtils.java:314)
         at com.collaxa.cube.ws.wsdl.WSDLUtils.getServiceByPortTypeQn(WSDLUtils.java:277)
         at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:355)
         at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:222)
         at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:736)
         at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:371)
         at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:195)
         at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3271)
         at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1697)

  • Manipulation of partner link properties

    Hello,
    I want to assign a variable to a property of a partner link in JDev.
    Here my source code of the assign activity:
    <assign name="Assign_1">
    <copy>
    <from variable="inputVariable"/>
    <to partnerLink="PartnerLink_1"
    bpelx:property="retryMaxCount"/>
    </copy>
    </assign>
    So I did what was written in the documentation of oracle BPEL manipulation of partner link properties, but it dosent work
    Someone can Help
    thanks

    User,
    The people on the [url http://forums.oracle.com/forums/forum.jspa?forumID=320]SOA Suite Forum or [url http://forums.oracle.com/forums/forum.jspa?forumID=212]BPEL Forum can probably better help.
    John

  • Maintaining Single Session between 2 partner links in BPEL Process

    Hi All,
    We have a procedure that inserts data into a Global Temporary table. We have exposed this as a partner link in our BPEL process. We have a procedure that retrieves data from this Global Temporary table and does some processing. We have exposed this procedure also as a partner link in our BPEL process.
    But problem is according to our understanding each partner link takes different session. And Global Temporary tables data is session/transaction specific.
    Is there any way to make complete BPEL process or a set of BPEL activities run in same session or share same transaction.
    Any pointer on this is of great help.
    Thanks,
    Uma.

    1.     BPEL process should be sync (to ensure the process runs in one thread).
    2.     On each partner link specify participate=true (as property)
    3.     DB adapter's database connection MUST point to a XA-location to participate in the global transaction. I.e. modify oc4j-ra.xml, data-sources.xml as follows:
    i. oc4j-ra.xml:
    Location: BPEL_HOME\integration\orabpel\system\appserver\oc4j\j2ee\home\application-deployments\default\DbAdapter\oc4j-ra.xml
    <connector-factory location="eis/DB/IGSD1R12" connector-name="Database Adapter">
    <config-property name="driverClassName" value="oracle.jdbc.driver.OracleDriver"/>
    <config-property name="connectionString" value="jdbc:oracle:thin:@ap672sdb.us.oracle.com:25502:IGSD1R12"/>
         <config-property name="userName" value="apps"/>
    <config-property name="password" value="apps"/>
    <config-property name="minConnections" value="1"/>
    <config-property name="maxConnections" value="5"/>
    <config-property name="minReadConnections" value="1"/>          <config-property name="maxReadConnections" value="5"/>
    <config-property name="usesExternalConnectionPooling" value="false"/>
    <config-property name="dataSourceName" value=""/>
    <config-property name="usesExternalTransactionController" value="false"/>
    <config-property name="platformClassName" value="oracle.toplink.internal.databaseaccess.OraclePlatform"/>
    <config-property name="usesNativeSequencing" value="true"/>
    <config-property name="sequencePreallocationSize" value="50"/>
    <config-property name="tableQualifier" value=""/>
    <config-property name="defaultNChar" value="false"/>
    <config-property name="usesBatchWriting" value="false"/>
    </connector-factory>
    ii. data-sources.xml
    Location: BPEL_HOME\integration\orabpel\system\appserver\oc4j\j2ee\home\config\data-sources.xml
         <data-source class="com.evermind.sql.DriverManagerDataSource"
    name="LocalDataSource"
    location="loc/LocalDataSource"
    xa-location="LocalDataSource"
    ejb-location="jdbc/LocalDataSource"
    connection-driver="oracle.jdbc.OracleDriver"
    username="apps"
    password="apps"
    max-connections="50"
    min-connections="10"
         connection-retry-interval="30"
    max-connect-attempts="10"
    url="jdbc:oracle:thin:apps/[email protected]:25502:IGSD1R12"/>

  • Invoking secured service using BPEL partner link -  basic authentication

    HI,
    We are invoking a secured service using partner link. The below property is defined in bpel.xml (basicHeaders property is created on partnerlink)
    <property name="basicHeaders">credentials</property>
    My concern is how the basicusername and basicpassword is sent to the secured webservice?
    is it sent in the calling uri ?
    I don't think it will be sent under soap header..
    Please anyone confirm.
    Thanks
    Phani

    Hi
    I am having trouble making the BPEL and Systinet to work together. I have Systinet and BPEL installed separately on 2 different servers. I deployed my web services and registered them in UDDI. I created a new BPEL process and added a partner link to refer to one of the web service I have registered in UDDI. When I create the partner link, it is forcing me to give the wsdl and it also gives an error message " There are no partner link types defined in current wsdl. Do you want create that will by default create partner link type for you?". If I say "NO' then deployment fails. If I say "Yes", then it creates a new wsdl file on the local server etc and gives "<Faulthttp://schemas.xmlsoap.org/soap/envelope/>
    <faultcode>soapenv:Server.userException</faultcode>
    <faultstring>com.oracle.bpel.client.delivery.ReceiveTimeOutException: Waiting for response has timed out. The conversation id is 75164a0815ea471a:-3be8c246:117cc377894:-537b. Please check the process instance for detail.</faultstring>". Any help is appreciated.

  • How to manage multiple operation within the same partner link ?

    Hi,
    I have a partner link with 2 possible operations : "sayYes" and "sayNo".
    I want to do the following : if the operation is "sayYes", I return "YES", if it's "sayNo", I return "NO".
    (not really complex... in theory)
    In my WSDL file, I have the following :
         <message name="TestPickRequestYesMessage">
              <part name="payload" element="client:TestPickProcessYesRequest"/>
         </message>
    <message name="TestPickRequestNoMessage">
              <part name="payload" element="client:TestPickProcessNoRequest"/>
         </message>
         <message name="TestPickResponseMessage">
              <part name="payload" element="client:TestPickProcessResponse"/>
         </message>
         <portType name="TestPick">
              <operation name="sayYes">
                   <input message="client:TestPickRequestYesMessage" />
                   <output message="client:TestPickResponseMessage"/>
              </operation>
    <operation name="sayNo">
                   <input message="client:TestPickRequestNoMessage" />
                   <output message="client:TestPickResponseMessage"/>
              </operation>
         </portType>
    The returned value is in a string variable : "return_value".
    I've created a "pick" activity :
    <pick name="Pick_1" createInstance="yes">
    <onMessage portType="client:TestPick" operation="sayYes"
    variable="inputVariableYes" partnerLink="TestPick">
    <sequence name="Sequence_1">
    <assign name="setReturnYES">
    <copy>
    <from expression='"YES"'/>
    <to variable="return_value"/>
    </copy>
    <copy>
    <from variable="return_value"/>
    <to variable="outputVariable" part="payload"
    query="/client:TestPickProcessResponse/client:result"/>
    </copy>
    </assign>
    <reply name="replyOutputYES" partnerLink="TestPick"
    portType="client:TestPick" operation="sayYes"
    variable="outputVariable"/>
    </sequence>
    </onMessage>
    <onMessage portType="client:TestPick" operation="sayNo"
    variable="inputVariableNo" partnerLink="TestPick">
    <sequence name="Sequence_2">
    <assign name="setReturnNO">
    <copy>
    <from expression='"NO"'/>
    <to variable="return_value"/>
    </copy>
    <copy>
    <from variable="return_value"/>
    <to variable="outputVariable" part="payload"
    query="/client:TestPickProcessResponse/client:result"/>
    </copy>
    </assign>
    <reply name="replyOutputNO" partnerLink="TestPick"
    portType="client:TestPick" operation="sayNo"
    variable="outputVariable"/>
    </sequence>
    </onMessage>
    </pick>
    !http://www.monsterup.com/image.php?url=upload/1237201855.png!
    [http://www.monsterup.com/image.php?url=upload/1237201855.png]
    !http://www.monsterup.com/image.php?url=upload/1237201924.png!
    [http://www.monsterup.com/image.php?url=upload/1237201924.png]
    When I deploy and test this application, I have a huge problem : if a choose a "*sayNo*" message, my application do the following :
    The "pick" activity logs :
    <inputVariableYes>
    - <part name="payload" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    - <ns1:TestPickProcessNoRequest xmlns:ns1="http://xmlns.oracle.com/TestPick">
    <ns1:input>
    blabla
    </ns1:input>
    </ns1:TestPickProcessNoRequest>
    </part>
    </inputVariableYes>
    I have a right "*TestPickProcessNoRequest *" message type.
    BUT, the next activity is "setReturnYES", instead of "setReturnNO".
    !http://www.monsterup.com/image.php?url=upload/1237201958.png!
    [http://www.monsterup.com/image.php?url=upload/1237201958.png]
    Can anyone tell me where I'm wrong ?
    It looks like the "pick" activity always go with the first sequence...

    Hi PhunkyBob,
    I also had a hard time, finding out that the problem was with the BPEL console and not with my processes -.-
    Perhaps it's the Browser, I too use Firefox. Did not try it in IE yet.
    Here is the solution, try to switch to XML View and then change the Operation! (you will notice that it changes properly) Then you can either send it that way or return to HTML View.
    I have always to it that way,.. gets really annoying when I have to test a process many times :-/ ...change to xml, change operation, back to html, making entries, send...
    If someone has a solution, other than changing the Brwoser, please post :-)
    greetings,
    Michael

  • No Fault When Dynamic Partner Link Is Down?

    Hello,
    I have an async process that establishes a dynamic partner link based on runtime data. I understand how to fire off to a dynamic partner link, however, I ran into a problem while testing a scenario where the partner link's endpoint is down.
    In situations where the dynamic endpoint is up, my process calls it without any problems. However, when testing what happens if the dynamic endpoint is not available, I expected the process to throw a fault that I can catch. What I find is that an exception is raised in the logs (see below), but the calling process does not throw a fault. The process also continues on as if the call were successful?
    Is there something that I can do to ensure that faults are raised in cases where dynamic partner links are down?
    <2008-06-07 21:42:13,413> <DEBUG> <default.collaxa.cube.ws> <WSIFInvocationHandler::invoke> invoke failed
    org.collaxa.thirdparty.apache.wsif.WSIFException: when invoking locally the endpoint 'http://alcalba2-lap:8889/orabpel/default/CDS_DNS_process/1.0', ; nested exception is:
    ORABPEL-00000
    Exception not handled by the Collaxa Cube system.
    An unhandled exception has been thrown in the Collaxa Cube system. The exception reported is: "ORABPEL-02178
    Process not found.
    The BPEL process "CDS_DNS_process", revision "1.0" has not been loaded. Either the process was not initialized properly or the process has been disabled.
    Please consult your administrator regarding this error. The application server logs may provide more information regarding this error.
    v10.1.3.3.0
    Thanks!

    There is a catch all block. I have no fault policies or fault binding set outside of what is defaulted.
    Shouldn't my catch all block be enough to pick this up? It's as if nothing is bubbling up to the process and I clearly see an exception in the logs.

Maybe you are looking for

  • G/L account 1212 does not exist in chart of accounts INT

    Dear Seniors,       While i do stock upload in MB1C using movement type 561, it is giving an error that G/L account 1212 does not exist in chart of accounts INT Message no. M7054 Diagnosis The G/L account entered is not included in the chart of accou

  • What's wrong with my Mac App store.

    It says I have insufficient funds for my purchase for Grand Theft Auto: San Andreas ($14.99). But I have more than enough money to buy it($15.31). What's going on

  • JAVA or LINUX bug?

    My Java program crashes (on a Linux system) with the following log: # An unexpected error has been detected by HotSpot Virtual Machine: # SIGSEGV (0xb) at pc=0x4c949182, pid=2672, tid=2981530512 # Java VM: Java HotSpot(TM) Client VM (1.5.0_12-b04 mix

  • Zen Touch Touch Pad Iss

    I recently got a 20G Zen Touch a couple weeks ago. Now recently my touch pad is messing up. What happens is when I do the motion on the pad to go up on the menu, it goes down on the menu instead. When I do the motion on the pad to go down on the menu

  • Tables not appearing in schema

    Hey, im using the netbeans IDE 6.7, and have created a new Web application project, when I try to add a new "entity classes for database" connection, it doesn't display all the tables in the schema, it says a connection is established, and it reports