Database Type field in Data Services 3.0

Hi,
Now I'm using the IDSServer 4.5 JDBC-ODBC driver type 3 to connect BEA Acqualogic Data Services 3.0 to MS-Access 2003.
I configured the IDSWaldbottDS DataSource with those parameters:
Driver class name: ids.sql.IDSDriver
URL: jdbc:ids://psnb161:12/conn?dsn=WaldbottDS
I created the system DSN ODBC datasource called 'WaldbottDS' in Windows XP
Based on the AdminServer log file, I can demostrate that the BEA connect successfully with MS Access:
####<Mar 5, 2008 9:14:37 AM ACT> <Info> <JDBC> <psnb161> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1204726477248> <BEA-001516> <Connection Pool "IDSwaldbottDS" connected to Database: "ACCESS", Version: "04.00.0000".>
Now, In the project Explorer, I executed those commands:
New -> Physical Data Service.
Inside the Create Physical Data Service dialog box, the Relational database objects is set to Tables and views.
I select the Data Source Type as Relational. When I select IDSwaldbottDS as Data Source, nothing appears in "Database Type" field. If I press the next button, an error message appears:
"Cannot obtain connection: driverURL = jdbc:weblogic:pool:IDSwaldbottDS, props = {EmulateTwoPhaseCommit=false, connectionPoolID=IDSwaldbottDS, jdbcTxDataSource=true, LoggingLastResource=false, dataSourceName=IDSwaldbottDS}.
Nested Exception: java.lang.RuntimeException: Failed to Generate Wrapper Class
     at weblogic.utils.wrapper.WrapperFactory.createWrapper(WrapperFactory.java:213)
     at weblogic.jdbc.wrapper.JDBCWrapperFactory.getWrapper(JDBCWrapperFactory.java:173)
     at weblogic.jdbc.pool.Driver.allocateConnection(Driver.java:247)
     at weblogic.jdbc.pool.Driver.connect(Driver.java:164)
     at weblogic.jdbc.jts.Driver.getNonTxConnection(Driver.java:647)
     at weblogic.jdbc.jts.Driver.connect(Driver.java:137)
     at weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java:359)
     at weblogic.jdbc.common.internal.RmiDataSource_WLSkel.invoke(Unknown Source)
     at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:550)
     at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:224)
     at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:440)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
     at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:436)
     at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:58)
     at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:975)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
I recognize that the "Database Type" must be filled with the database version so I can continue configuring the physical Data Source for MS Access 2003.
How can I solve this problem?

[ There original post I made is incorrect.  The classes/shared libraries need only to be available to the server - they do not need to be available to ALDSP Studio, since the database is access via the server. Double check that the required classes/shared libraries for your jdbc driver are available to your server ]
I searched our CR database for the stacktrace/error that you have and found serveral CR. Most of them indicate the problem was jar file(s) for the jdbc driver were not present in the client classpath. So - whatever you added to the server classpath (and PATH - if there were also shared object libraries) - we need to add those to the ALDSP Studio (eclipse) classpath (PATH).
you can put the jar(s) in
aldsp_3.0\eclipse-plugins\dsp\eclipse\plugins\com.bea.dsp.ide.external_3.0.0
and modifying
aldsp_3.0\eclipse-plugins\dsp\eclipse\plugins\com.bea.dsp.ide.external_3.0.0\META-INF/manifest.mf.
There are two places in manifest.mf you will need to add the jar file - once under Bundle-Classpath and once under Export-Package.
Edited by mreiche at 03/07/2008 10:48 AM

