XQuery using fn:QName in OSB

Is fn:QName available to use in XQuery within the OSB? I tried but keep get the following error message...
line 5, column 10: {err}XQ0017: "{http://www.w3.org/2004/07/xpath-functions}QName": unknown function (or number of arguments (2) is wrong)
My xquery is below...
declare variable $localname as xs:string external;
declare variable $namespace as xs:string external;
declare variable $cause as element()? external;
element {fn:QName($namespace,$localname)} {
<validation-error>{$cause}</validation-error>
}

The use case is to generate a qname by passing in a namespace and localname. We have different types of exceptions that have different namespaces and localnames but contain exactly the same content. The requirement is to create an xquery function that can be reused to create the exceptions by passing in the namespace and local name of the top level exception element.

Similar Messages

  • OSB: Cannot acquire data source error while using JCA DBAdapter in OSB

    Hi All,
    I've entered 'Cannot acquire data source' error while using JCA DBAdapter in OSB.
    Error infor are as follows:
    The invocation resulted in an error: Invoke JCA outbound service failed with application error, exception: com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/DBAdapter1/RetrievePersonService [ RetrievePersonService_ptt::RetrievePersonServiceSelect(RetrievePersonServiceSelect_inputParameters,PersonTCollection) ] - WSIF JCA Execute of operation 'RetrievePersonServiceSelect' failed due to: Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException
    Exception Description: Cannot acquire data source [jdbc/soademoDatabase].
    Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.soademoDatabase'. Resolved 'jdbc'; remaining name 'soademoDatabase'.
    ; nested exception is:
    BINDING.JCA-11622
    Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    JNDI Name for the Database pool: eis/DB/soademoDatabase
    JNDI Name for the Data source: jdbc/soademoDatabase
    I created a basic DBAdapter in JDeveloper, got the xsd file, wsdl file, .jca file and the topLink mapping file imported them into OSB project.
    Then I used the .jca file to generate a business service, and tested, then the error occurs as described above.
    Login info in RetrievePersonService-or-mappings.xml
    <login xsi:type="database-login">
    <platform-class>org.eclipse.persistence.platform.database.oracle.Oracle9Platform</platform-class>
    <user-name></user-name>
    <connection-url></connection-url>
    </login>
    jca file content are as follows:
    <adapter-config name="RetrievePersonService" adapter="Database Adapter" wsdlLocation="RetrievePersonService.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
    <connection-factory location="eis/DB/soademoDatabase" UIConnectionName="Connection1" adapterRef=""/>
    <endpoint-interaction portType="RetrievePersonService_ptt" operation="RetrievePersonServiceSelect">
    <interaction-spec className="oracle.tip.adapter.db.DBReadInteractionSpec">
    <property name="DescriptorName" value="RetrievePersonService.PersonT"/>
    <property name="QueryName" value="RetrievePersonServiceSelect"/>
    <property name="MappingsMetaDataURL" value="RetrievePersonService-or-mappings.xml"/>
    <property name="ReturnSingleResultSet" value="false"/>
    <property name="GetActiveUnitOfWork" value="false"/>
    </interaction-spec>
    </endpoint-interaction>
    </adapter-config>
    RetrievePersonService_db.wsdl are as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <WL5G3N0:definitions name="RetrievePersonService-concrete" targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/KnowledeMgmtSOAApplication/AdapterJDevProject/RetrievePersonService" xmlns:WL5G3N0="http://schemas.xmlsoap.org/wsdl/" xmlns:WL5G3N1="http://xmlns.oracle.com/pcbpel/adapter/db/KnowledeMgmtSOAApplication/AdapterJDevProject/RetrievePersonService" xmlns:WL5G3N2="http://schemas.xmlsoap.org/wsdl/soap/">
    <WL5G3N0:import location="RetrievePersonService.wsdl" namespace="http://xmlns.oracle.com/pcbpel/adapter/db/KnowledeMgmtSOAApplication/AdapterJDevProject/RetrievePersonService"/>
    <WL5G3N0:binding name="RetrievePersonService_ptt-binding" type="WL5G3N1:RetrievePersonService_ptt">
    <WL5G3N2:binding style="document" transport="http://www.bea.com/transport/2007/05/jca"/>
    <WL5G3N0:operation name="RetrievePersonServiceSelect">
    <WL5G3N2:operation soapAction="RetrievePersonServiceSelect"/>
    <WL5G3N0:input>
    <WL5G3N2:body use="literal"/>
    </WL5G3N0:input>
    <WL5G3N0:output>
    <WL5G3N2:body use="literal"/>
    </WL5G3N0:output>
    </WL5G3N0:operation>
    </WL5G3N0:binding>
    <WL5G3N0:service name="RetrievePersonService_ptt-bindingQSService">
    <WL5G3N0:port binding="WL5G3N1:RetrievePersonService_ptt-binding" name="RetrievePersonService_ptt-bindingQSPort">
    <WL5G3N2:address location="jca://eis/DB/soademoDatabase"/>
    </WL5G3N0:port>
    </WL5G3N0:service>
    </WL5G3N0:definitions>
    Any suggestion is appricated .
    Thanks in advance!
    Edited by: user11262117 on Jan 26, 2011 5:28 PM

    Hi Anuj,
    Thanks for your reply!
    I found that the data source is registered on server soa_server1 as follows:
    Binding Name: jdbc.soademoDatabase
    Class: weblogic.jdbc.common.internal.RmiDataSource_1033_WLStub
    Hash Code: 80328036
    toString Results: ClusterableRemoteRef(8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1 [8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1/291])/291
    Binding Name: jdbc.SOADataSource
    Class: weblogic.jdbc.common.internal.RmiDataSource_1033_WLStub
    Hash Code: 92966755
    toString Results: ClusterableRemoteRef(8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1 [8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1/285])/285
    I don't know how to determine which server the DBAdapter is targetted to.
    But I found the following information:
    Under Deoloyment->DBAdapter->Monitoring->Outbound Connection Pools
    Outbound Connection Pool Server State Current Connections Created Connections
    eis/DB/SOADemo AdminServer Running 1 1
    eis/DB/SOADemo soa_server1 Running 1 1
    eis/DB/soademoDatabase AdminServer Running 1 1
    eis/DB/soademoDatabase soa_server1 Running 1 1
    The DbAdapter is related to the following files:
    C:\ Oracle\ Middleware\ home_11gR1\ Oracle_SOA1\ soa\ connectors\ DbAdapter. rar
    C:\ Oracle\ Middleware\ home_11gR1\ Oracle_SOA1\ soa\ DBPlan\ Plan. xml
    I unzipped DbAdapter.rar, opened weblogic-ra.xml and found that there's only one data source is registered:
    <?xml version="1.0"?>
    <weblogic-connector xmlns="http://www.bea.com/ns/weblogic/90">
    <enable-global-access-to-classes>true</enable-global-access-to-classes>
    <outbound-resource-adapter>
    <default-connection-properties>
    <pool-params>
    <initial-capacity>1</initial-capacity>
    <max-capacity>1000</max-capacity>
    </pool-params>
    <properties>
    <property>
    <name>usesNativeSequencing</name>
    <value>true</value>
    </property>
    <property>
    <name>sequencePreallocationSize</name>
    <value>50</value>
    </property>
    <property>
    <name>defaultNChar</name>
    <value>false</value>
    </property>
    <property>
    <name>usesBatchWriting</name>
    <value>true</value>
    </property>
    <property>
    <name>usesSkipLocking</name>
    <value>true</value>
    </property>
    </properties>
              </default-connection-properties>
    <connection-definition-group>
    <connection-factory-interface>javax.resource.cci.ConnectionFactory</connection-factory-interface>
    <connection-instance>
    <jndi-name>eis/DB/SOADemo</jndi-name>
              <connection-properties>
                   <properties>
                   <property>
                   <name>xADataSourceName</name>
                   <value>jdbc/SOADataSource</value>
                   </property>
                   <property>
                   <name>dataSourceName</name>
                   <value></value>
                   </property>
                   <property>
                   <name>platformClassName</name>
                   <value>org.eclipse.persistence.platform.database.Oracle10Platform</value>
                   </property>
                   </properties>
              </connection-properties>
    </connection-instance>
    </connection-definition-group>
    </outbound-resource-adapter>
    </weblogic-connector>
    Then I decided to use eis/DB/SOADemo for testing.
    For JDeveloper project, after I deployed to weblogic server, it works fine.
    But for OSB project referencing wsdl, jca and mapping file from JDeveloper project, still got the same error as follows:
    BEA-380001: Invoke JCA outbound service failed with application error, exception:
    com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/DBAdapterTest/DBReader [ DBReader_ptt::DBReaderSelect(DBReaderSelect_inputParameters,PersonTCollection) ] - WSIF JCA Execute of operation 'DBReaderSelect' failed due to: Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException
    Exception Description: Cannot acquire data source [jdbc/SOADataSource].
    Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.SOADataSource'. Resolved 'jdbc'; remaining name 'SOADataSource'.
    ; nested exception is:
    BINDING.JCA-11622
    Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException
    Exception Description: Cannot acquire data source [jdbc/SOADataSource].
    Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.SOADataSource'. Resolved 'jdbc'; remaining name 'SOADataSource'.
    You may need to configure the connection settings in the deployment descriptor (i.e. DbAdapter.rar#META-INF/weblogic-ra.xml) and restart the server. This exception is considered not retriable, likely due to a modelling mistake.
    It almost drive me crazy!!:-(
    What's the purpose of 'weblogic-ra.xml' under the folder of 'C:\Oracle\Middleware\home_11gR1\Oracle_OSB1\lib\external\adapters\META-INF'?
    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

  • Unable to poll for files in FTP server using Proxy Service (in OSB Project)

    Here are the stepd followed for creating proxy service that should poll ftp server to retrieve files but polling is not happening and unable to see any errors in logs.
    1. Created service account by selecting resource type as static and providing the ftp user and password details.
    2. Created a New Proxy Service in eclipse
         Tab General - service type as Messaging Service
         Tab Messaging - Request Message Type as Text, Response message type as None
         Tab Transport - Protocol selected as "ftp"
              - Endpoint uri entered in the format - ftp://hostname:port/directory
    FTP Transport -Selected "external user" as User Authentication
              - Selected the Service Account thats created in step1/
                   - File mMask - *.*
                   - Polling Interval 60
                   - Read Limit 10
                   - Post Read Action - Delete
                   - Transfer mode - binary
                   - Download Directory - "some local directoy"
                   - Error Directory - "some local error directory"
    Could any one please help here to trouble shoot the polling issue and correct me if this is wrong approach.
    Thanks

    Did you configure the FTP adapter which is present in Weblogic server?I think he's using FTP transport in OSB and not the JCA adapter, if that's the case FtpAdapter configuration wouldn't help...
    unable to see any errors in logsThat's odd, try to mess up the hostname and see if you get a connection refused on the logs...
    It may be a permissions issue, the user you're connecting may not even "see" the files you place there... Try using the same user to create and to poll files...
    Cheers,
    Vlad

  • SOA suit 11g uses both ESB and OSB(ALSB)

    Hi, I am newbie to SOA suit 11g. Can somebody please explain the use of ESB and OSB(ALSB) both in SOA 11g.In SOA 11g ESB is being used only for mediation.Even OSB(ALSB) has same capability.Then why both needs to be used?Can't we use one of these?
    ~Pradeep

    hello Pradeep,
    there is quite some literature on this hot topic - actually it's one of the most frequently asked question from people who are using OSB and Soa Suite.
    if you google "OSB vs Mediator" you will find some useful links:
    http://www.scribd.com/doc/23622536/Oracle-SOA-Suite-11g-Mediator-vs-Oracle-Service-Bus-OSB
    SOA SUITE 11g - Mediator & OSB
    http://oracle-fusion-blogs.com/oracle-fusion-osb-mediator/
    and so on....

  • Calling two Business service using split join in osb

    Hi,
    While trying to call two business service using Split Join in osb i am getting selection failure message in Bpel em console. i am using invoke activity to invoke the BS and assign to assign the input. in the assign i am assigning *$request.payload/input* to input.payload . In the em console i am getting input like this
    receiveInput
    Jun 19, 2012 5:05:45 PM Received "process" call from partner "bpelprocess1_client"
    <payload>
    <inputVariable>
    <part name="payload">
    <client:process>xxxxx</client:process>
    </part>
    </inputVariable>
    Assign (pending)
    Jun 19, 2012 5:05:48 PM Error in evaluate <from> expression at line "65". The result is empty for the XPath expression : "/client:process/client:input".
    <payload>
    <client:process>xxxxxx</client:process>
    Jun 19, 2012 5:05:48 PM The following exception occurred while attempting to execute operation copy at line 63
    <payload>
    <bpelFault>
    <faultType>0</faultType>
    <selectionFailure/>
    </bpelFault>
    Jun 19, 2012 5:05:57 PM "BPELFault" has not been caught by a catch block.
    Jun 19, 2012 5:06:00 PM The transaction was rolled back. The work performed for bpel instance "650002" was rolled back, but the audit trail has been saved for this instance.If this is a sync request, please resubmit the request from the client. If it is an async request, please recover from the recovery console by resubmitting the invoke message.
    Can anyone help on this?
    Thanks in Advance...

    maybe this one helps a bit, it's the same pattern
    http://www.xenta.nl/blog/2011/07/03/oracle-service-bus-implementing-aggregator-pattern-by-use-of-split-join/
    if you're using a dynamic split join easiest way is to do something like
    assing <yourresponse/> to $response
    at this moment your assign an empty placeholder to the response variable
    now you go into the for-each looping and for each iteration you need to insert the response of your bpel call in the $response variable
    so in the looping as last step you add something like
    insert $mybpelresponse/rootelement into $response/yourresponse
    with the insert it will insert the reponse 1..x times into the $response variable (so actually aggregating all the responses for you)

  • Witch version oepe-all-in-one-juno can I use to do create osb configuration

    witch version oepe-all-in-one-juno can I use to do create osb configuration project ?
    I use ubuntu 12.04 64

    You can check all these out via the Web Part Maintenance Page. After the PageName.aspx, add ?contents=1 and you'll get a list of the webparts that are open and published on the page.
    You can't do too much here but you can reset the parts that you think might be causing the problems.
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • Xquery with bind variable in OSB

    Hi,
    I have requirement to read XML file in Xquery as bind variable but it's giving error. I have included this file in OSB proejct but i dont know how to point this out using bind variable. I tried to read file using fn:doc and given file name but it's giving error.
    Any pointer here..
    Thanks

    a few other threads :
    How to use fn:doc() in ALSB
    Re: OSB: How read file xml that is into project OSB
    Caching XML Variable in OSB
    things you need to look at :
    xquery files aren't customizable
    xquery files itself are cached, the fn:foc function will be executed every time again
    so if you don't use the xml for other things, i would just registrate it as xquery file with the xml in it
    or you could use the synchronous file adapter to retrieve the data from the file

  • XSLT and XQuery recommendation for BPEL and OSB

    Hi,
    1. Why is XQuery recommeded for OSB and XSLT for BPEL. Are there any specific performance optimization reason behind this.
    2. Apart from OSB and BPEL, both XSLT and XQuery has xml transformation options and creating HTML. What is the difference between these two.
    Thanks in advance!

    you can create the graphical view of Xquery in Eclipse but not for XSLT
    Xquery is much faster than XSLT in OSB.
    Through XSLT however you can achieve more complex transformation.
    OSB has its historic origins in BEA Aqalogic stable and so Xquery was widely used used even though XSLT is supported. It is a matter of choice(your standards in your organization,your developer skillsets,your re-usable libraries etc )
    In Jdeveloper you can develop xslt in graphical mode though and attain complex transformation

  • File upload using http-post in OSB

    Hi All,
    I am trying to upload a file using http-post method in OSB.
    I have created a business service pointing to the service url, with http method post.
    and calling this business service from a proxy service.
    I am unable to send the form data to the business service.
    Please let me know how to send trhe form data and the file information.
    The error given by Business Service is-
    the request doesn't contain a multipart/form-data or multipart/mixed stream, content type header is text/plain
    Thanks in advance.
    Seemant
    Edited by: Seemant Srivastava on Oct 12, 2010 12:28 PM

    Hi Anuj,
    A sample HTML form code for. Post HTTP service-
    <html>
    <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>CSV File</title>
    </head>
    <body>
    <form method="post" enctype="multipart/form-data" action="http://xyz/UploadFile">
    <table>
    <tr>
    <td> Feed id </td>
    <td><input type="text" name="refid" value="" size="20"></td>
    </tr>
    <tr>
    <td> Username (optional)</td>
    <td><input type="text" name="username" value="" size="20"></td>
    </tr>
    <tr>
    <td> Password (optional)</td>
    <td><input type="password" name="password" value="" size="20"></td>
    </tr>
    <tr><td> Select CSV File </td>
    <td> <input type="file" name="upload" value="" width="30"/></td>
    </tr>
    <tr>
    <td><input type="submit" name="Ok" value="Go"> <input type="reset" name="reset" value="Reset"> </td>
    </tr>
    </table>
    </form>
    </body>
    </html>
    I need to pass all these information to OSB business service.

  • How to download video files using http urls through OSB

    Hi all,
    I am working on a requirement where I need to download the video using http url of that video through OSB. Is it possible to convert the video files hosted in a server into base64 code using OSB ? Kindly help me on this.
    Thanks
    Edited by: 887737 on Jul 25, 2012 3:26 AM

    Hi,
    I believe you can get the video file using file transport and then convert it into base64 using a java call out...
    This may help...
    https://blogs.oracle.com/ateamsoab2b/entry/an_example_of_how_to
    Cheers,
    Vlad

  • How to set WSSE credentials using Service Account in OSB

    Hi Guys,
    Flow Path:
    OSB-A (Only Proxy Service) --> OSB-B (Both Proxy and Business service present) --> PIMWS --> PLSQL
    In OSB-A i have a service account, which iam getting it in a variable using assign activity and trying to populate that in header variable using replace activity then calling OSB-B but iam getting the following exception..
    When i check in the flow.. $header is not replaced with the actual WSSE: tags and credentials. How to make it to work ?
    <proc:OutputParameters xmlns:proc="http://xmlns.oracle.com/apps/ap/soaprovider/plsql/xx_i024_suppliers_pkg/process_suppliers/" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <proc:X_RETURN_STATUS>Missing <wsse:Security> in SOAP Header</proc:X_RETURN_STATUS>
    <proc:X_RETURN_CODE>wsse:InvalidSecurity</proc:X_RETURN_CODE>
    </proc:OutputParameters>
    Thanks,
    Vijay
    Edited by: veejai24 on 16-Apr-2012 09:01

    I am able to use Service Account in my OSB. The following are the steps i did.
    I have created a service account and kept my username and password there in a common OSB Project.
    Then in my proxy service i have an assign which is having the wsse header tags, which retrieves the username and password from service account.
    I replace the header with the above information and calling the business service using routing options.
    In business service, in http transport page i have used Authentication type as basic and kept the service account by browsing from my common OSB Project.
    If i fire a request iam getting the response back as expected.
    My question is why should i do 2 times the same thing, when i try to remove the configuration from business service iam getting exception saying "WSSE credentials are missing"
    When i put it back its started working.
    Thanks,
    Vijay

  • Poll the new or changed records use DB Adapter in OSB Cluster

    Hi!
    I have an OSB Cluster which is included two servers: osbServer1 & osbServer2.
    I need to poll a view V_TMS_GOODS, and I use the "SequencingPollingStrategy" to implement it. The following is my JCA config:
    <adapter-config name="getGoodsInfoFromERP" adapter="Database Adapter" wsdlLocation="getGoodsInfoFromERP.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
    <connection-factory location="eis/DB/shaphar" UIConnectionName="shaphar" adapterRef=""/>
    <endpoint-activation portType="getGoodsInfoFromERP_ptt" operation="receive">
    <activation-spec className="oracle.tip.adapter.db.DBActivationSpec">
    <property name="DescriptorName" value="getGoodsInfoFromERP.VTmsGoods"/>
    <property name="QueryName" value="getGoodsInfoFromERPSelect"/>
    <property name="MappingsMetaDataURL" value="getGoodsInfoFromERP-or-mappings.xml"/>
    <property name="PollingStrategy" value="SequencingPollingStrategy"/>
    <property name="SequencingColumn" value="LAST_MODIFY_DATE"/>
    <property name="PollingInterval" value="60"/>
    <property name="MaxRaiseSize" value="50"/>
    <property name="MaxTransactionSize" value="unlimited"/>
    <property name="NumberOfThreads" value="1"/>
    <property name="ReturnSingleResultSet" value="false"/>
    <property name="SequencingTable" value="EDI_TRANS_TIMELOG"/>
    <property name="SequencingTableKeyColumn" value="TRANS_TYPE"/>
    <property name="SequencingTableValueColumn" value="LAST_TRANS_DATE"/>
    <property name="SequencingTableKey" value="V_TMS_GOODS"/>
    </activation-spec>
    </endpoint-activation>
    </adapter-config>
    The question is:
    If I check the "Distributed Polling" box in the JCA Configuration Wizard, the sequence table will have two records for the polling Sequencing, just like the following:
    TRANS_TYPE LAST_TRANS_DATE
         V_TMS_CLIENT     2011/12/19 16:23:36     
    V_TMS_CLIENT     2011/12/19 16:23:36
    If I don't check it, the records is single
    And weither I check "Distributed Polling" box or not, the two servers will poll the view twice(one server one times); For example: There are one thousand records in this view, but all the records will be polled twice by the osbServer1 & osbServer2. Finally the client will get tow thousand duplicate records。
    So, how can I make a balance with the two servers or use the one server to execute the polling?
    Thank you for your help!

    aren't the default cluster aware settings enough for this ?
    http://docs.oracle.com/cd/E15523_01/integration.1111/e10231/adptr_db.htm
    Scalability
    you could enable a few in the adapter wizards

  • How to connect to Oracle Database table using xquery (using 'ora:view')

    Hi,
    I am new to this forum and JDeveloper, but I am trying to use xquery accessing an Oracle database, but I can't seem to get it working, nor can I find what I am doing wrong.
    The xquery statement I (try to) use is:
    for $x in ora:view("TOU_TEST")
    return $x/txt
    (In which "TOU_TEST" is the table with column 'txt')
    But I get this "Dutch" error message:
    Er moet een JDBC-standaardverbinding beschikbaar zijn voor de functie 'ora:view'.
    (basically giving an error message about the default JDBC connection).
    I've searched a lot (Technet, Google, JDeveloper Help), but can't find out what I am doing wrong.
    Could you tell me what I am doing wrong/ how to solve this?
    Thanks a lot.
    Greetings,
    Tom

    Hi Friend,
    Try this.
    "Declaration.
    data : begin of zemployee.
               Include structure zeployee542.
    data : end of zemployee.
    *in screen give field name as <zemployee-Fieldname>
    case 'OK_CODE'.
    WHEN 'SAVE'.
          perform fill_data.
    ENDCASE.
    form FILL_DATA .
    move-corresponding zemployee  to  zeployee542.
    insert zeployee542.
    clear : zemployee, zeployee542.
    endform. " FILL_DATA
    Reward if you find usefull

  • Edit XQuery  using WLST?

    Hi All,
    I have an xml properties file that I load as an XQuery resource. The values in this xml file changes as we move to next environment ( dev, UAT, prod)
    How would I automate editing this xquery resource
    Or is there a way to automate creating XQuery resource from an XMl file?
    Please suggest

    Hi, You are right, Its not working in Xquery , but I am sure I have seen at a customer site where they made something similar to work using search string replace, I can get back to you on Monday after cross checking .
    You can still make this work using customisation file using the ReferenceCustomizationType , also discussed on the link I gave you before. Create the environment specific properties xquery files say properties-dev , properties-stage etc and in dev in the assign action within the proxy service refer to properties-dev xquery. When you move to stage you can alter the assign to refer properties-stage by executing the reference customization .. here is the sample customization file i used for testing this.
    <?xml version="1.0" encoding="UTF-8"?>
    <cus:Customizations xmlns:cus="http://www.bea.com/wli/config/customizations" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xt="http://www.bea.com/wli/config/xmltypes">
      <cus:customization xsi:type="cus:EnvValueCustomizationType">
        <cus:description/>
        <cus:envValueAssignments>
          <xt:envValueType>UDDI Auto Publish</xt:envValueType>
          <xt:location xsi:nil="true"/>
          <xt:owner>
            <xt:type>ProxyService</xt:type>
            <xt:path>TestCustomisationFile/TestProxy</xt:path>
          </xt:owner>
          <xt:value xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema">false</xt:value>
        </cus:envValueAssignments>
        <cus:envValueAssignments>
          <xt:envValueType>Service URI</xt:envValueType>
          <xt:location xsi:nil="true"/>
          <xt:owner>
            <xt:type>ProxyService</xt:type>
            <xt:path>TestCustomisationFile/TestProxy</xt:path>
          </xt:owner>
          <xt:value xsi:type="xs:string" xmlns:xs="http://www.w3.org/2001/XMLSchema">/TestCustomisationFile/TestProxy</xt:value>
        </cus:envValueAssignments>
      </cus:customization>
      <cus:customization xsi:type="cus:FindAndReplaceCustomizationType">
        <cus:description/>
        <cus:query>
          <xt:resourceTypes>ProxyService</xt:resourceTypes>
          <xt:envValueTypes>UDDI Auto Publish</xt:envValueTypes>
          <xt:envValueTypes>Service URI</xt:envValueTypes>
          <xt:refsToSearch xsi:type="xt:ResourceRefType">
            <xt:type>ProxyService</xt:type>
            <xt:path>TestCustomisationFile/TestProxy</xt:path>
          </xt:refsToSearch>
          <xt:includeOnlyModifiedResources>false</xt:includeOnlyModifiedResources>
          <xt:searchString>Search String</xt:searchString>
          <xt:isCompleteMatch>false</xt:isCompleteMatch>
        </cus:query>
        <cus:replacement>Replacement String</cus:replacement>
      </cus:customization>
      <cus:customization xsi:type="cus:ReferenceCustomizationType">
        <cus:description/>
        <cus:refsToBeConsidered xsi:type="xt:ResourceRefType">
          <xt:type>ProxyService</xt:type>
          <xt:path>TestCustomisationFile/TestProxy</xt:path>
        </cus:refsToBeConsidered>
        <cus:externalReferenceMap>
          <xt:oldRef>
            <xt:type>Xquery</xt:type>
            <xt:path>TestCustomisationFile/properties-dev</xt:path>
          </xt:oldRef>
          <xt:newRef>
            <xt:type>Xquery</xt:type>
            <xt:path>TestCustomisationFile/properties-stage</xt:path>
          </xt:newRef>
        </cus:externalReferenceMap>
      </cus:customization>
    </cus:Customizations>

  • How To Control The Archive File Name using file adpater or OSB file traspor

    Hi all,
    My requirement is I want to archive a file by appending my BPEL instant id to the file name.
    Is this possible changing the file name when archive the file???
    Thanks
    Phani

    I couldn't find that out when I had the same requirement. I was running out of time, so I let Archive functionality works as it works and used the write file option with opaque schema.

Maybe you are looking for

  • How to reverse cashed checks?

    Hi Friends, I have made payment to my vendor through check and cleared the open item in the system. I want to stop the check payment because the payment has already made through online cash transfer by another user. Now if i am trying to reverse the

  • I get shaking and vibrations in my email on Firefox on the P.C.

    When I open and email, an add on the side begins shaking and the whole page shakes. It freezes up and I can't move the page up or down. I have to go back to the in box to stop it from shaking. This only happens on my email and on the computer . On th

  • Portege z20t no pressure sensitivity in Photoshop CS6

    Hey guys. I just bought a Portege z20t which is amazing, but I'm having one small problem. I can't get the pen to work properly in Photoshop CS6. I downloaded the latest Wacom drivers for the pen and it only gives me erractic pressure sensitivity. In

  • What kind of Novels or Books people read these days

    Are there any books or novels people reads I just wanted to know so please tell me what you like in a story?

  • Down loading From CD's

    I have run into a problem not encountered before in that when down loading a cd into iTunes the time is given as 789.57 mins. This is wrong as the actual time of the track is only 4.21mins. Anyone got any ideas and how can I correct this as the track