Impossible to use "Connect to Data/Service" with BlazeDS

Hi everybody, I'm work on FB4 since 3 weeks, but I have big problem to use "Connect to Data/Service" with BlazeDS.  each time I try to use it, it's the same question " You must define a BlazeDS server" and when I define the BlazeDS server and .war, I have the question again... You must define a BlazeDS server
I work on Mac OsX Leopard and his java 6.
Thanks for your help

Hi,
Thanks for your feedback
Can you please tell us which version of Flash Builder4 and BlazeDS you are using.?
Also, can you try the same workflow by using the turnkey version of BlazeDS(4.0.0.11428) with Flash Builder BETA2 build.
Please let us know the outcome.
Thanks,
Balaji
http://balajisridhar.wordpress.com

Similar Messages

  • How we can use existed REST data services with JSON to create MBO??

    Web site having REST web services with JSON format data interchange. By using these service call how we can create MBO ( MOBILE BUSINESS OBJECT ) in SAP Mobile Platform. Any Limitations are there for hybrid application development in SMP?? 

    You would need to parse the XML feed into your site with PHP or JavaScript. 
    http://www.w3schools.com/php/php_xml_simplexml.asp
    Nancy O.

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

  • Solution Manager connection in Data Services

    Hi,
    When trying to make a data store connection in Data Services to a Solution Manager system I get an error that there is no connection or my credential are wrong.
    I can ping the system so there is a connection.
    I can log in to the Solution Manager system via the GUI so the credentials are ok.
    So far i have found out that the Data Store connection cannot connect to Solution Manager because it per default tries to connect to port number 3200 while the Solution Manager system default has port number 3300.
    But i can't change / select port number in the Data Services data store connection. So what do i do?

    There is a problem in the transport file supplied with BODS installation folder. Pls refer to the SAP Note :
    1616269 - Problems when installing Data Services 4.0 SAP transport files (900155.R63)
    We have used the new transport files but we are still getting the below warnings in the log files and it returned with return code 4 :
    Maximum length ("255") for "CHAR" in transparent tables exceeded
    The SAP Note 1446648 - Warning Messages installing SAP R3 transports for Data Services sayou can ignore those warnings but we are still not able to see the ZAW0 Function group in SE37.
    Let me know if you are able to do it successfully.

  • Connection between data services and BWA

    Hi,
    I want to make a connection between Data Services 3.2 and BWA. Since we use RFC connection in between in order to have them talk with eachother but i wonder if there is any documentation that describes the RFC connection and configuration required particularly in this scenario. I have gone through the documentation that explains RFC connection between Data Services and BW and what configuration we have to do, so i wonder if there are any functions we have to export to BWA from Data Services like we do in case of BW connection to Data Services or some specific configuration we have to do. If someone help who has done connection between Data Services and BWA can help or if somebody can provide documentaton on it.

    Hi,
    You should ask this question over here: http://scn.sap.com/community/data-services
    Regards,
    H

  • Problem connecting to Data/Service outside web root

    I'm new to Flash Builder (4.5). I work in an environment where developers have full access to a specified folder and subfolders on a Windows box running IIS 7 and ColdFusion 9.
    So the path to the services-config.xml looks like this (server and folder names have been changed, but the structure is the same):
    \\servername\flex$
    Path to coldfusion root looks like this
    \\servername\coldfusion9$
    The developers don't have write access to those areas. What we have is
    \\servername\webteam$\webcontent\app1
    \\servername\webteam$\webcontent\app2
    And so on
    Then our server admin sets up virtual servers so that our urls look like http://app1.ourdomain.co, app2.ourdomain.com, etc. 
    I set up a project specifying ColdFusion as the server technology and using the above paths and everything works 
    I've run set up a couple Hello World tests using <mx:RemoteObject destination="ColdFusion" source="app1.flextest"></mx:RemoteObject> and everything works as expected. (No database connections, just a function that returns a string) 
    The problem is when I try to exploit the magic of Flash Builder and use the Connect to Data Service feature to write my queries for me : ) 
    I select ColdFusion 
    In the CFC location I enter 
    \\servername \webteam$\webcontent\app1\cpa\flextest.cfc 
    Which is the same working cfc I connected to manually in my Hello World test. Flash Builder automatically populates the Service Name, Service Package, and Data Type Packages and I click next. I enter my RDS password and I then get this error: 
    The CFC file is invalid. Possible causes can be found by accessing: http://app1.ourdomain.com//CFIDE/componentutils/cfcexplorer.cfc?method=getCFCMetaData&name =flextest&path=%2Fwebcontent%2Fapp1%2Fflextest.cfc 
    Copying and pasting the url into my browser I get this error: 
    The value returned from the getCFCMetaData function is not of type struct. 
    HOWEVER, if I modify the url and remove "%2Fwebcontent%2Fapp1%" I get a response: 
    E:\webteam\webcontent\app1\flextest.cfcE:\ColdFusion9\wwwroot\WEB-INF\cftags\component.cfc WEB-INF.cftags.componentWEB-INF.cftags.componentcomponentcpa.flextestcpa.flextestcomponent remoteflexteststring 
    So I just need to tell Flash Builder to shorten the path and not add "/webcontent/app1" How? 
    Sorry it took so long to explain. I've been googling for days and can't find anything. I'm sure there must be other users who develop on servers outside the root path of their web server, right? 
    P.S. I tried mapping drives but that didn't help
    Thanks,
    Ron
    "Embrace the senile genius"

    Hi ,
        Check if the database server is up and running.The console will have two root nodes .R they both in green?
    Try connecting and entering into the database externally.
    Generally if the DB instance is not running , this error would occur.
    regards,
    aravindh.

  • Flash Builder 4 connect to Data/Service

    I am attempting to connect Flash Builder projects to a custom AMF server using the connect to Data/Service tool.
    I am able to successfully connect to the server and create a service connection. Flash Builder creates a service but
    does not recognize any operations. I believe this is because the server is not responding correctly to the Flex Introspect request.
    I am sending an AMF package back to Flash that looks like this:
                \c@\c@\c@\c@\c@\cA\c@\c@\c@\cB/0ÿÿÿÿ\cJ\c@\c@\c@\cA\cB\c@\cIgetPeople or
    in HEX 00 00 00 00 00 01 00 00 00 02 FF FF FF FF 0A 00 00 00 01 02 00 09 "getPeople"
    Can someone please provide any documentation on the format required for this response?
    Thanks in advance

    I am attempting to connect Flash Builder projects to a custom AMF server using the connect to Data/Service tool.
    I am able to successfully connect to the server and create a service connection. Flash Builder creates a service but
    does not recognize any operations. I believe this is because the server is not responding correctly to the Flex Introspect request.
    I am sending an AMF package back to Flash that looks like this:
                \c@\c@\c@\c@\c@\cA\c@\c@\c@\cB/0ÿÿÿÿ\cJ\c@\c@\c@\cA\cB\c@\cIgetPeople or
    in HEX 00 00 00 00 00 01 00 00 00 02 FF FF FF FF 0A 00 00 00 01 02 00 09 "getPeople"
    Can someone please provide any documentation on the format required for this response?
    Thanks in advance

  • How to Load External Data to SAP BPC using SAP BO Data Services

    Hi,
    We want to load data from an external MS SQL Server DB to SAP Business Planning and Consolidation (BPC 7.5 Netweaver version) using SAP BO Data Services 4.0 as ETL. What is the best way to load data to SAP BPC using Data Services?
    Thanks

    Hello Devi,
    There are three ways you can load Master Data in BPC
    1) Copy and paste.
    Download master data in flat file .Copy the  master data and paste in members of dimension after that process the dimension.
    2) Using SISS Pakage - load Flat File into BPC-Cube
    3) Using SQL Command.
    Thanks.
    With regards,
    Anand Kumar

  • Extract account Based COPA from R/3 using Business Object data services

    Hello,
    We have a requirement to extract Account Based COPA from SAP R/3 to Teradata using Business Objects data services.
    I have read couple of white papers which give information on Rapid Marts( which are built in packages) already available for some applications like inventory, GL, AP, AR etc. But I could not find anything for COPA.
    Would anyone give me any information on how to use BO data services for COPA?
    Also if there is no rapid mart available for COPA, does anyone know how to create custom data marts in BO Data services?
    Is there any document available on this?
    Please respond as soon as possible.
    Thanks.

    Hi,
    this forum is for the SAP Integration Kit. Would suggest you post your question into the EIM area for Data Services.
    Ingo

  • I am not able to use my gprs data services in roaming

    i am not able to use my gprs data services in roaming....pls tell me how may i solve this problem

    Talk to your cellular provider.

  • Help with circumvention of ORA-01472: cannot use connect by on view with ..

    Hi,
    Any help resolving the following would be v. helpful.
    The Aim
    Produce a hierarchical report of all users and the privileges they have via the various roles they are granted.
    The SQL
    select lpad(' ', level*2,' ')|| granted_role from (select grantee, granted_role
    from dba_role_privs
    union
    select role, granted_role
    from role_role_privs
    union
    select role, privilege
    from role_sys_privs
    union
    select 'All users', username
    from dba_users)
    start with grantee='All users'
    connect by prior granted_role = grantee;
    The error
    ORA-0147: cannot use connect by on view with DISTINCT, GROUP BY, etc.
    The database
    Oracle 8.1.7.4 (Yes I know ....)
    The Solution
    [Thanks in advance]

    What if you create a table first
    create table role_grants as
        select granted_role, grantee
           from (select grantee, granted_role
                   from dba_role_privs
                 union
                 select role, granted_role
                   from role_role_privs
                 union
                 select role, privilege
                   from role_sys_privs
                 union
                 select 'All users', username
                  from dba_users)
    Then run the hierarchical report
    select lpad(' ', level*2,' ')|| granted_role
       from role_grants
       start with grantee='All users'
       connect by prior granted_role = grantee

  • Using SSL in flash builder 4 data service with PHP

    I am converting a program I wrote with Flex 3 into Flash builder 4, and I wanted to try to use the built-in data services instead of using the httpservice as I was doing before. The one thing I cannot figure out is how to make it use a secure connection (https) when connecting to that data service. I have looked everywhere I can think of and cannot find where I can set this. Anyone know where and how to set this? The server I am connecting to only allows secure connections, so doing it any other way is not an option.
    Thanks.

    Having the same problem with a Java REST service using HTTPS requests, Adobe Air appears to ask to verify the certificate with every single request on windows ???  and on mac after accepting the certificate  we do not get a result?

  • How to connect Data Services with microsoft SQL/ Steps

    Dear All,
    i attend to connect the SAP BO Data Services to Microsoft SQL.
    1. Is there any document which explains the steps to follow?
    2. Is there any document how to build a prototyp
    Thank you.
    Pat.

    Hi Aditya,
    You can use a datastore of type ODBC using the IBM Client Access driver or the DataDirect driver that comes packaged with Data Services.  There is a sticky thread on downloading the DataDirect driver.  There is also another option to connect with the Attunity driver for the AS400.  You cannot use the DB2 UDB drivers to connect to the AS400 V6R1.
    Victor

  • Using the new Data/Services generation with server push

    Have moved my Flex/BlazeDS app (which uses Blaze AMFChannel for request/response messages and StreamingAMFChannel for server push messaging) from Flex Builder 3 to Flash Builder 4. The new Data/Services works fine to generate service classes and value objects for the request/response messages, question is can it provide any help setting up a messaging consumer and value objects for the pushed data?
    rick holland

    I am so sorry - I meant AirPort Express - not extreme - but it's moot since I missed the point of your post - you want two outputs - and one to not be digital.
    For what it's worth - I still think the express might be your best bet.
    http://www.apple.com/airportexpress/airtunes.html
    It has combined digital/analog out - you plug in one and it switches the output depending on which connection is inserted. I would expect a very short wait until everything accepts digital input - expecially for people who want good sound quality. If you have to go digital to analog outside of the receiver/amp (where it really belongs) - why not let it be the express sitting right next to where you want the second "receiver" to be...

  • SAP R3 Connection in Data Services - Configuration is

    Dear all,
    We are having an error when going through the steps in the configuration of BusinessObjects Data Services 3.2 with R3. The error is in the SAP R3 server.
    Herewith the steps in regular font (based on the SAP BusinessObjects guide) and our output results in bold. If you can take a look on it, it will be great for us.
    To install provided functions using the CTS system:
    1.     Copy the provided transport files to the appropriate directories on the SAP server.
    Installing Functions on the SAP Server Installing the functions using CTS
    Note:
    In these steps, 900XXX.SXX is a variable. To substitute the correct file name for the current release, see the readme.txt file in the ...\DataServices\admin\R3_Functions\transport directory.
    -     Copy R900XXX.SXX to the /usr/sap/trans/data directory.
    -     Copy K900XXX.SXX to the /usr/sap/trans/cofiles directory.
    As we have R3 connection we have moved the R63 file. Complete name of the files are:
    -     R900086.R63
    -     K900086.R63
    2.     Log on to the SAP server and run the transaction /nSE37 to determine if function group ZAW0 already exists. The CTS system will install the Data Services functions into a single function group ZAW0 that it automatically creates on the SAP server if it does not already exist.
    -     If function group ZAW0 exists and contains previously installed Data Services functions, add an unconditional mode 2 option (parameter U2) to the tp import command described in step 4 below (tpimport S<xx>K900<xxx> <SID> U2).
    -     If function group ZAW0 exists and is used for another purpose, modify the transport file to use a different function group (such as ZAW1) to install the Data Services functions. Make sure the function group you use does not already exist in your system.
    -     If you are installing the transport files on a Unicode-enabled SAP server, manually create the function group ZAW0 with the Unicode attribute set.
    In our case we have found there is already a ZAW0 created -> nothing to do in this step
    3.     From a command window, run the following transport command:
    -     tp addtobuffer S<xx>K900<xxx> <SID>
    (where SID is the SAP system ID)
    You receive the response:
    This is tp version <SAP TP and SAP versions> for <database type> database.
    Addtobuffer successful for S<xx>K900<xxx> tp finished with a return code: 0 meaning:
    Everything OK
    This is the command we have run and the error retrieve
    The SID is NDV.
    C:\tp addtobuffer R63k900086 NDV
    This is tp version 372.04.57 (release 700, unicode enabled)
    E-TPSETTINGS could not be opened.
    EXIT
    Error in TPSETTINGS: transdir not set.
    tp returncode summary:
    TOOLS: Highest return code of single steps was: 0
    ERRORS: Highest tp internal error was: 0208
    tp finished with return code: 208
    meaning:
    error in transportprofil (param missing, unknown, ....)
    We have modified the statement with different names for the R63 file, but we didnu2019t success. We are retrieving same error.
    We also have applied the command in the following link:
    http://sap.ittoolbox.com/groups/technical-functional/sap-basis/etpsettings-could-not-be-opened-875506
    and retrieve another error. The following step would be doing the u201CSAPEVTPATHu201D downloading, but, we are not sure if this would fix the issue or if the issue is related to something else.
    4.     Run the next transport command:
    tp import S<xx>K900<xxx> <SID>
    (where SID is the SAP System ID)
    We couldnu2019t reach this point, as we are having an error in the command below.
    Thanks for your help on this!
    Beatriz Minguez

    There is a problem in the transport file supplied with BODS installation folder. Pls refer to the SAP Note :
    1616269 - Problems when installing Data Services 4.0 SAP transport files (900155.R63)
    We have used the new transport files but we are still getting the below warnings in the log files and it returned with return code 4 :
    Maximum length ("255") for "CHAR" in transparent tables exceeded
    The SAP Note 1446648 - Warning Messages installing SAP R3 transports for Data Services sayou can ignore those warnings but we are still not able to see the ZAW0 Function group in SE37.
    Let me know if you are able to do it successfully.