Similar Messages

  • How to Transfer Database Table Field to Data Type in XI

    Dear All,
    Dear All,
    I am working on scenario to transfer data(Database Table) from Non SAP System to SAP system through XI.
    While Defining "Data Type" in XI i want to create Data Type as of Database table in my(Oracle Database).There is any direct method to import Database Table field into "Data Type" in XI.
    thanks,
    RP

    Hi;
    Edit plus is a tool using which you can edit your file and make changes to it.
    You can download it from net ,just search for it on google.
    this will help you to get in the field names of the table by editing the file .
    Mudit

  • Populate ComboBox from database - NOT using Flex Data Services

    Hi there,
    We are using CF with Flex but are not using the Flex Data
    Service. I'm very much a newb and I'm having trouble finding any
    information on how to populate controles from a database without
    using Flex Data Service. Any help would be greatly appreciated.
    First I have a page... JobSearch.mxml that contains a combo
    box that I want to populate with the job_id and job_title from a
    MSSQL database.
    In Flex in the RDS DataView I used the "Create CFC" Wizard
    which generated "job.cfc" and "jobGateway.cfc". It also generated
    "job.as".
    The CF Function that selects the data appears to be defaulted
    and called "load" and the .as function is called simply "job".
    So, that all looks great. But I can't find any information on
    what I need to have on my JobSearch.mxml to actually get this data
    into the comboBox.
    I did:
    <mx:Script>
    <![CDATA[
    [Bindable]
    public var jobData:job = null;
    ]]>
    </mx:Script>
    And then:
    <mx:ComboBox
    text="{jobData.job_title}"></mx:ComboBox>
    But I'm being told "Type was not found or was not a
    complie-time constant: job"
    I guess I'm missing something, or doing something way
    wrong... I just don't know enough of Flex at this point to know
    what it is.
    Thanks!
    April

    Using php or asp is not an option, as we are a Cold Fusion
    House.
    I was looking at an article on Ben Forta's blog (
    http://www.forta.com/blog/index.cfm?mode=e&entry=1786)
    and following his example I did this... only it doesn't work:
    I'm very very new to Flash and we are using ColdFusion but
    are not using Flex Data Services. I've been trying to figure out
    how to populate a combobox from a database and I'm just not having
    any luck.
    My project is called "PreTraffic". I have my main file as
    "JobSearch.mxml" and a folder under the root named "cfc" with a
    file called "job.cfc".
    job.cfc contains the following code:
    <cfcomponent>
    <!--- Get jobs --->
    <cffunction name="GetJob" access="remote"
    returntype="query" output="false">
    <cfset var job="">
    <cfset var results="">
    <cfquery datasource="discsdev" name="job">
    SELECT job_id, job_title
    FROM job
    WHERE status = 'O'
    ORDER BY job_title
    </cfquery>
    <cfquery dbtype="query" name="results">
    SELECT job_title AS label, job_id AS data
    FROM job
    ORDER BY label
    </cfquery>
    <cfreturn results>
    </cffunction>
    </cfcomponent>
    And JobSearch.mxml has the following code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application
    xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns="*"
    layout="absolute"
    backgroundGradientColors="[#ffffff, #d0d0d0]"
    creationComplete="InitApp()">
    <mx:Style source="style.css" />
    <mx:Script>
    <![CDATA[
    public function InitApp():void {
    jobSvc.GetJob();
    ]]>
    </mx:Script>
    <!-- ColdFusion CFC (via AMF) -->
    <mx:RemoteObject id="jobSvc" destination="PreTraffic"
    showBusyCursor="true" />
    <mx:VBox label="Job History" width="100%" height="100%"
    x="10" y="92">
    <mx:Label text="Search jobs by"/>
    <mx:Form label="Task" width="100%">
    <mx:FormItem label="Job Name:">
    <mx:ComboBox id="jobNameCB"
    dataProvider="{jobSvc.GetJob.results}"></mx:ComboBox>
    </mx:FormItem>
    </mx:Form>
    <mx:HBox>
    <mx:Button label="Search"/>
    <mx:Button label="Clear"/>
    </mx:HBox>
    </mx:VBox>
    </mx:Application>
    My Compiler thingy points to:
    -services
    "/Volumes/flexwwwroot/WEB-INF/flex/job-services-config.xml" -locale
    en_US
    and job-services-config.xml contains the following code:
    <destination id="PreTraffic">
    <channels>
    <channel ref="my-cfamf"/>
    </channels>
    <properties>
    <source>flex.pretraffic.cfc.job</source>
    <lowercase-keys>true</lowercase-keys>
    </properties>
    </destination>
    Well, when I run the app... the combobox is not populated...
    Can anyone help with what I've done wrong?
    Thanks!
    April

  • Post Installation steps of SAP Data services

    Hi,
    Could someone provide screenshots/steps  of the post installation of SAP Data services on Unix.
    Thanks,
    Rajiv

    Hi Rajiv,
    Once DS is installed you need to do few more things to make the system ready to use
    Configuring repositories
    Create a database for the repository on your database server (take assistance from DBA)
    Create the repository in the database with the Repository Manager.
    Register the repository in the CMC with the Data Services application(here you have to give database details which you have given for creating repository (refer point a &b)
    Assign user access to the repository with the Data Services application.
    Configuring users and groups
    Log into the CMC Use Admin credentials
    Create user accounts and assign them to Data Services user groups with the Users and Groups application.
    Assign repository access to your users and groups with the Data Services application
    Configuring Job and Access Servers
    Add and configure Job Servers with the Server Manager
    Add the Job Server configuration
    Associate local and profiler repositories with the Job Server
    Add and configure Access Servers with the Server Manager
    restart the Data Services service and verify that the Job and Access Servers are running
    Deploying web applications (BODS automatically installed web app if not you need  to manually deploy
    Configuring profiler repository connectivity
    Login to the Central Management Console (CMC) and register the local repository and select the repository  connection type on the Data Services Repository Properties screen
    Register the profiler repository and select the connection type to also TNS-less or DSN-less.

  • Data Services 12.2.3.0 BODI-1112015 Adapter metadata import failed

    Hi Experts,
    I am using Data Services 12.2.3.0.
    I have an issue in importing functions through 'Adapter' type datastore into Data Services. I can open the datastore and see the list of functions available, but when I try to import them, I get the error BODI-1112015 Adapter metadata import failed.
    The setup and the errors are as below.
    The adapter datastore is setup as below.
    I built a new keystore called clientkeystore.jks in the ..\bin.Then created the .CSR file, and then imported the signed chained (I believe it's chained certificate) certificate of the server hosting the wsdl into the keystore.
    Thanks for the post http://scn.sap.com/thread/1589052 . After changing the metadata character set to utf-8, I can see a list of functions when I open this New_Datastore in Data Services. It proves that the setup for the datastore has no problem parsing the wsdl file and give me the list of functions in it. 
    However, the error appears when I try to import them.
    Error is:
    Adapter metadata import failed. Error message: (BODI-1112015) Error parsing the <TheFunctionToBeImported> included in the XML sent by the adapter to represet a function <Error importing XML Schema from file <adapter_schema_in.xsd>:<XML parser failed: Error <Schema Representation Constraint: Namespace 'http://result.form.v81.api.keysurvey.com' is referenced without <import> declaration> at line <13>, char <46> in < < xsd:schema xmln:xsd=http://www.w3.org/2001/XMLSchema" xmln:tns="http://result.form.v81.api.keystore.com" xmlns:diws="http://businessobjects.com/diwebservice" targetnamespace="http://www.businessobjects.com/diwebservice"><xsd:import namespace='http://v81.api.keysurvey.com' schemaLocation='C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice\FormResultManagemenetgetRespondentsgetRespondents0.xsd'/>
    <xsd: import namespace='http://result.form.v81.api.keysurvey.com' schemaLocation='C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice\FormResultManagemenetgetRespondentsgetRespondents2.xsd'/> ........
    When comparing it with the wsdl file(as below), it is worth nothing that the schemaLocation is changed to a local directory under C:\Program Files\Business Objects\BusinessObjects Data Services\ext\webservice  while it was not the case in wsdl. The schemaLocation is on the server.
    I am wondering if the redirection from the server specified in the wsdl file to the local directory has caused this error. The error 'namespace is reference without <import>' is apparently wrong as the <import> is just there.
    Or there is any other reason behind this.
    I appreciate any adivce or question from you!

    I have reached the exact same error as this post http://scn.sap.com/thread/3190403
    The error is
    [Mon Jun 18 23:14:28 2012] [error] ..\..\src\core\deployment\conf_builder.c(876) Specifyingservices and modules directories using axis2.xml but path of the library directory is not present
    [Mon Jun 18 23:14:28 2012] [error] ..\..\src\core\deployment\conf_builder.c(261) Processing transport senders failed, unable to continue
    [Mon Jun 18 23:14:28 2012] [error] ..\..\src\core\deployment\dep_engine.c(939) Populating Axis2 Configuration failed
    [Mon Jun 18 23:14:28 2012] [error] ..\..\src\core\deployment\conf_init.c(195) Loading deployment engine failed for client repository C:\Program Files (x86)\SAP BusinessObjects\Data Services\ext\webservice-c\axis2.xml
    As it is identified as an version problem, this issue is not going to be investigated any further.
    As an alternative, can try to use Oracle 11g SOAP_API.sql.

  • Cannot add parameter or header to post request URL in Data/Services

    I'm trying to set up Data/Services in flash builder to connect to a RESTful API and as per usual Flash Builder attempts to scupper my efforts with it 'nearly but not quite' tools at every turn.
    So I need to pass a POST request with a JSON string containing auth details to the URL:
    https://myrestservice.com/rest/session/
    For authentication to work I also need to add either:
    A: an additional header containing: api_key = *my-api-key*
    or
    B: append the api key to the URL so: https://myrestservice.com/rest/session/?api_key=*my-api-key*
    Simple right? Wrong. In the data/services tool for a custom http service there seems to be no way to add a custom header. Ok annoying as even a free chrome plugin can do this but hey I can live with that, I'll use option B. Wrong again. The URL field in Data/Services will ignore the query on the end of the URL. Seriously WTF. Am I missing something here?
    So if I amend the auto-generated code in the super class and call it directly it works but if I try to take advantage of any of the tools the code is regenerated and overwrites my changes. Test Operation never works either.
    I know there is a second class which is supposed to be used to extended and override the super class but only certain overrides seem to work so for example:
    This works:
    ._serviceControl.baseurl = ("https://someotherurl.com")
    This doesn't work:
    ._serviceControl.headers = ({"api_key = *my-api-key*"})
    Oh and Test operation only seems to execute the super class. Once again a brick wall.
    Working with flash builder seems to be 50pc coding 50pc deciding if it's a bug in your code or flash builder f*****g you over.
    Any thoughts, workarounds, am I missing something would be much appreciated.
    Thanks

    Shameless bump here!
    So nobody has had this issue before?

  • Data Service DB repository Size

    Hi all,
    Is there any database sizing guide for Data Service XI 3.2 for SQL Server 2005 ?
    Sincerely,
    Sébastien

    Dear Sebastien,
    When you login to data services there is a link to rference documents.
    ALl the relevant documents are given there or are in HELP.
    If you want to find more detials ::
    http://www.download-free-pdf.com/sap-business-objects-data-services-training.pdf
    Please close the thread if this answers your questions. Repost if you want more detials.
    Rgds,
    MG

  • Can "SPML Web Service Complex Data Type field" take multiple values ?

    In Generic Technology Connector's -SPML design parameters section, Can we give multiple values in SPML Web Service Complex Data Type field?
    If not, how can i call methods directly instead of calling them through a values of the "name" attribute of the "complexType" element in SPML Web Service Complex Data Type?
    I need 'SPML Web Service Complex Data Type' to hold multiple values.And based on the request it has to initiate appropriate method of action.
    Presently i have three methods add,modify and delete which i am calling through a single value of the "name" attribute of the "complexType" element in SPML Web Service Complex Data Type.
    I want to replace this single value with multiple menthods , so that a direct interaction between the method,OIM and target can be established.
    Edited by: 821054 on 16/02/2011 04:23

    Thanks Robert.
    You'll need to create your own interface to the webapp database for those kind of data operations
    by this, are you speaking of the internal BC database which stores web app schema data? That would be great if it were possible to update that programmatically because I need to use the List (Checkbox List) field type (for the search functionality), but I need to supply the checkbox options from a web app rather than by manually updating the list entered in the Fields view of the web app settings (shown below).
    I'm curious if anyone else has tried this?
    Again, my reason for needing to use the List (Checkbox List) field type is that the page which processes searches knows to expect a comma separated list for this field type and then appears to be parsing out the individual values for searching out web app items with 1 or more matching values. You're right that text fields (string and multiline) just check for 'string contains' matches, and this would be ok if I was only ever needing to search just one value at a time. Here's an example of what I might do:
    Web App item field value (as recorded against the List (Checkbox List) field type:
    8294877,8294878
    Web App Search value (for this same field):
    8294879,8294877,8294885
    The search would return this web app item because the field contains 2 (1 or more) individual values even though they were entered into the search field in a different order. If this web app item were just a Text (string or multiline) field, the searched value is not a substring of the web app item's stored value, so it would not find a match. Hence the need to use Checkbox List field type.
    The web app will have thousands if not 10s of thousands of records, so dumping them all into one big array or object and searching on the front-end won't be practical (though it works great on smaller datasets).

  • Data Service Wizard - How can I reconfigure return type field as XML (E4X) value

    The HTTP Data Service wizard - "Reconfigure Return Type" - does not allow XML (E4X) to be selected as a data type for a field.  For example , If my example XML payload looks like this (see below), I would like to set the datatype for "settings" field to be XML (E4X) and have the service decode the "string" value into an XML (E4X) value.
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <ListOfUsers version="1.0.0">
        <User>
            <id>3</id>
            <subType>INTERNAL</subType>
            <authName>internal</authName>
            <name>Internal User</name>
            <settings>&lt;?xml version="1.0" encoding="utf-8" ?&gt;&lt;Settings&gt;&lt;Profile&gt;&lt;Region&gt;emea&lt;/Region&gt;&lt;Language&gt;en.g b&lt;/Language&gt;&lt;/Profile&gt;&lt;/Settings&gt;</settings>
        </User>
    </ListOfUsers>

    I find a (reasonably) elegant workaround which is to add a transient property in the "public" sub class of the value type - see below - I havent tested it much so not sure if it will work adequateky in all circumstances
    package services.listeningpost
    public class User_type extends _Super_User_type
    public function get xmlSettings():XML
    return new XML(settings);
    public function set xmlSettings(object:XML):void
    settings = object.toXMLString();

  • Unable to create records in database using PHP Data Service

    Hello, I've been stuck on this for a few days and search up and down for this on the net, no response I've found has worked, so I come to you...
    Here are the steps I've taken, I think it's pretty standard
    1. I have a macbook pro running osx 10.7.3
    2. I installed MAMP all default (I've acually reinstalled this because someone suggested this might fix it)
    3. Thru phpMyAdmin I created a database called my_test
    4. In that database I created a table, this is the export of that table: (I've also tried this with InnoDB which is the default)
    CREATE TABLE `customer` (
      `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
      `name` varchar(50) NOT NULL,
      `email` varchar(150) NOT NULL,
      PRIMARY KEY (`id`),
      UNIQUE KEY `id` (`id`)
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
    5. I created a new Flx Project (Running Flash Builder 4.5.1 Premium)
         Project Name: PHPTest
         Application Type: Desktop (Although I've done the same thing with Web and got the same results)
         >> Next
         Application Server Type: PHP
         Web Root: /Applications/MAMP/htdocs/
         URL Root: http://localhost:8888/
         Clicked 'Validate Configuration' and that worked
         Output Folder: /Applications/MAMP/htdocs/PHPService (default by Flash Builder)
         >> Finished
    6. On the Data/Services tab on the bottom I click 'Connect to Data/Service...'
         Select 'PHP'
         >> Next
         Select 'Click here to generate a sample'
         Select 'Generate from database' radio button
         Username: root
         Password: root (default for MAMP)
         Host name: localhost
         Server port: 8889 (default for MAMP MySQL port, the HTTP port default is 8888 which in both cases seem to work but every video I've seen that uses MAMP on youtube uses 8889)
         Database: my_test
         Click 'Test Connection' (works)
         Table: customer
         Primary Key: id (this field is greyed out and Flash Builder selects 'id' which it figures out from the SQL table)
         >> Click OK
    7. Then if I don't have the Zend Framework folder in my /Applications/MAMP/htdocs/ folder it tells me its going to create that and I say alright. Then Flash Builder says stuff about how this is really only for testing and not production server ready and I say alright.
    8. Then it takes me back to the Form from Step 6 when I get the chance to select 'Click here to generate a sample'
         These fields are now filled with this data automaticly:
         PHP Class: /Applications/MAMP/htdocs/PHPTest/services/CustomerService.php
         Service name: CustomerService
         Service package: services.customerservice
         Data type package: valueObjects
         >> Click Next (shows all the functions that will be now availible)
         >> Click Finished (End of the forms and it opens Dreamweaver to the php file it created CustomerService.php which I have no need to edit so I close that down)
    9. Back in Flash Builder I switch to design view and drag a datagrid onto the big white area in the middle, whatever that is called.
    10. Then below in Data/Services tab on the bottom I click drag the function 'GetAllCustomer' on top of the datagrid.
         I say yes to rebound and click ok and the view of the datagrid is updated with the colums from the 'customer' table in mySQL.
    (Now let me say that when I hit save and compile this, if I actually had records in this table that I insert thru phpMyAdmin, this does show in the datagrid. So for the whole CRUD thing I am able to get the R which is Read)
    11. Now going back to the design view in Flash Builder I will create a form to create records in the table... (I guess this isn't really a step)
    12. In the Data/Service tab on the bottom I select 'createCustomer' function and then there is an icon called 'Generate Form' that looks like a white piece of paper with a gear on the bottom of it.
    13. This opens up a new form and since I don't have a crazy bunch of fields in my table I just click Finished (If you click next you can specify which fields you want to exclude from the form but this time I don't need to)
    14. This actually creates 2 forms if you look at the code, the second just shows the return type from when you click 'CreateCustomer' button on the first form. Because they overlap in design view I drag the form out of the way so you can see the input form, the return form, and the datagrid
    15. Then I save and compile...
    (Also if your actually reading this I didn't remove the id form field, I get the same result either way, but if you do remove the form field in the code/design you also have to update the button function to not deal with the id before it gets sent off to the php page since in this case the MySQL table is set to auto_increment the id, sorry this doesn't make much sence but this little area doesn't matter much either way)
    16. Now fill in whatever data you want for name and email, try differnt numbers in the id field like 0, nothing, 1, 1000 and click 'CreateCustomer'
    (For me nothing happens, no return is put in the return field, no error pops up and the datagrid is not updated with the new record, also going over to phpMyAdmin and checking out the table browse doesn't show any changes either, I know the button is calling the function because if I add a state change in that function it changes, it would seem that the line:
    createCustomerResult.token = customerService.createCustomer(customer2); doesn't do anything)
    So any idea what is wrong here, I'm convenced it's something stupid easy simple I just can't see it.

    In case you need more info, here is a code dump on a mxml project that has this problem:
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                           xmlns:s="library://ns.adobe.com/flex/spark"
                           xmlns:mx="library://ns.adobe.com/flex/mx"
                           xmlns:customerservice="services.customerservice.*"
                           xmlns:valueObjects="valueObjects.*"
                           currentState="State1">
        <fx:Script>
            <![CDATA[
                import mx.controls.Alert;
                import mx.events.FlexEvent;
                protected function dataGrid_creationCompleteHandler(event:FlexEvent):void
                    getAllCustomerResult.token = customerService.getAllCustomer();
                protected function button_clickHandler(event:MouseEvent):void
                    var customer2:Customer = new Customer();
                    customer2.id = parseInt(idTextInput.text);
                    customer2.name = nameTextInput.text;
                    customer2.email = emailTextInput.text;
                    currentState = "Test";
                    createCustomerResult.token = customerService.createCustomer(customer2);
            ]]>
        </fx:Script>
        <s:states>
            <s:State name="State1"/>
            <s:State name="Test"/>
        </s:states>
        <fx:Declarations>
            <s:CallResponder id="getAllCustomerResult"/>
            <customerservice:CustomerService id="customerService"
                                             fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)"
                                             showBusyCursor="true"/>
            <valueObjects:Customer id="customer"/>
            <s:CallResponder id="createCustomerResult"/>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <s:DataGrid id="dataGrid" includeIn="State1" x="330" y="10" width="392"
                    creationComplete="dataGrid_creationCompleteHandler(event)" requestedRowCount="4">
            <s:columns>
                <s:ArrayList>
                    <s:GridColumn dataField="id" headerText="id"></s:GridColumn>
                    <s:GridColumn dataField="name" headerText="name"></s:GridColumn>
                    <s:GridColumn dataField="email" headerText="email"></s:GridColumn>
                </s:ArrayList>
            </s:columns>
            <s:typicalItem>
                <fx:Object id="id1" email="email1" name="name1"></fx:Object>
            </s:typicalItem>
            <s:AsyncListView list="{getAllCustomerResult.lastResult}"/>
        </s:DataGrid>
        <s:Form includeIn="State1" defaultButton="{button}">
            <s:FormItem label="Id">
                <s:TextInput id="idTextInput" text="{customer.id}"/>
            </s:FormItem>
            <s:FormItem label="Name">
                <s:TextInput id="nameTextInput" text="{customer.name}"/>
            </s:FormItem>
            <s:FormItem label="Email">
                <s:TextInput id="emailTextInput" text="{customer.email}"/>
            </s:FormItem>
            <s:Button id="button" label="CreateCustomer" click="button_clickHandler(event)"/>
        </s:Form>
        <s:Form includeIn="State1" x="0" y="204">
            <s:FormItem label="CreateCustomer">
                <s:TextInput id="createCustomerTextInput" text="{createCustomerResult.lastResult as int}"/>
            </s:FormItem>
        </s:Form>
    </s:WindowedApplication>

  • Shared Services Configuration : Database type

    Hi all,
    i installed essbase and couldn't connect to sql to load the data into essbase( though it works fine with excel and text file)
    after numerous pondering on the forums I could not find a solution to my probelm
    why i could not connect to sql from essbase ?
    I decided to retry the installation . I have come to a point within installation where i need to select
    Shared Services Configuration : Database type
    unfortunately oracle is not available here though I have installed oracle 11g on my machine and setup users to be used in the epm system ( version 11.1.2)
    the only type available is the oracle jdbc driver .
    Any suggestion as to how i can get oracle database type here ?
    OR am i missing something prior to installation.

    To connect to load data or metadata follow steps
    1. Create a system DSN in the machine which is hosting Essbase Server.
    2. Select Create Rule file.
    3. Go To File and select Open SQL.
    4. Select Application and Application
    5. Select DSN and provide user credentials.
    Hope this helps.
    Database Type - Is the database Type which you want to use i.e. IBM DB2 / MS SQL Server / Oracle...
    Hope this helps.
    Regards,
    Manmohan Sharma

  • How to add  teradata Data type in essbase shared services configuration

    [pic here |http://gerardnico.com/wiki/_detail/epm/hyperion_epm_system_configurator_database_registry.jpg?id=epm%3Aepm_installation]
    I am not getting oracle or Teradata during configuration of Shared Services in database type
    PIC HERE
    I added both the database (sample SH for oracle and WIMM (personalized database ) for Teradata) in the microsoft odbc administrator on the machine .
    but it does not detect these data bases -- does any one know to configure and add databases to the drop down list .
    thanks
    Edited by: UOOLK on 02-Aug-2011 07:28
    Edited by: UOOLK on 02-Aug-2011 07:31
    Edited by: UOOLK on 02-Aug-2011 07:32

    When configuring shared services it does not use ODBC connections it uses JDBC, by default you should see Oracle in the dropdown but you will not see teradata.
    You don't mention the version but if it is 11.1.2.x then you should see a screen like http://2.bp.blogspot.com/__2AaArK5lW8/S9XEZAzyHEI/AAAAAAAACRE/DI1A9ui7kTM/s1600/13.png when configuring shared services for the first time.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to Update Date data type field value in oracle

    I want to update records in a table that has a Date data type field. It's a oracle databse. I use the oracle thin drive to connect to the database. The everything works well, only when i try to update records that have date type value, something doesn't work.
    I use the following stmt to update DB:
    Class.forName("oracle.jdbc.driver.OracleDriver");
    Conn = DriverManager.getConnection("jdbc:oracle:thin:@hostname:portnumber:schname", "uid","pwd");
    stmt=Conn.createStatement();
    String updStr = "UPDATE Article SET Archive = ' Disable' WHERE ArticleDate = # " + sqlDate +"# " ;
    stmt.executeUpdate( updAStr ) ;
    But I always got the SQLException run time error, which is "ORA-00911: invalid character"
    Who can help me to find out how to write the above Update statement correctly? esp. that how to present the Date type variable in the statement.!
    BTW, sqlDate is a Java.sql.Date variable, Is it "# " + sqlDate + "# " the right way?
    Many thanks

    What do you get out of Oracle's TO_DATE that java.sql.PreparedStatement.setDate()
    won't give you? - MODWell, I don't know that I've used all capabilities of either, but when it comes to managing Date Strings my Oracle bias :) would be to code using Oracle's TO_CHAR and TO_DATE functions. Perhaps someone can tell me vendor neutral ways to do something simiilar to managing these input date/times (and hopefully just as easily, pretty much all done in a single line, single function)?
    WHERE aDATE > TO_DATE('2010','YYYY')
    WHERE aDATE > TO_DATE('2010 AUG 22','YYYY MMM DD')
    WHERE aDATE > TO_DATE( 'January 15, 1989, 11:00 A.M.', 'Month dd, YYYY, HH:MI A.M.')
    I believe most databases have something similar to this, although I have found Oracle's to be the most flexible and consistent, if not the most intuitive. Other vendors (DB2, SQL Server, Access) don't force you to always be explicit, and can accept a variety of date strings without masks. The problem is that while you might not be getting an error, it also may not be parsing your date as expected.
    One could argue that this vendor specific hodgepodge of literal date/time strings is only one program modification away from disaster. They might be right.
    Just to be clear. I'm not recommending using a vendor specific approach, but it's not a perfect world and somtimes you have to use what works easiest or best or fastest, and in some cases, that is the vendor specific alternatives.

  • Data Service - only returning 256 chars on text field

    Using FlashBuilder Data Services - PHP service all working fine.
    Except the service is only returning the first 256 chars of a "text" field of my db table.
    The field has more than 256 chars and is marked up via the RTE component
    <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="14" COLOR="#000000" LETTERSPACING="0" etc...
    The generated code looks like(memberservice.php)
    public function getAllMember_content() {
            $stmt = mysqli_prepare($this->connection, "SELECT * FROM $this->tablename" );       
    etc....
    Have tried a few conversions on the sql statement to no avail
    select *, convert(text,data) as data from members
    Any ideas on why this is happening - debugged in charles and its cut off in the response from ZEND/PHP so it in not Flex doing it
    this one is killing me :-)
    rgds
    m

    ok solved - kind of
    phew - it's the generated service code it appears - not sure why it's working for some and not others! head scratching
    this works
    public function getAllItems() {
        $this->connect();
        $sql = "SELECT * FROM member_content";
        $result = mysql_query($sql) or die('Query failed: ' . mysql_error());
        return $result;
    this does not
    public function getAllMember_content() {
            $stmt = mysqli_prepare($this->connection, "SELECT * FROM $this->tablename" );       
            $this->throwExceptionOnError();
            mysqli_stmt_execute($stmt);
            $this->throwExceptionOnError();
            $rows = array();
            mysqli_stmt_bind_result($stmt, $row->id, $row->title, $row->topic, $row->type, $row->data, $row->shortdesc, $row->date_created, $row->date_lastmod, $row->rank, $row->createdby, $row->content_source);
            while (mysqli_stmt_fetch($stmt)) {
              $rows[] = $row;
              $row = new stdClass();
              mysqli_stmt_bind_result($stmt, $row->id, $row->title, $row->topic, $row->type, $row->data, $row->shortdesc, $row->date_created, $row->date_lastmod, $row->rank, $row->createdby, $row->content_source);
            mysqli_stmt_free_result($stmt);
            mysqli_close($this->connection);
            return $rows;
    thanks all for your help
    many thanks
    martin

  • Data services connectivity with Oracle 8i database

    Query 1:
    We are using Data services XI R3 for pulling data from Oracle 8i data soure to Oracle 10g target.
    Our repository is also a 10g database.
    We created a datastore for 8i source and tried to import the table.
    Below is the error that we get when try to import the table:
    Error: Cannot import metadata.
    Oracle <....> error message for operation <OCIStmtExecute> : <ORA-00904: Invalid column name>..(BODI-1112338)
    While creating datastore, we entered database type as Oracle.
    We were able to import the table with same 8i source , target and repository of 10g version by using Data Integrator XI R2 tool but when we try the same thing with Data services, we are getting this error.
    Any other alternative other than using System DSN?
    Query 2:
    Also,is there any performance impact if we use ODBC System DSN name as the data source instead of Oracle while creating data store in Data services XI R3?
    We have used DSN since we were not able to import table from Oracle 7 and 8i databases(source) into repository (Oracle 10g) if we give Oracle as the data source. Target database is also Oracle 10g database.
    Edited by: Amardeep Pandey on Jun 26, 2009 8:51 AM

    the following issue is fixed in XI 3.2, you will be able to import the tables, but Oracle 8i and 7 are not supported oracle datastore versions, you will have to select oracle 9i in the datastore
    Oracle <....> error message for operation <OCIStmtExecute> : <ORA-00904: Invalid column name>..(BODI-1112338)
    no there is no other alternate than using ODBC

Maybe you are looking for

  • Posting balance is not cleared (Period 06 / 2011 A) error

    Mates I'm trying to do a Test run; no documents are created .system throws a the error message.I realize its a common error but hoping to fix this. "Posting balance is not cleared (Period 06 / 2011 A) Message no. 3G103 Diagnosis The employee has been

  • PL/sql issue

    Hey, I tryed to use forall like this and its thorwing an error like this. PLS-00435: DML statement without BULK In-BIND cannot be used inside FORALL Please Help me regarding this issue and am trying insert bulkcollect and but its throwing an error mi

  • Desktop PC and iphone3g

    My iphone works fine downloading photos to my laptop but gives me an error message on my desktop PC that says interface is not registered. The Iphone photos show up when connected in the picture viewer, when i try to copy them to a folder it gives me

  • Using Foreign Apple ID in US

      I created an Apple ID in foreign country and tried to download App in US. But it  always goes to Apple Sotre in foreign country as default. that causes many trouble since some Apps are not avaliabe in foreign country. How could I do since I plan to

  • HT201363 i still cant reset my security questions why is it so complicated?

    i still cant reset my security questions and ive followed the steps provided by itunes i dont know what to do