OSB: Dynamic XQuery & Dynamic Validate against resource

Hi all,
I've a proxy where I select a dynamic XQuery and I would like to validate the result against a given schema that is different depending on the selected dynamic xquery. The result of the dynamic XQuery is an xml resource that is valid against its own schema but I have different schemas.
My routing table (a simple xquery resource) contains the dynamic XQuery to select and the schema to be used for validating the result from the xquery.
I noticed that the validate action doesn't support the dynamic selection of a resource to use in a validate action.
Before osb 10.3 (alsb 3.0) the dynamic XQuery selection was implemented putting each XQuery execution (along with the related validate action) in a given proxy and then I used the dynamic routing concept. Now I can 'remove' this extra 'proxy wrapping layer' for dynamic XQuery execution but not for the validation part ... having at the end a mixed approach that I don't like ...
Do you have any suggestion ?
regards
ferp

Another option is to have IF-ELSE conditions in the message flow but this would be very difficult to maintain, however it can be an effective solution if you have very limiited number (say 10-15) of XSD's/WSDL's. For large number of XSD's/WSDL's, java callout is the best option.
Regards,
Anuj

Similar Messages

  • How to dynamically validate users at run time using connection pools ?

    Hi Folks
    We are facing a peculiar situation . We have established connection to our
    oracle 8i database using Oracle Thin driver using conenction pooling at the weblogic
    server . We set up connection pools at the console to set up connections to thge
    oracle 8i database. However the user name and password is always static when
    we create the connection pool at the console .
    How do i dynamically validate other users using the same connection pool ??
    Eg - The connection pool at design time in the console uses user A and password
    - passA . Now at run time lets say I prompt the user for a login screen and want
    to trap the user id and apssword parameters entered by the user and use it with
    the connection pool created earlier . I tried using the below code snippet :-
    Properties props = new Properties();
    props.put("connectionPoolID", "Oracle_Thin_Driver_Pool");
    props.put("user" , userId );
    props.put("password",userPass);
    myDriver = (Driver) Class.forName("weblogic.jdbc.pool.Driver").newInstance();
    conn = myDriver.connect("jdbc:weblogic:pool", props);
    But always it connects to the database using the userid and password set in the
    console while creating the connection pool . So how i get the connection pool
    to validate my current userid and password entered through the login screen ??
    Thanks in advance
    Keith

    Hey Bob.
    So I assume you're -completely- working with built executables?  You're not going to work in the editor environment to modify your projects at all?
    If this is the case, then having a generic deployment phase at the beginning of the executable (with a "setting up hardware for your app" splash screen) isn't a bad idea -
    Check the binary on the target, ensure it matches the binary you have on the host machine (in case you ever decide to update).
    If they don't match, FTP the new file down to replace the old one.
    FTP the ni-rt.ini file, ensure the startup exe is enabled and is pointing to the correct location.  
    If it's not enabled or not pointing to the correct startup file, modify the .INI file and FTP back to the target.
    If you had to update the INI file, ask target to reboot itself.  Wait 30 seconds, and wait for target to become available again.
    Connect to the target. If you cannot connect, reboot target.  If the target comes back and you still cannot connect to the app, notify user.
    That's almost exactly how we handle installation and deployment via MAX.  
    The big assumption here is that the built executables were all built with the same version of LabVIEW Real-Time.  If not, you'd need a system replication step in there to make sure the proper version of LabVIEW is on the target before launching the built .rtexe.  
    -Danny

  • OSB Dynamically XSLT transformation

    Hello!
    XSLT is stored in the database.
    I getting xslt from db via EJB.
    How can use this xslt for transformation in osb? Can use standard snippet for transformation?
    Thanks,
    lam

    Already discussed here.
    OSB: Dynamic XSLT
    Thanks,
    Vijay

  • Does OSB support XQuery import module feature ?

    In OSB version 11.1 and Oracle Weblogic Server Version: 10.3.6.0
    I need to create library of XQuery functions (reusable components), to achieve this, I need to use XQuery import module feature.
    When I tried to use it, I got this error message ‘Module feature not supported (sorry)’ …
    Does OSB support XQuery import module feature ?

    You may like to refer Eric's blogpost -
    http://www.xenta.nl/blog/2011/10/19/oracle-service-bus-the-number-of-parameters-for-registered-xquery-resource-system1_to_fault-does-not-match-that-given-to-it-at-runtime/
    Basically, if you are not using a parameter in XQuery then it will not be registered.
    Regards,
    Anuj

  • ERROR: "info.plist does not validate against DTD"

    Hi! I got this error if anyone has it solved Please HELP.
    I am trying to package a WRT widget using Nokia WRT extension for Adobe Dreamweaver. This is the place for info on the extension: http://www.forum.nokia.com/Tools_Docs_and_Code/Tools/Runtimes/Web_Runtime/
    I figure developer from here who use DW to develop mobile content might know the error.
    When come to the step of 'Package Nokia WRT Widget' I got this error: info.plist does not validate against DTD
    and a page of error info shown like this:
    DTD validated at: Wed Jun 17 2009 19:03:00 GMT+0800 (Malay Peninsula Standard Time)
    DTD used for validation: http://www.nokia.com/DTDs/plist-1.0.dtd
    Line
    Column
    Message
    Explanation
    Source
    2
    95
    DTD did not contain element declaration for document type name
    3
    16
    Attribute "version" exists, but can not be used for this element.
    3
    21
    element "plist" undefined. Did you mean "applet" or "strike"?
    4
    7
    element "dict" undefined. Did you mean "strike" or "input"?
    5
    7
    element "key" undefined. Did you mean "strike" or "blockquote"?
    6
    10
    element "string" undefined. Did you mean "strong" or "strike"?
    7
    7
    element "key" undefined. Did you mean "strike" or "blockquote"?
    8
    10
    element "string" undefined. Did you mean "strong" or "strike"?
    9
    7
    element "key" undefined. Did you mean "strike" or "blockquote"?
    10
    10
    element "string" undefined. Did you mean "strong" or "strike"?
    11
    7
    element "key" undefined. Did you mean "strike" or "blockquote"?
    12
    10
    element "string" undefined. Did you mean "strong" or "strike"?
    13
    7
    element "key" undefined. Did you mean "strike" or "blockquote"?
    14
    9
    element "true" undefined. Did you mean "textarea" or "tr"?
    Can anyone knows what this means and how i can solve it?
    Please help. Thankyou.
    note: I am new here and knows that keep asking quesion without giving back is not good but I have a deadline here and wanted to finish the job. I will read some other post and try to help in return when I am able to do so.

    Hi pziecina,
    Thanks for your reply,
    I suspect my problem is the installation or setup of my system or software. as the result i tested is not by doing any scripting at all. All I did is following one of their example exactly (http://www.forum.nokia.com/Tools_Docs_and_Code/Tools/Runtimes/Web_Runtime/Dreamweaver_Exte nsion/QuickStart.xhtml) and package strightaway without modifying the code. because I want to make sure i got the extension install correctly. even so by packaging one of their ready make example already yield this error.

  • Plants are needed to validate against company in Component Tab - IW31

    Hi Experts ,
    Module PM , T Code IW31 ,
    Plants are needed to validate against company in Component Tab and need to populate error message in status bar . Thereafter user possible to correct whatever the error and save it .
    Can you please help me to solve this issue.
    Component Data is populated in Data grid (Data Table). These user exits are not fired within a loop( Not repeating with line of components).
    Is there way to read whole table ?
    Already i tried BADI -IW O1_ORDER_BADI and
    exit -
    PRM0003 User field: Maintenance plan
    WO10001 Create a PM sub-order
    WO10002 PM maintenance order: Customer check for order release
    WO10004 Maintenance order: Customer check for order completion
    WO10005 Maintenance order: Cust.-specif. determination of profit ctr
    WO10006 Maint. order: Fcode exclusion through cust. enhancement
    WO10007 Maint.order: Customer enhancement - permits in the order
    WO10008 Cust. enhancement: Determination of tax jurisdiction code
    WO10009 PM Order: Customer Check for 'Save' Event
    WO10010 Maint. order: Cust. enhancement for determining WBS element
    WO10012 Maintenance order: Priority handling on central header
    WO10015 Maintenance order: F4 Help for user fields on operation
    WO10016 PM Order: Cust. enhancement to check operation user fields
    WO10017 Determine external order number by customer logic
    WO10018 Maintenance order: User fields on order header
    WO10020 Maintenance order: Automatically include task list
    WO10021 Automatic task list transfer when creating order from notif.
    WO10022 Determine calendar from user exit
    WO10025 PM/SM order: Finding responsible cost center
    WO10026 User check on setting status 'Do not perform'
    WO10031 Hide personnel number in PM/SM order
    WO20001 PM order: User exit to pass routing to order
    EXIT_SAPLCOMK_004 (Enhancement - CNEX0013)
    COZF0002
    COZF0001
    Thanks,
    Rehan

    Hi,
       I am not completely clear with ur question, i think system will give message if component is selected from other company code, but if ur looking for something specfic ..check the below
    CNEX0037 : Check a newly assigned component.
    CNEX0038: Check a changed component.
    regards
    pushpa

  • Task.toXML() creates xml that does not validate against WorklistTask.xsd

    I am using the worklist API and I am using the toXML() function provided in the Task object to serialize my Task info to XML. It produces XML that looks alot like a "task" Element. But, it does not validate against the WorkflowTask.xsd schema. What is even more odd is that XML looks different than the xml I see when I look at the data in the BPEL Console.
    For example, the first XML document below is from Task.toXML. notice that it's first child element is taskId. According to the xsd, that is not valid. The second xml document in this post is from the console. it appears to be valid.
    Am I doing something wrong or should I just not expect the worklist api to produce valid xml? (correction: should I not expect the worklist api to xml that validates?)
    <task xmlns="http://xmlns.oracle.com/pcbpel/taskservice/task"><taskId>0D7B97F1B138EE21E04017AC2B194357</taskId><title>Payment not posted by payee</title><isGroup>true</isGroup><acquiredBy/><owner>bpeladmin</owner><conclusion/><state>ASSIGNED</state><subState>ASSIGNED</subState><processId>ResearchRequestWorkflow</processId><processName>ResearchRequestWorkflow</processName><versionNumber>1</versionNumber><notm>1</notm><taskGroupId/><taskType>http://blade-11.payveris.com:9700/orabpel/default/ResearchRequestWorkflow/1.0/taskConfigResearchRequest.xml</taskType><identificationKey>PAULA MERRILL, 2069</identificationKey><priority>3</priority><creator>bpeladmin</creator><creationDate>2006-02-23T14:53:08.000-05:00</creationDate><updatedBy>bpeladmin</updatedBy><modifyDate>2006-02-23T14:53:08.000-05:00</modifyDate><flexString1>1140724383057</flexString1><flexString2>PAULA MERRILL</flexString2><flexString3>PAULA MERRILL</flexString3><flexString4>PaymentId3489</flexString4><flexLong1>0</flexLong1><flexLong2>0</flexLong2><flexDouble1>0.0</flexDouble1><flexDouble2>0.0</flexDouble2><processVersion>1.0</processVersion><instanceId>2304</instanceId><domainId>default</domainId><approvers/><hasSubTasks>false</hasSubTasks><processOwner>bpeladmin</processOwner><pattern>SINGLE_APPROVAL</pattern><taskNumber>10240</taskNumber><systemString1/><systemString2/><systemString3/><versionReason>Task Created</versionReason><assigneeGroups>ResearchManager</assigneeGroups><payload confirmation_number="1140724383057" due_date="2006-02-22-05:00" reason="Payment not posted by payee"><requester xmlns="http://www.pp.com/schema"><first>PAULA MERRILL</first><last>PAULA MERRILL</last><tax_id/></requester><payment_type xmlns="http://www.pp.com/schema" number="">insuranceauto</payment_type><record_info xmlns="http://www.pp.com/schema"><creation app="EU" by="282950" date="2006-02-23T14:53:03.056-05:00"/><updation app="EU" by="282950" date="2006-02-23T14:53:03.056-05:00"/></record_info><payment xmlns="http://www.pp.com/schema" id="3489"><bank_info bank_id="2" funds_model="RISK"/><payment_info><confirmation_number>5428</confirmation_number><amount formattedValue="77.00" value="77"/><payment_date>2006-01-06-05:00</payment_date><check_number>5851</check_number><funded>false</funded><merged>false</merged><network id="3" status="ACTIVE" type="C">MOORE</network><alert_on_completion>false</alert_on_completion><alert_number_days_before>0</alert_number_days_before><scheduled_info id="2278"><scheduled_for_date formatted="01/06/2006">2006-01-06-05:00</scheduled_for_date><scheduled_on_date formatted="01/06/2006">2006-01-06-05:00</scheduled_on_date><created_user_id>282950</created_user_id><updated_user_id>0</updated_user_id></scheduled_info></payment_info><payee_info id="24958" relationship_id="6004"><payee_account_number>JUNIT123</payee_account_number><nick_name>blahblah</nick_name><name>complexpayeenameforatest</name><address1>123 main street</address1><address2>c/o anybody</address2><city>Dark Cityrandomizer</city><state>CT</state><zip>06512</zip><network id="3" status="ACTIVE" type="C">MOORE</network></payee_info><customer_info id="2069"><name>PAULA MERRILL</name><customer_account_id>8</customer_account_id><customer_account_number>213</customer_account_number><customer_routing_number>111111111</customer_routing_number><address1>Ernest Hemingway Drive</address1><city>Springfield</city><state>IL</state><zip>62703</zip></customer_info><state_info><failed_reason_code>0</failed_reason_code><money_batch_id>824</money_batch_id><good_funds_batch_id>1817</good_funds_batch_id><network_batch_id>958</network_batch_id><state_date>2006-10-24-05:00</state_date><state formatted="Check Cashed by Payee" id="2">Cleared</state><trace_number>211170100000003</trace_number></state_info><state_history><failed_reason_code>0</failed_reason_code><money_batch_id>0</money_batch_id><good_funds_batch_id>0</good_funds_batch_id><network_batch_id>0</network_batch_id><state_date>2006-01-06-05:00</state_date><state formatted="In Process" id="6">Created</state><record_info><creation app="BPEL" by="0" date="2006-01-06T11:14:33-05:00"/></record_info></state_history><state_history><failed_reason_code>0</failed_reason_code><money_batch_id>0</money_batch_id><good_funds_batch_id>1817</good_funds_batch_id><network_batch_id>0</network_batch_id><state_date>2006-01-06-05:00</state_date><state formatted="In Process" id="6">Created</state><trace_number>211170100000003</trace_number><record_info><creation app="BPEL" by="0" date="2006-01-06T11:14:35-05:00"/></record_info></state_history><state_history><failed_reason_code>0</failed_reason_code><money_batch_id>0</money_batch_id><good_funds_batch_id>1817</good_funds_batch_id><network_batch_id>0</network_batch_id><state_date>2006-01-06-05:00</state_date><state formatted="In Process" id="22">Waiting for Decision</state><trace_number>211170100000003</trace_number><record_info><creation app="BPEL" by="0" date="2006-01-06T11:14:36-05:00"/></record_info></state_history><state_history><failed_reason_code>0</failed_reason_code><money_batch_id>824</money_batch_id><good_funds_batch_id>1817</good_funds_batch_id><network_batch_id>0</network_batch_id><state_date>2006-01-06-05:00</state_date><state formatted="In Process" id="12">Ready for Funding</state><trace_number>211170100000003</trace_number><record_info><creation app="BPEL" by="0" date="2006-01-06T12:40:01-05:00"/></record_info></state_history><state_history><failed_reason_code>0</failed_reason_code><money_batch_id>824</money_batch_id><good_funds_batch_id>1817</good_funds_batch_id><network_batch_id>0</network_batch_id><state_date>2006-01-06-05:00</state_date><state formatted="In Process" id="9">Funded</state><trace_number>211170100000003</trace_number><record_info><creation app="BPEL" by="0" date="2006-01-06T12:40:01-05:00"/></record_info></state_history><state_history><failed_reason_code>0</failed_reason_code><money_batch_id>0</money_batch_id><good_funds_batch_id>1817</good_funds_batch_id><network_batch_id>0</network_batch_id><state_date>2006-01-06-05:00</state_date><state formatted="In Process" id="12">Ready for Funding</state><trace_number>211170100000003</trace_number><record_info><creation app="BPEL" by="0" date="2006-01-06T12:40:03-05:00"/></record_info></state_history><state_history><failed_reason_code>0</failed_reason_code><money_batch_id>824</money_batch_id><good_funds_batch_id>1817</good_funds_batch_id><network_batch_id>958</network_batch_id><state_date>2006-01-06-05:00</state_date><state formatted="In Process" id="9">Funded</state><trace_number>211170100000003</trace_number><record_info><creation app="BPEL" by="0" date="2006-01-06T12:43:56-05:00"/></record_info></state_history><state_history><failed_reason_code>0</failed_reason_code><money_batch_id>824</money_batch_id><good_funds_batch_id>1817</good_funds_batch_id><network_batch_id>958</network_batch_id><state_date>2006-01-06-05:00</state_date><state formatted="Mailed" id="11">Payment Sent</state><trace_number>211170100000003</trace_number><record_info><creation app="BPEL" by="0" date="2006-01-06T12:43:59-05:00"/></record_info></state_history><state_history><failed_reason_code>0</failed_reason_code><money_batch_id>824</money_batch_id><good_funds_batch_id>1817</good_funds_batch_id><network_batch_id>958</network_batch_id><state_date>2006-10-24-05:00</state_date><state formatted="Check Cashed by Payee" id="2">Cleared</state><trace_number>211170100000003</trace_number><record_info><creation app="EU" by="9999999" date="2006-02-03T12:38:08-05:00"/></record_info></state_history><record_info><creation app="BPEL" by="0" date="2006-01-06T11:14:33-05:00"/><updation app="EU" by="9999999" date="2006-02-03T12:38:08-05:00"/></record_info><research_request>false</research_request></payment></payload></task>
    When Im look at the same task in the BPELConsole, the task looks like:
    <task>
    <title>Payment not posted by payee</title>
    <assigneeUsers/>
    <assigneeGroups>ResearchManager</assigneeGroups>
    <acquiredBy/>
    <owner>bpeladmin</owner>
    <payload confirmation_number="1140724383057" due_date="2006-02-22-05:00" reason="Payment not posted by payee" >
    <requester>
    <first>PAULA MERRILL</first>
    <last>PAULA MERRILL</last>
    <tax_id/>
    </requester>
    <payment_type number="" >insuranceauto</payment_type>
    <record_info>
    <creation app="EU" by="282950" date="2006-02-23T14:53:03.056-05:00" />
    <updation app="EU" by="282950" date="2006-02-23T14:53:03.056-05:00" />
    </record_info>
    <payment id="3489" >
    <bank_info bank_id="2" funds_model="RISK" />
    <payment_info>
    <confirmation_number>5428</confirmation_number>
    <amount formattedValue="77.00" value="77" />
    <payment_date>2006-01-06-05:00</payment_date>
    <check_number>5851</check_number>
    <funded>false</funded>
    <merged>false</merged>
    <network id="3" status="ACTIVE" type="C" >MOORE</network>
    <alert_on_completion>false</alert_on_completion>
    <alert_number_days_before>0</alert_number_days_before>
    <scheduled_info id="2278" >
    <scheduled_for_date formatted="01/06/2006" >2006-01-06-05:00</scheduled_for_date>
    <scheduled_on_date formatted="01/06/2006" >2006-01-06-05:00</scheduled_on_date>
    <created_user_id>282950</created_user_id>
    <updated_user_id>0</updated_user_id>
    </scheduled_info>
    </payment_info>
    <payee_info id="24958" relationship_id="6004" >
    <payee_account_number>JUNIT123</payee_account_number>
    <nick_name>blahblah</nick_name>
    <name>complexpayeenameforatest</name>
    <address1>123 main street</address1>
    <address2>c/o anybody</address2>
    <city>Dark Cityrandomizer</city>
    <state>CT</state>
    <zip>06512</zip>
    <network id="3" status="ACTIVE" type="C" >MOORE</network>
    </payee_info>
    <customer_info id="2069" >
    <name>PAULA MERRILL</name>
    <customer_account_id>8</customer_account_id>
    <customer_account_number>213</customer_account_number>
    <customer_routing_number>111111111</customer_routing_number>
    <address1>Ernest Hemingway Drive</address1>
    <city>Springfield</city>
    <state>IL</state>
    <zip>62703</zip>
    </customer_info>
    <state_info>
    <failed_reason_code>0</failed_reason_code>
    <money_batch_id>824</money_batch_id>
    <good_funds_batch_id>1817</good_funds_batch_id>
    <network_batch_id>958</network_batch_id>
    <state_date>2006-10-24-05:00</state_date>
    <state formatted="Check Cashed by Payee" id="2" >Cleared</state>
    <trace_number>211170100000003</trace_number>
    </state_info>
    <state_history>
    <failed_reason_code>0</failed_reason_code>
    <money_batch_id>0</money_batch_id>
    <good_funds_batch_id>0</good_funds_batch_id>
    <network_batch_id>0</network_batch_id>
    <state_date>2006-01-06-05:00</state_date>
    <state formatted="In Process" id="6" >Created</state>
    <record_info>
    <creation app="BPEL" by="0" date="2006-01-06T11:14:33-05:00" />
    </record_info>
    </state_history>
    <state_history>
    <failed_reason_code>0</failed_reason_code>
    <money_batch_id>0</money_batch_id>
    <good_funds_batch_id>1817</good_funds_batch_id>
    <network_batch_id>0</network_batch_id>
    <state_date>2006-01-06-05:00</state_date>
    <state formatted="In Process" id="6" >Created</state>
    <trace_number>211170100000003</trace_number>
    <record_info>
    <creation app="BPEL" by="0" date="2006-01-06T11:14:35-05:00" />
    </record_info>
    </state_history>
    <state_history>
    <failed_reason_code>0</failed_reason_code>
    <money_batch_id>0</money_batch_id>
    <good_funds_batch_id>1817</good_funds_batch_id>
    <network_batch_id>0</network_batch_id>
    <state_date>2006-01-06-05:00</state_date>
    <state formatted="In Process" id="22" >Waiting for Decision</state>
    <trace_number>211170100000003</trace_number>
    <record_info>
    <creation app="BPEL" by="0" date="2006-01-06T11:14:36-05:00" />
    </record_info>
    </state_history>
    <state_history>
    <failed_reason_code>0</failed_reason_code>
    <money_batch_id>824</money_batch_id>
    <good_funds_batch_id>1817</good_funds_batch_id>
    <network_batch_id>0</network_batch_id>
    <state_date>2006-01-06-05:00</state_date>
    <state formatted="In Process" id="12" >Ready for Funding</state>
    <trace_number>211170100000003</trace_number>
    <record_info>
    <creation app="BPEL" by="0" date="2006-01-06T12:40:01-05:00" />
    </record_info>
    </state_history>
    <state_history>
    <failed_reason_code>0</failed_reason_code>
    <money_batch_id>824</money_batch_id>
    <good_funds_batch_id>1817</good_funds_batch_id>
    <network_batch_id>0</network_batch_id>
    <state_date>2006-01-06-05:00</state_date>
    <state formatted="In Process" id="9" >Funded</state>
    <trace_number>211170100000003</trace_number>
    <record_info>
    <creation app="BPEL" by="0" date="2006-01-06T12:40:01-05:00" />
    </record_info>
    </state_history>
    <state_history>
    <failed_reason_code>0</failed_reason_code>
    <money_batch_id>0</money_batch_id>
    <good_funds_batch_id>1817</good_funds_batch_id>
    <network_batch_id>0</network_batch_id>
    <state_date>2006-01-06-05:00</state_date>
    <state formatted="In Process" id="12" >Ready for Funding</state>
    <trace_number>211170100000003</trace_number>
    <record_info>
    <creation app="BPEL" by="0" date="2006-01-06T12:40:03-05:00" />
    </record_info>
    </state_history>
    <state_history>
    <failed_reason_code>0</failed_reason_code>
    <money_batch_id>824</money_batch_id>
    <good_funds_batch_id>1817</good_funds_batch_id>
    <network_batch_id>958</network_batch_id>
    <state_date>2006-01-06-05:00</state_date>
    <state formatted="In Process" id="9" >Funded</state>
    <trace_number>211170100000003</trace_number>
    <record_info>
    <creation app="BPEL" by="0" date="2006-01-06T12:43:56-05:00" />
    </record_info>
    </state_history>
    <state_history>
    <failed_reason_code>0</failed_reason_code>
    <money_batch_id>824</money_batch_id>
    <good_funds_batch_id>1817</good_funds_batch_id>
    <network_batch_id>958</network_batch_id>
    <state_date>2006-01-06-05:00</state_date>
    <state formatted="Mailed" id="11" >Payment Sent</state>
    <trace_number>211170100000003</trace_number>
    <record_info>
    <creation app="BPEL" by="0" date="2006-01-06T12:43:59-05:00" />
    </record_info>
    </state_history>
    <state_history>
    <failed_reason_code>0</failed_reason_code>
    <money_batch_id>824</money_batch_id>
    <good_funds_batch_id>1817</good_funds_batch_id>
    <network_batch_id>958</network_batch_id>
    <state_date>2006-10-24-05:00</state_date>
    <state formatted="Check Cashed by Payee" id="2" >Cleared</state>
    <trace_number>211170100000003</trace_number>
    <record_info>
    <creation app="EU" by="9999999" date="2006-02-03T12:38:08-05:00" />
    </record_info>
    </state_history>
    <record_info>
    <creation app="BPEL" by="0" date="2006-01-06T11:14:33-05:00" />
    <updation app="EU" by="9999999" date="2006-02-03T12:38:08-05:00" />
    </record_info>
    <research_request>false</research_request>
    </payment>
    </payload>
    <conclusion/>
    <state>ASSIGNED</state>
    <subState>ASSIGNED</subState>
    <processId>ResearchRequestWorkflow</processId>
    <processName>ResearchRequestWorkflow</processName>
    <processVersion>1.0</processVersion>
    <instanceId>2304</instanceId>
    <domainId>default</domainId>
    <processOwner>bpeladmin</processOwner>
    <taskId>0D7B97F1B138EE21E04017AC2B194357</taskId>
    <versionReason>Task Created</versionReason>
    <taskGroupId/>
    <taskType>http://blade-11.payveris.com:9700/orabpel/default/ResearchRequestWorkflow/1.0/taskConfigResearchRequest.xml</taskType>
    <identificationKey>PAULA MERRILL, 2069</identificationKey>
    <comments/>
    <priority>3</priority>
    <creator>bpeladmin</creator>
    <updatedBy>bpeladmin</updatedBy>
    <hasSubTasks>false</hasSubTasks>
    <approvers/>
    <pattern>SINGLE_APPROVAL</pattern>
    <flexString1>1140724383057</flexString1>
    <flexString2>PAULA MERRILL</flexString2>
    <flexString3>PAULA MERRILL</flexString3>
    <flexString4>PaymentId3489</flexString4>
    <flexDouble1/>
    <flexDouble2/>
    <flexLong1/>
    <flexLong2/>
    <flexDate1/>
    <flexDate2/>
    <flexDate3/>
    <attachment/>
    <taskNumber>10240</taskNumber>
    <creationDate>2006-02-23T14:53:08.955-05:00</creationDate>
    <modifyDate>2006-02-23T14:53:08.955-05:00</modifyDate>
    <isGroup>true</isGroup>
    <versionNumber>1</versionNumber>
    <notm>1</notm>
    <expirationDate/>
    <expirationDuration/>
    </task>
    Message was edited by:
    gjacobi

    I am using oracle.tip.pc.services.hw.task.impl.Task
    that object has a toXML method.
    To get that object, I am using the RemoteWorklistServiceClient.getWorlistTaskById method.
    A word of caution. Not only am I still having the issue above (I had to hack my own WorkflowTask.xsd to make it validate) but I have noticed that the toXML() method actually returns different results when you think it would not. For example, I have something similar to the following code:
    task.toXML()
    task.toElement()
    task.getPayload()
    task.toXML()
    The first and last toXML methods produce strings that do not match (it adds some empty elements to the end of the document). Weird. Very Weird.
    Greg

  • Can't get XMLto validate against a schema.

    I can't get an XML file to validate against a schema. I'm not sure if the problem is in my schema, XML file, or Java code.
    Here is the schema:
    <?xml version="1.0"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
        <xs:element name="TerraFrame">
         <xs:complexType>
             <xs:element name="connection" minOccurs="1" maxOccurs="unbounded">
              <xs:complexType>
                  <xs:sequence>
                        <xs:element name="label" type="xs:string"/>
                        <xs:element name="type" type="xs:string"/>
                        <xs:element name="address" type="xs:string"/>
                  </xs:sequence>
              </xs:complexType>
             </xs:element>
         </xs:complexType>
        </xs:element>
    </xs:schema>Here is the XML file:
    <?xml version="1.0"?>
    <TerraFrame xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <!-- default connection -->
         <connection>
             <label>default</label>
             <type>JavaProxy</type>
             <address></address>
         </connection>
         <!-- default RMI connection -->
         <connection>
             <label>rmi_default</label>
             <type>RMIProxy</type>
             <address>//localhost/RemoteControllerService</address>
         </connection>
         <!-- default Web Service connection -->
         <connection>
             <label>web_service_default</label>
             <type>WebServiceProxy</type>
             <address>http://localhost/</address>
         </connection>
         <!-- default Java connection -->
         <connection>
             <label>java_default</label>
             <type>JavaProxy</type>
             <address></address>
         </connection>
    </TerraFrame>And finally, here is the code snippit where I'm validating:
    [EDIT:] The constants CONNECTIONS_XML_FILE and CONNECTIONS_SCHEMA_FILE just point to the XML and schema files, respectively. I have verified that these paths are correct and working.
    static final String JAXP_SCHEMA_LANGUAGE = "http://java.sun.com/xml/jaxp/properties/schemaLanguage";
      static final String W3C_XML_SCHEMA = "http://www.w3.org/2001/XMLSchema";
      static final String JAXP_SCHEMA_SOURCE = "http://java.sun.com/xml/jaxp/properties/schemaSource";
    public void parse()
       DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
        factory.setValidating(true);
        factory.setAttribute(JAXP_SCHEMA_LANGUAGE, W3C_XML_SCHEMA);
        factory.setAttribute(JAXP_SCHEMA_SOURCE, new File(CONNECTIONS_SCHEMA_FILE));
        DocumentBuilder builder;
        try
          builder = factory.newDocumentBuilder();
          builder.setErrorHandler(new XMLConnectionsErrorHandler());
          document = builder.parse(new File(CONNECTIONS_XML_FILE));
    }Any clue as to why this is failing with the following error?:
    The content of '#AnonType_TerraFrame' is invalid.  Element 'element' is invalid, misplaced, or occurs too often.Message was edited by:
    sadpanda

    I can't get an XML file to validate against a schema. I'm not sure if the problem is in my schema, XML file, or Java code.
    Here is the schema:
    <?xml version="1.0"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
        <xs:element name="TerraFrame">
         <xs:complexType>
             <xs:element name="connection" minOccurs="1" maxOccurs="unbounded">
              <xs:complexType>
                  <xs:sequence>
                        <xs:element name="label" type="xs:string"/>
                        <xs:element name="type" type="xs:string"/>
                        <xs:element name="address" type="xs:string"/>
                  </xs:sequence>
              </xs:complexType>
             </xs:element>
         </xs:complexType>
        </xs:element>
    </xs:schema>Here is the XML file:
    <?xml version="1.0"?>
    <TerraFrame xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
         <!-- default connection -->
         <connection>
             <label>default</label>
             <type>JavaProxy</type>
             <address></address>
         </connection>
         <!-- default RMI connection -->
         <connection>
             <label>rmi_default</label>
             <type>RMIProxy</type>
             <address>//localhost/RemoteControllerService</address>
         </connection>
         <!-- default Web Service connection -->
         <connection>
             <label>web_service_default</label>
             <type>WebServiceProxy</type>
             <address>http://localhost/</address>
         </connection>
         <!-- default Java connection -->
         <connection>
             <label>java_default</label>
             <type>JavaProxy</type>
             <address></address>
         </connection>
    </TerraFrame>And finally, here is the code snippit where I'm validating:
    [EDIT:] The constants CONNECTIONS_XML_FILE and CONNECTIONS_SCHEMA_FILE just point to the XML and schema files, respectively. I have verified that these paths are correct and working.
    static final String JAXP_SCHEMA_LANGUAGE = "http://java.sun.com/xml/jaxp/properties/schemaLanguage";
      static final String W3C_XML_SCHEMA = "http://www.w3.org/2001/XMLSchema";
      static final String JAXP_SCHEMA_SOURCE = "http://java.sun.com/xml/jaxp/properties/schemaSource";
    public void parse()
       DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
        factory.setValidating(true);
        factory.setAttribute(JAXP_SCHEMA_LANGUAGE, W3C_XML_SCHEMA);
        factory.setAttribute(JAXP_SCHEMA_SOURCE, new File(CONNECTIONS_SCHEMA_FILE));
        DocumentBuilder builder;
        try
          builder = factory.newDocumentBuilder();
          builder.setErrorHandler(new XMLConnectionsErrorHandler());
          document = builder.parse(new File(CONNECTIONS_XML_FILE));
    }Any clue as to why this is failing with the following error?:
    The content of '#AnonType_TerraFrame' is invalid.  Element 'element' is invalid, misplaced, or occurs too often.Message was edited by:
    sadpanda

  • Restore failure -cannot validate source -resource busy

    After a successful creation of bootcamp volume with XP and MS Office I found 11GB too small a partition. I made an image of my OS and installed software, reformatted to a single volume, created a larger 32GB partition and attempted to restore the image to the Bootcamp volume. Same error each time "restore failure -cannot validate source -resource busy"
    Stuck - any ideas?

    You used WinClone to backup and restore Windows?

  • Domain trying to validate against an incorrect server

    Hi Guys,
    I have a hosted exhcange cluster that has many many many domains all administered by a DC where each domain is an OU under a main OU called Hosting.
    For some reason, a few mailboxes of a certain OU (not all the mailboxes) are tryong to validate against the domain associated with that OU. Meaning that if for example, The people in that OU has a domain called abcd.com and my mailserver is myexchange.com,
    Those specific mailboxes are triying to connect to abcd.com and not to the mail server. I can't think of anything that might cause such a bizzare error. Any ideas?

    Still I think, I need more info/not able to understand the real issue :)
    1. Are you facing the autoconfiguration issue for other mailboxes also?
    2. Do you have Outlook anywhere enabled? If so, do an outlook connectivity test through
    www.testconnectivity.Microsoft.com
    3. if the domain name selection box is grayed out, still you can enter the name like domainname\username and password
    Regards from Visit ExchangeOnline |
    Visit WindowsAdmin
    1) No, only some mailboxes on this specific domain.
    2) The connectivity test passed succesfully
    3) It shoudln't be connecting to a domain to begin with, it lists their domain as the server it tries to connect to! it should be connecting to the exchange server and no the client's FQDN.

  • OSB Dynamic service call or dynamic route and transactions

    Hello,
    I've got the following problem in my OSB architecture for asynchronous incomming services.
    OSB version is 10.3.1
    ConnectionFactory is XA
    Problem domain:
    Dynamic service call or dynamic route within transaction boundary
    Elements within transaction:
    1.     JMS Queue ->
    2.     Upper Proxy Service (De-queue) ->
    3.     Lower Proxy Service (Canonical Service) ->
    4.     Business Service (Data Service) ->
    5.     Database Adapter->
    6.     Database
    Dynamic element
    Upper Proxy Service (De-Queue) must be able to determine which Lower Proxy Service (Canonical Service) has to be called on the basis of the message taken from the JMS Queue without losing the transaction (this doesn’t work yet).
    Already tried possible solutions:
    •     Make a service call dynamic by setting the $inbound name attribute. This results in a this property is read-only error.
    •     Use a Dynamic route instead of a service-call. This results in a loss of transaction. The message is deleted from the Queue without taking failure or success into account.
    •     Use a Dynamic route with a quality of service set to exactly once in the header. This seems to be ignored, results in a loss of transaction.
    •     Use a Dynamic route with an explicit reply with failure for errors. Results in a loss of transaction.
    •     Use a Dynamic Publish. This doesn’t fit the required flow because it has no response.
    I hope someone can shed some light on this because I'm at a total loss. I found some references in the forum to what seems to be the same problem but without definite answers. A work-around is also a viable answer.
    Regards,
    Bas Mul

    Hi,
    I'll try to clarify.
    Upper proxy dequeues a message.
    Depending on a value of a specific tag within the message a canonical proxy service (out of 5 at the moment but this numer could increase) has to be called (and be dynamic transform transformed to the format of the specific canonical).
    The canonical service must then pass the message to a database adaper's business service which is responsible for the database insert/update/read.
    If something in the chain from dequeue to database action goes wrong the message may not dissapear from the queue.
    Somehow a dynamic route in the message flow between dequeue proxy and canonical proxy breaks the transaction.
    Bas

  • OSB - Dynamic JMS Queue Routing

    My Input to the proxy is
    a. A Message payload.
    b. QueueName ( queueA or QueueB or can be anything else).
    The message has to be sent to QueueName( a JMS queue setup in weblogic) configured in the input.
    How do i do this in OSB ?
    In bpel i simply used <bpelx:inputProperty name="jca.jms.JMSDestinationName" to dynamically assign the JMSDestination name to any queue.

    Your endpoint should look like similar to:
    jms://myosbmanaged_server:7001/my_jndi_connection_factory/my_jndi_queue_name
    i.e (for a distributed queue over and osb cluster)
    jms://osb1dev2:7001,osb2dev2:7001/weblogic.jms.XAConnectionFactory/Finance.ExchangeRates.Queue
    HTH

  • OSB: Dynamic XSLT

    Hi,
    I have a need to apply stylesheet dynamically inside a proxy. I don't see an option for this in OSB, if you have ideas please respond.
    Thanks
    matt

    I hope this discussion helps:-
    Re: Insert content in appropriate place

  • OSB Dynamic Routing Downstream Error Handling.

    Hi
    I've written several services which implement dynamic routing proxys which route to other proxys who then talk to business services.
    My problem is that when the downstream service encounters an error the router seems to throw away that error message and replace it with BEA-380000.
    I've read several posts here and there about this and was wondering if there's a best practice way of dealing with this.
    Thanks,
    Nick

    Hi
    I've written several services which implement dynamic routing proxys which route to other proxys who then talk to business services.
    My problem is that when the downstream service encounters an error the router seems to throw away that error message and replace it with BEA-380000.
    I've read several posts here and there about this and was wondering if there's a best practice way of dealing with this.
    Thanks,
    Nick

  • OSB Dynamic Routing and Transaction Rollback

    Hi,
    I have implemented dynamic routing to different jms business services.
    That's the flow:
    1. I have a proxy service which is invoked via a message delivered to a jms queue(XA connection factory), this queue is configured with
    Error Destination, expiration policy redirect, redelivery limit 5 and redelivery delay override 100
    2. I use a dynamic routing action
    <ctx:route isProxy="false">
    <ctx:service>
    $businessServiceXXX
    </ctx:service>
    </ctx:route>
    where $businessServiceXXX is a variable to hold my target jms business service, its value depends on some incoming inbound headers.
    3. if the endpoint is not correct(business service endpoint is dynamic) I catch the error in a Error handler, I raise an Error but :
    THE MESSAGE IS NOT REDIRECTED TO THE ERROR QUEUE.
    I know I could solve the issue with another approach like an external table to capture(fix) the endpoints, but it won't be so flexible in terms of deployment capability.
    Any Ideas ?
    Thanks,
    T.

    Hi Tony,
    Tested this in ALSB 2.5 . Transaction rollbacks fine when error in dynamic routing. I am attaching the test JMS proxy we have used for this.
    We had XA enabled CF for JMS proxy service and target JMS BS. The dynamic route was configured in route node with no route error handler or service error handler. The test case was to pause the target JMS queue for production. We could see messages rolling back to the source queue and getting redelivered.
    Attaching the Sbconfig for this proxy. Proxy Name: Dynamic Routing
    <?xml version="1.0" encoding="UTF-8"?>
    <xml-fragment name="DynamicRouting">
    <ser:coreEntry isEnabled="true" isProxy="true" name="DynamicRouting" isAutoPublish="false" xmlns:ser="http://www.bea.com/wli/sb/services">
    <ser:description/>
    <ser:binding type="abstract XML"/>
    </ser:coreEntry>
    <ser:endpointConfig xmlns:ser="http://www.bea.com/wli/sb/services">
    <tran:provider-id xmlns:tran="http://www.bea.com/wli/sb/transports">jms</tran:provider-id>
    <tran:inbound xmlns:tran="http://www.bea.com/wli/sb/transports">true</tran:inbound>
    <tran:URI xmlns:tran="http://www.bea.com/wli/sb/transports">
    <env:value xmlns:env="http://www.bea.com/wli/config/env">jms://localhost:7001/XACF/InputQueue</env:value>
    </tran:URI>
    <tran:inbound-properties xmlns:tran="http://www.bea.com/wli/sb/transports"/>
    <tran:all-headers xmlns:tran="http://www.bea.com/wli/sb/transports">false</tran:all-headers>
    <tran:provider-specific xsi:type="jms:JmsEndPointConfiguration" xmlns:jms="http://www.bea.com/wli/sb/transports/jms" xmlns:tran="http://www.bea.com/wli/sb/transports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <jms:is-queue>true</jms:is-queue>
    <jms:is-secure>false</jms:is-secure>
    <jms:inbound-properties>
    <jms:response-required>false</jms:response-required>
    </jms:inbound-properties>
    <jms:request-encoding>UTF-8</jms:request-encoding>
    </tran:provider-specific>
    </ser:endpointConfig>
    <ser:router xmlns:ser="http://www.bea.com/wli/sb/services">
    <con:pipeline name="PipelinePairNode1_request" type="request" xmlns:con="http://www.bea.com/wli/sb/pipeline/config">
    <con:stage name="Configuration">
    <con:comment/>
    <con:context/>
    <con:actions>
    <con1:assign varName="input" xmlns:con1="http://www.bea.com/wli/sb/stages/transform/config">
    <con1:expr>
    <con:xqueryText xmlns:con="http://www.bea.com/wli/sb/stages/config"><![CDATA[<root>
    <type value="jms">
              <service>DynamicRouting/BusinessService/JMS</service>
         </type>
         <type value="http">
         <service>DynamicRouting/BusinessService/HTTP</service>
         <operation>Test</operation>
         </type>
    </root>]]></con:xqueryText>
    </con1:expr>
    </con1:assign>
    </con:actions>
    </con:stage>
    </con:pipeline>
    <con:pipeline name="PipelinePairNode1_response" type="response" xmlns:con="http://www.bea.com/wli/sb/pipeline/config"/>
    <con:flow xmlns:con="http://www.bea.com/wli/sb/pipeline/config">
    <con:pipeline-node name="PipelinePairNode1">
    <con:request>PipelinePairNode1_request</con:request>
    <con:response>PipelinePairNode1_response</con:response>
    </con:pipeline-node>
    <con:route-node name="DynamicRoute">
    <con:comment/>
    <con:context/>
    <con:actions>
    <con1:dynamic-route xmlns:con1="http://www.bea.com/wli/sb/stages/routing/config">
    <con1:service>
    <con:xqueryText xmlns:con="http://www.bea.com/wli/sb/stages/config">&lt;ctx:route>
         &lt;ctx:service isProxy="false">{data($input/*:type[@value=$body/*:body/*:type/text()]/*:service)}&lt;/ctx:service>
              if($input/*:type[@value=$body/*:body/*:type/text()]/*:operation) then
                   &lt;ctx:operation>{data($input/*:type[@value=$body/*:body/*:type/text()]/*:operation)}&lt;/ctx:operation>
    else()
    &lt;/ctx:route></con:xqueryText>
    </con1:service>
    <con1:outboundTransform>
    <con2:routing-options xmlns:con2="http://www.bea.com/wli/sb/stages/transform/config">
    <con2:uriExpr>
    <con:xqueryText xmlns:con="http://www.bea.com/wli/sb/stages/config">$body/*:body/*:url/text()</con:xqueryText>
    </con2:uriExpr>
    </con2:routing-options>
    </con1:outboundTransform>
    <con1:responseTransform/>
    </con1:dynamic-route>
    </con:actions>
    </con:route-node>
    </con:flow>
    </ser:router>
    </xml-fragment>
    Regards,
    Atheek
    Edited by: atheek1 on 27-Apr-2010 19:48

Maybe you are looking for

  • Previous record values displaying in the Group Footer row in the report.

    Hi Friends, I have 3 tables TableA:(PERNR BEGDA ENDDA are key fields) PERNR BEGDA    ENDDA      WERKS 10001 1/1/2010 12/31/9999 1001 TableB:(PERNR BEGDA ENDDA SUBTY are key fields) PERNR BEGDA    ENDDA       SUBTY  TYPES 10001 1/1/2010 12/31/9999   0

  • How to Auto-Populate a User Data Picker?

    I understand how User Data Pickers work (mostly).  We have used them during the shell creation process to allow the creator to specify which users may access the shell and in what user groups they will be placed.  This works fine- as the shell is cre

  • Can't run demos

    When I click on a demo I get the following error. It occurs with more than one demo. Anyone know what the problem is? An error occurred while launching/running the application. Title: SwingSet2 Vendor: Sun Microsystems, Inc. Category: Download Error

  • I made a mistake and deleted app store how do i get it back

    hi guys i deleted app store by mistake how do i get it back

  • Photoshop Elenents 13 does not recognize my Canon Pixma Pro Mark II 9000 printer.

    Photoshop Elements 13 does not recognize my Canon Pixma Pro Mark II 9000 printer.  I get the following error message "The saved printer information is not compatible with this version of Photoshop Elements, or the saved printer is no longer available