Maybe you are looking for

  • Optimizer Dynamic Sampling doesn't work in our DB

    Hi, I'm trying to explore Optimizer Dynamic Sampling functionality,but it seems that database use this feature only if I use /*+ optimizer_dynamic_sampling */ hint. There is optimizer_dynamic_sampling=2 set on system level (init.ora) and I also set t

  • Outlook 2010 prompting for password each login to Exchange 2013

    We have a new member server w/ Windows Server 2012 and Exchange 2013.  User's mailboxes were migrated from an old Windows Server 2003 server w/ Exchange 2003 by creating new empty mailboxes in Exchange 2013 then we exported/imported .pst files instea

  • Install Java 2 SDK 1.4.2  on a D: drive

    I have a student trying to instal the SDK. He has partitioned his drive and his C drive has unsufficient space. When he changes the drive to D, the installation software still attempts to install on the C drive and reports insufficient file space. Ca

  • Zen Microphoto no recognized by

    Hi, Up until now I've been pleased with Creative, but their knowledge base is not very helpful, hence I'm posting here. My problem is this: My Zen Microphoto would freeze at the "Rebuilding library" stage of the start-up, so following instructions in

  • Sample code and senarios to use outer join?

    We know the ABAP4 syntax for inner join, but never tried outer join and we even don't know if there is any outer join syntax in ABAP4 or not.  Would be very appreciated if some ABAP expert here let us know if there is any outer join and list the diff