Handle Flex 4 data services as Object or as XML?

Hi,
I've been playing with dataservices as a source to populate several components & functions to generate CSV.
My question is, what's the most efficient way to loop through the data in dataservices?
Using object loop?:
for each( item in dsrvc ){
   if( dsrvc[item] == value){
      //add item to component
Using E4X:
var newDP:dataprovider = dsrvc.customer.(lastname == value);
component.dataProvider = newDP;

Hi,
   When it comes to runtime performance of the applications created using Data Centric Development ( DCD ) wizards, they perform same as the ones created without using DCD.
   Even the code generated by these wizards are easy to read & maintain with proper inheritance, packages & overriding. But, if you are planning to use any of the MVC style frameworks, the generated code may not fit so well right now. We are already working on improving the experience for people who are using these frameworks.
   Overall, using DCD gives a lot of productivity gain with its unified wizards & advanced UI Authoring workflows including Automatic Form Generation, Charts, Master-Detail views, Paging, Client Side Data Management etc.
  Please let us know if you have any specific concerns in the generated code.
Regards
Srinivas Annam
http://srinivasannam.wordpress.com

Similar Messages

  • HOT TO INTEGRATE, WCF flex 4 data services

    OK.  I am trying to build a simple HELLO WORLD WCF Sample and use FLEX 4 (new data servic
    es wizard to invoke it).
    I have the WCF Client
    Tested the WCF Client  (works great with JQUERY)
    Now I have a brand new flex project and was able
    to click the "DATA/SERVICES" and establish a good relationship to the wsdl
    http://llocalhost/service.svc?wsdl
    Flex 4 finds the service and the correct methods.
    WHEN IT TEST IT OUT using the "TEST OPERATION" panel..it fails with a very ugly error.
    a:InternalServiceFaultError in deserializing body of request message for
    operation 'HelloWorld'. OperationFormatter encountered an invalid Message
    body. Expected to find node type 'Element' with name 'HelloWorld' and
    namespace 'http://localhost'. Found node type 'Element' with name
    'q0:HelloWorld' and namespace 'http://tempuri.org/'OperationFormatter
    encountered an invalid Message body. Expected to find node type 'Element'
    with name 'HelloWorld' and namespace 'http://localhost'.  .........
    I also decided to try and test invoking it from a mxml file
    NOTHING HAPPENS AT ALL..OR IT GET NULL OR OTHER ERRORS
    <s:Application 
    xmlns:testWcFWebServices="services.service.*"
    protected function helloWorld():void
    //Alert.Show(ServiceTest.HelloWorld().result);
    HelloWorldResult.token = ServiceTest.HelloWorld();
    Alert.show(HelloWorldResult.lastResult);
     <fx:Declarations>
     <s:CallResponder id="HelloWorldResult"/>
     <testWcFWebServices:Service id="ServiceTest" fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)" showBusyCursor="true"/>  </fx:Declarations>
    </fx:Declarations>
    PLEASE HELP...this is very disturbing when trying to figure this out.
    search:
    flex 4 CallResponder wcf wsdl hello world
    flex 4  wcf wsdl data services
    flex 4  wcf wsdl data services 2010
    flex 4  wsdl data services wizard
    flex 4 web service hello world example
    flex 4 data services web service hello world example
    flex 4 data services hello world example
    flex 4 data services example
    flex4 wcf
    flex InternalServiceFaultError in deserializing body of request message for
    flex services InvocationTargetException

    Holy cow???? it finally came through....It really should not be that Hard.  I should be able to right click the "DATA/SERVICES" icon and it generate a MXML action script file on how to consume it...
    IF JUST WORKING WITH a simple Data Type:
    DO NOT NEED TO work with a
    <s:CallResponder id="myHelloWorldResult"/>
    JUST SIMPLE CREATE A RESULT EVENT IN THE DECLARATION:
      <testWcFWebServices:MyHelloWorld id="ServiceTest" result="ServiceTest_resultHandler(event)" fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)" showBusyCursor="true"/>
    protected function ServiceTest_resultHandler(event:ResultEvent):void
    showResult(event.result.toString());
    private function showResult(reqResult:String):void {
    Alert.show(reqResult);
    TO NOTE: I DID USE THIS SAMPLE AS I GUIDE: Even though this guy used action script...and I wanted to use the DATA\SERVICES wizard.
    http://cookbooks.adobe.com/post_Connecting_Flex_4_with_WCF_Services-17006.html

  • Data service complex object deserialization

    I am building a simple data services application that has a
    many-to-one association between two classes:
    public class Product {
    public var title : String;
    public class LineItem {
    public var product : Product
    public get function title() : String { return
    this.product.title; }
    I am trying to populate a DataGrid with a list of LineItems,
    using the product's title in one of the fields. It seems, however,
    that the LineItem product property is populated with an Object, not
    a Product when returning from the DataService call. From I have
    read (see #9), this
    seems to be expected based on how the Flash player deserializes
    data.
    My question though is if there is an easy work around for
    this problem? Thus far, all I have found that works is to access a
    LineItem from the DataService result after it completes, but that
    seems very hack-ish to me.
    Thanks,
    Josh

    The InputRender is the recommended tag for complex types. The only problem is that it doesn't (currently) support object types. It supports interMedia types. You need to use the ShowValue tag and the SetAttribute tag in order to update your complex type. In our next release we will add object support to the InputRender tag.
    Thanks
    null

  • Integrating a Flex + LiveCycle Data Services 2.5 app in the Workspace UI

    Hi,
    We're building a crud app that needs to be integrated in a customised workspace UI application.
    I'm thinking of adding a Tab and having a moduleloader pull a Flex SWF module in that's compiled with the data-management-config.xml and context info of a LCDS root on the same server.
    Anyone here opinions or experience with this strategy or recommends another approach?
    cheers & thanks in advance,
    Jan

    Hi Bushra,
    May I suggest that you pose your question on the Adobe AIR Forum? As there are people monitoring the AIR forum with that particular expertise, it would seem to be the more appropriate venue.
    Thanks,
    Kim

  • Handling ResultEvent for data service methods?

    I have a dataservice (ds) that makes use of createItem(obj) and deleteItem(obj).  When I call either of these methods, I want to be able to determine which method is being called and then take an action depending on which was performed..
    Here's what I'd like to do...
    ds.addEventListener(ResultEvent.RESULT, dsHandler);
    private function dsHandler(event:ResultEvent):void{
    if(<the ds created an object>){
    ...do this....
    } else if(<the ds deleted the object>){
    ...do something else...
    So how can I write this to do as I described above?  I've read a little bit about using tokens, but I'm not sure if this is the direction I need to be going towards.
    I saw an example of
    private var token:AsyncToken;
    token = ds.createItem(obj);
    token.kind = "create";
    ds.createItem(obj);
    and then...
    private function dsHandler(event:ResultEvent):void{
    if(event.token.kind == "create"){
    ...do this....
    } else if(event.token.kind == "delete"){
    ...do something else...
    This kinda worked for me, except I kept getting an error that said "Item with id 'CEAD6420-6E28-B2B3-10C9-E62770B9BD13' already exists.  Error on destination 'ds' "  Without this code, I get no error.  The weird thing is that it still creates the item even if it reports the error.  So why is this happening?
    Any help is appreciated.  thanks!

    Hi ,
    There are different way to achieve this.One of is
    Call your web service  into backing bean and whatever out put will come.Using any java parser parse the XML file.And put your validation and show the message to the user.
    Thanks
    Prateek

  • How to cleanse the Arabic-General and Address data using Data Services 3.1

    I m working in UAE project(Sap Customer & Vendor master) data migration. Main address and customer tables are builded in english and arabic equally.
    I can able to read the arabic data, but there is no clue, how to cleanse or modify those datas?
    Is it possbile to handle the arabic data in business objects-data services XI 3.1?
    Is it possible to use the EMEA address directories to cleanse or standandize the arabic data?
    Please help me out.
    Thanks in advance.

    Dear All,
    Anyone with any inputs for above question. Please advice
    Vamshi - im also looking for some advice as per your questions with arabic versions
    Best Regards

  • 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.

  • Data Services for CairgnormStore sample

    I am trying to run CairngormStore for Flex 2 end-to-end.
    It looks like the only deployment/configuration problem left
    is the configuration of Data Services.
    What is already done:
    - Flex 2 SDK is installed
    - Flex 2 builder is up and running
    - Flex 2 Data Service Express is installed with the option
    "JRun"
    - Cairngorm Library is installed
    - Project CairngormStore_2 is created in FlexBuilder (
    Project type "Flex Data Service")
    - the path to the Cairngorm Library is defined
    - the path to the JRun is defined
    - CairngormStore is build OK
    - JRun starts successfully
    Attempt to run the CairngormStore results in run-time alert
    message "Products can't be retrieved".
    Obviously my deployemnt /configuration of Data Services on
    the client and server side is not complete.
    Given pretty involved combination of declarative
    configuration parameters and configuration files it is
    not easy to figure out what the problem is and how to cure
    it.
    Any hint, advise will be greately appreciated.

    matamel, thanks for the reply.
    The point is that there the app does not crash, so there is
    not much information in the log.
    First, after the execution of
    public var model : ShopModelLocator =
    ShopModelLocator.getInstance();
    there is a log message: "didn't find all selected items"
    and later after execution of
    CairngormEventDispatcher.getInstance().dispatchEvent( new
    CairngormEvent( GetProductsEvent.EVENT_GET_PRODUCTS ) );
    there is a message issued by
    Alert.show( "Products could not be retrieved!" );
    So there is not much to analyze so far.

  • Blueprints Data Services

    Hi,
    I'm trying to use Blueprints for Data Services.
    I used document "Blue Prints Data Services Content Objects.pdf", there are all Instructions for downloading and installing.
    So I have done these steps:
    (1) Install the Global Parsing Options
    (2) Download "Data Quality Blueprints - All"
    (3) Extract ZIP-File to Tutorial-Folder
    (4) Import ATL - File
    (5) Data Store - Configuration-Change to MySQL-Repository
    (6) Substitution parameter configuration
    (7) Address - Server is running
    Started Job "Job_DqBatchGermany_AddressCleanse".
    Job is completed successfully, but there are blanks in Output - Table - Columns.
    For every record Status_Code = "S0000" and Info_Code = "1030".
    Please provide me a way to troubleshoot this problem.
    Thanks

    Info_Code=1030: No country found in the record
    (DQ Appendix in the Reference Manual)
    The Address Cleanse Transform requires a correct CountryID, otherwise it can't start. So either it is getting none at all, it is NULL or something. Or it is using the wrong format, the transform expects the ISO codes. If you do not have the ISO codes, use the CountryID Transform upfront.
    https://wiki.sdn.sap.com:443/wiki/display/BOBJ/GlobalAddressCleansing+Transform

  • Can Data Services take .gz (zipped) file

    Hello,  I am trying to figure to how to setup a Data Services job to process an .xml file that is stored in a .gz (zipped) file.   Can Data Services process .gz files?    I don't think it can.   I need to figure out how to unzip it in the job and process the file..
    Thanks.

    From reading this thread, i'm guessing you re fairly new to unix ?
    Before getting too involved in the data services part of this, make sure you aren't getting problems because of other issues.
    first, write your script to call gzip taking a filename as a parameter.
    I suggest you create a standard directory you keep all the scripts you will call from Data Services in. 
    When you are login in to the account Data services runs under
    type:
    cd ~
    (This should change to your home directory if your not already there) then press return.
    next type:
    pwd
    then press return
    This should display the home directory for data services.  Lets assume it is '/home/dataservices'
    Next create a directory for your script:
    mkdir /home/dataservices/scripts
    change into that directory:
    cd  /home/dataservices/scripts
    write your script:
    vi gunzip.ksh
    (Replace vi with the editor or your choice)
    Your script should at its most basic look something like this:
    #!/bin/ksh
    gzip - d $1
    NB:  If you don't understand shell scripting, google is your friend.  A link I found quickly:
    http://www.dartmouth.edu/~rc/classes/ksh/
    next set the script as executable:
    chmod u+x gunzip.ksh
    finally verify it works from the command line:
    /home/dataservices/scripts/gunzip.ksh myfile.gz
    If it uncompresses the file, you should be able to run this from data services with no trouble.
    If you don't understand these unix commands, you really need to forget about data services for a while and go and learn unix There is plenty of good stuff online and millions of books for beginners like dummies guides, etc.
    Good luck !

  • Mapping Objects in Flex Data Services

    Hi My Dear Friends
    This is yogans, i am working in flex for the last 15 days
    and i learned the basic things like syntax, tags, scripts. and i am
    doing
    some data services work now. especially with the help of
    Java Remote objects. I dont know http services and
    webservices(WSDL).
    My doubt here is, I created a user defined object in java
    and i want to send this object through Remote call from flex. how
    can i
    type cast the java object to flex. And i want to add these
    objects to the dataprovider of a datagrid. Please help me in
    acheiving
    this. i will be very thank ful to you in my life. I know
    that i have to create same kind of object in flex. But i dont have
    concrete idea
    please explain me with very simple example step by step . I
    am awaiting in hope that God will send some one to help me.
    Thanks and Regards
    Yogans.s

    Hi,
    If you want to map your actionscript class to your server's
    Java class. You can run a util function
    registerClassAlias("dev.echoservice.Book",Book);
    where "dev.echoservice.Book" is the fully qualify name of
    your java class. Book is your actionscript class.
    Calling this util before you make your remoteobject call. You
    can put this in your actionscript class constructor, it makes this
    call whenever you create your class. However, it seems to be better
    to call it when the class is loaded. To do so you can declare it as
    static
    public static var a:* =
    registerClassAlias("dev.echoservice.Book",Book);
    OR
    You can also declare it as metaData in your class as:
    [RemoteClass(alias="dev.echoservice.Book")]
    However, I found someone saying that it didn't work in sdk
    compilation, but webtier compilation. It might be some
    configuration issue. I haven't tried it yet.
    To display the properties in the dataGrid, you just have to
    either use Array or ArrayCollection. If databinding is involved,
    the datagrid need to know the Collection.Change event. It is better
    to use ArrayCollection, therefore, adding new item to
    arrayCollection the datagrid get repopulate.
    hope it helps!
    William Chan

  • Problems returning complex objects from a php data service

    either the data services tool is buggy or i am doing something wrong. here is the code:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
         xmlns:s="library://ns.adobe.com/flex/spark"
         xmlns:mx="library://ns.adobe.com/flex/halo"
         minWidth="1024" minHeight="768"
         xmlns:personservice="services.personservice.*"
         initialize="init()">
         <fx:Script>
              <![CDATA[
                   import mx.rpc.events.ResultEvent;
                   import mx.controls.Alert;
                   import mx.collections.ArrayCollection;
                   public var people:ArrayCollection;
                   private function init():void {
                        getPeopleInMyWorldResult.token = personService.getPeopleInMyWorld();
                   protected function getPeopleInMyWorldResult_resultHandler(event:ResultEvent):void {
                        people = new ArrayCollection(event.result as Array);
              ]]>
         </fx:Script>
         <fx:Declarations>
              <s:CallResponder id="getPeopleInMyWorldResult" result="getPeopleInMyWorldResult_resultHandler(event)"/>
              <personservice:PersonService id="personService"
                   destination="PersonService"
                   endpoint="http://localhost/photoapp/Test3-debug/gateway.php"
                   fault="Alert.show(event.fault.faultString)"
                   showBusyCursor="true"
                   source="PersonService"/>
         </fx:Declarations>
    </s:Application>
    <?php
    class Person {
         public $name;
         public $cars;
    class Car {
         public $year;
         public $make;
         public $model;
    class PersonService {
         public function getPeopleInMyWorld() {
              $person1 = new Person();
              $person1->name = "John Doe";
              $car1 = new Car();
              $car1->year = 2005;
              $car1->make = 'audi';
              $car1->model = 'A6 Quattro';
              $car2 = new Car();
              $car2->year = 1970;
              $car2->make = 'datsun';
              $car2->model = '510';
              $person1->cars = array($car1, $car2);
              $person2 = new Person();
              $person2->name = "Jane Doe";
              return array($person1, $person2);
    create a new "flex" project in FB Beta1 with a php server. Setup the application and php script as normal, then configure the return type for the getPeopleInMyWorld function. I created a new return type called "Person" and was quite please to see that FB automagically created a "Cars" class with the all the right properties.
    Unfortunately, if you run the code (try debug mode and put a breakpoint on the result handler) you'll notice that "john doe" has lost his cars and that you also get the silent (check console) error:
    TypeError: Error #1034: Type Coercion failed: cannot convert []@1226bc49 to mx.collections.ArrayCollection.
    any ideas??
    i can get this to work by using json, but it's extra work, the com.adobe.serializers.json.JSONDecoder has little documentation, and the method outlined above is just begging to work.
    so, how are the rest of you getting complex data back from your servers? json?? amfphp?? xml (but surely not)??
    also, since i'm here discussing data services, if any adobe ppl are about, please throw one extra voice behind the following feature requests:
    1) support for optional service call arguments (http://bugs.adobe.com/jira/browse/FB-19659)
    2) a button for automatically 'generating service calls' from within the data services panel.
    thanks,
    - e

    Thank you Gaurav for pointing me in the right direction. There was some debate in the blogs as to which data transferring method (amfphp, json, or xml) was best. See
    http://blogs.adobe.com/mikepotter/2006/07/php_and_flex_js.html
    and
    http://www.5etdemi.com/blog/archives/2006/12/clearing-the-fud-on-amfphps-speed-versus-json -and-xml/
    I used json yesterday
    php:  json_encode(array($p1, $p2));   // observation: you only have to encode once as opposed
                                          // to using amf on each array...
    FB:   private var jsonD:JSONDecoder = new JSONDecoder();
          var jsonString:String = {{{return result from service call}}}
          myPeople:ArrayCollection = jsonD.decode(jsonString, services.personservice.Person);
    Note that in FB you can use the services.personservice.Person class as an optional argument in the jsonD.decode function. This class can be automatically generated using FB's built-in data service's panel when you try to configure the return type (as I described above). The json data should unserialize correctly with Cars objects automagically created and everything (a huge time saver!!).
    It worked for me, though I'm not sure how deep the unserialization process is capable of going (objects within objects w/in objects, for example). Also I had some trouble with adobe's jsonDecoder; it had trouble eating (uhm parsing) hollow objects (i.e. objects with null properties), whereas the php_encode / php_decode handled these objects w/o fail.
    Anyway, will be reading up on amf. Tanx again Gaurav,
    - e

  • Running "Flex test drive" - Got error while attempting to connect to data service

    Hi,
    I'm a Flex / Flash builder beginner. I downloaded the 60 days evaluation, and started to run the "Flex test drive" :
    http://www.adobe.com/devnet/flex/testdrive.html
    My configuration :
    XP SP3 PRO french edition
    Tomcat 6.0
    My local Eclipse :eclipse-jee-helios-SR2-win32 (but also got the issue on the Flash Builder Eclipse, which version is 3.4.0 (Generation ID M20090211-1700)
    Flash Builder 4 with Eclipse plug-in
    All on same PC
    The Test Drive proposes examples in three technologies : Cold Fusion, PHP and Java. I'm doing the Java examples.
    Installation of Flash Builder, as well as step 1 of the Test Drive (Build the user interface) went fine. I could run the project, which at the end of step 1 correctly displayed the UI in my browser.
    Only one problem, I don't know if it is relevant for the rest of this post : I first got an error, saying that ports 8080, 8005 and 8009, requested by Tomcat, where used. After a short Google search, I fixed it by changing these ports to 8081, 8006, and 8010, in the Tomcat 6.0\conf\server.xml file.
    The Test drive second step is "Connect to data". I found some discrepancies between the Test Drive doc, and what is displayed in Flash Builder. The Test Drive says :
    "Use the Data menu and the Service Wizard to create a service for your application server. For ColdFusion and Java, specify the service file you put on your application server earlier (see Figure 9 for a PHP example). For Java, select the No password required check box, select the employeeService destination, and change the service package to services.employeeservice."
    --> But there is no "No password required check box".
    Also, when running the "Connect to data/service..." wizard, it was not at first completely clear what to choose. The proposed choices were :
    BlazeDS
    ColdFusion
    HTTP
    LCDS
    PHP
    Web Service
    XML
    Since all others choices, when tried, declared to be unconsistent with my project's server type, I finally selected "Web Service".
    In the next wizard's form, according to the Test Drive indications, I specified the URI of my EmployeeService class : C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\testdrive\WEB-INF\classes\services\EmployeeService.class
    That defined correctly the other fields.
    But when pressing the "Next >" button, Flash Builder issued the following error message :
    English translation : Unable to extract operations and entities from specified WSDL. Reason : an error occured while instrospecting the service.
    And the full error text is :
    An error occured while instrospecting the service. WSDLException: faultCode=PARSER_ERROR: Problem parsing 'file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/testdrive/W EB-INF/classes/services/EmployeeService.class'.: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 2-byte UTF-8 sequence.
    It is usually relatively easy to find fixes through Google searches, but this time, it didn't work. So here I am, expecting a bunch of wise answers from all the nice Flex / FB gurus that I'm sure haunt this forum .
    Thanks and best regards.
    Marc.

    For those who would have the same problem, here is how I could eventually fix it.
    Since the Flex Test Drive is sometimes out of sync with flash builder 4, I recreated a project using other help pages on Adobe site :
    Entry point :
    http://help.adobe.com/en_US/Flex/4.0/AccessingData/WSbde04e3d3e6474c4-668f02f4120d422cf08- 7ffd.html
    As suggested, I used the New Project wizard to create a new project, with :
    Application server type : J2EE
    Check the radio button "Use remote object access service : BlazeDS"
    Then, as indicated in following pages (section "Accessing BlazeDS")... :
    file:///C:/Mes%20documents%20C/Commun/Developpement/Documentation/HT-Tracks/AccessingData/ help.adobe.com/en_US/Flex/4.0/AccessingData/WSbde04e3d3e6474c4-668f02f4120d422cf08-7ffe.ht ml#WSbde04e3d3e6474c4-19a3f0e0122be55e1b7-8000
    ...I selected the "Data / Connect to Data/Services..." menu option, which started the Data/service connection wizard.
    There, I selected a BlazeDS (and not Web Services) service type, and everything went fine.
    Suggestion to adobe staff : maybe it would be useful to update the Flex Test Drive to reflect Flash Builder 4 ?
    Very nice product anyway, so far, congratulations...
    Rgds
    Marc.

  • Business Object Data Services (BODI) without SAP MDM?

    Hi,
    From an architectural point of view; do you always have to use SAP MDM when you want to use the  Business Object Data Services (e.g. for data validity checks when creating customers)?
    Or can you use  Business Object Data Services in combination with SAP ECC without MDM?
    Best regards,
    Marius

    All Depends on your business needs.
    1) As in if you want to use most effective cleansing (BODS contains inbult infor for Adderess cleansing) along with  some data governance(Validation, assignments,MDM Workflow) I would say fo with BO-MDM Integration.
    2) Here I am not sure via BODS - ECC you can handle ongoing maintainance , it is supreb for first time data load.
        so it is better if you use ECC-BO-MDM ---> BI/ECC for smooth transition through out landscape.
    3) Here also try to check the data structure compactiblity between BODS and ECC as per their version, it can also create a big impact.
    Hope these points can clear many doubts
    Rgds
    Deep

  • Error while creating New flex data services project

    Hi
    Error: Invalid server root. flex-config.xml or
    flex-enterprise-services.xml must exist in the WEB-INF/flex folder
    within the server root.
    Trying to create flex data services project with Weblogic8.1
    as the j2ee server, but am geting the above error in the screen
    where i point to the root of the server.
    I did deploy flex on weblogic.
    I would appreciate any help.
    Thank you
    Sun

    Hi Nj,
    Thanks for you reply, I did point root folder to WEB-INF
    folder(which contains flex folder). My WEB-INF folder is in the
    weblogics "c://bea/userprojects/applications/appname/"
    this the value in the root folder field "
    C:\bea81SP5\user_projects\applications\dcgsaApplication\dcgsAdaptersWeb\WEB-INF\flex"
    Let me know if am doing anything wrong.
    thank you
    sun

Maybe you are looking for

  • Sql Script containing INSERT INTO TABLE_NAME taking very long time

    Version:11g I have a .sql file which contains insert statements for the table ZIP_CODES like. INSERT INTO ZIP_CODES (ZIP_CODE, CITY, PROV, COUNTRY_CODE, LONGITUDE, LATITUDE) VALUES (..........);This sql file contains above 800,000 INSERT statements l

  • JDialog and request focus

    Hi I am designing an application that brings up a JDialog box. When a button is pressed on this JDialog box this triggers an action event and some code is executed. When this button is pressed I dispose the dialog box and I want the focus to change t

  • Standby when open and on when screen is closed... Help!  ???

    I accidentaly closed my Mac as I was watching Apple TV. I quickly opened it again and and the screen was black. I closed it and opened it again, but the screen stayed black. I removed the battery and turned it completely off several times, but the sc

  • Table data change logs

    Hi,    I have created a customer table. I want to log the data changes in the table. So in the technical settings of the table i have checked log data changes checkbox. When i tried to see the change logs using transaction SCU3, the logs are not avai

  • Report conversion tool--Can we modify the query

    Hi all, I have some freehand SQL reports converted into WebI reports. I understand that report conversion tool, creates a new universe for each of the freehand SQL report. But if I try to edit the query, like add a filter condition, an error pops out