Weblogic, data services, flex, flash

Hello world!
I have folowing task:
I need to create very simple application using Flash Builder with Flex, Oracle Database and WebLogic Server. No matter what application, let it be empty for the begining.
So, first I need to install LiveCycle Data Services on WebLogic. I didn`t find any tutorial about how to do it. So, I deployed manually next WAR files on my managed server: dataservices.war, ds-console.war, dataservices-samples.war. It seems that they work normally. Health OK.
Q: How can I test them?
Next, if I understand everything right, I need to deploy Flex, right?
Q: Do I need to deploy Flex components or they are included in Flash Builder?
Q: How to deploy Flex components?
Q: How to test it?
Can I after that start creating application in Flash Builder?
Q: Does anyone have examples of such applications?(with OracleDB and lcds on WebLogic)
I`ll be very greatfull for any tutorials, posts and etc. which could help me.
Thx a lot!
Alexey!
P.S.
I`m sorry for my bad english.

FDS != FMS
There is a free version of FMS to try it out.

Similar Messages

  • Data Services and Flash Player 9.0.115

    Hi All,
    Yesterday, I upgraded flash to version 9.0.115 and since then
    Flex Data Services do not work. I'm using FDS with ColdFusion(an
    application which is a year old now, so I know it works properly).
    Just to be sure the upgrade performed properly I tried it on
    another computer with the same result. Is this a known issue with
    the flash upgrade? Do I need to recompile the flex app with the new
    flash? If so will this break in older versions of flash player
    after recompiling?
    I've downloaded the flash version 9 archive and tried
    installing a previous version but it will now allow the install
    since there is a newer version of flash available. I also
    downloaded the flash player uninstaller found here
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14157
    and rebooted and tried disconnecting the internet before
    installing(so it wouldn't see a newer version)
    Can anyone please help?

    Ive also been having this problem/bug in Firefox 2 and 3 for
    a while.
    While watching a Youtube video or any other video site, the
    video will suddenly stop and freeze Firefox after a total of
    watching about 15 min of content.
    However, i have not been able to use Internet Explorer
    sometimes any .exe after this bug happens.
    along with not just videos but other sites using flash player
    related material. The only way to repair my computer temporarily is
    to restart my computer and restrain myself from using flash player.
    Also, I attempted to resolve the issue by downgrading my
    player to 9,0,45,0 only to fail.
    My computer Specs are:
    Windows XP Professional
    Intel Pentium D  2.79 GHz 2.50GB of RAM
    NVIDIA GeForce 8600 GT
    Free: 3.73 GB/69.79 GB

  • Cannot connect to ColdFusion Data/Service in Flash Builder 4

    Hello,
    I am attempting to connect to a ColdFusion data service using the Connect to Data/Service for Flash4 window, however, when I go to select service type I only see HTTP or XML as options. I have set-up my Flash project with CF Flash Remoting and when I type http://localhost:8500/flashservices/gateway into a browser I get a blank page, which I think means that the Flash gateway is working. I am going crazy trying to figure this out, any help would be greatly appreciated!
    Thanks!

    If you been a customer long enough call and ask for a unlock code for your phone and get a temporary sim to use (similar to how walmart here has straight talk) and use that. You will of course need to buy the sim and buy the time you use. This way it will avoid big charges on your bill etc..  So just call verizon and ask for a unlock code and you will take out your current phone sim (put it somewhere safe) and put the new sim in and turn phone on and put the unlock code in. Make sure the sim you get it set to use the type of network your phone is. (look at the specs of your phone) good luck.

  • 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

  • ADEP Data Services JEE 4.6 related Issue.

    Hello,
    I tried to use build simple application in Flash Builder 4.6 with data model i.e. model driven development. I tried to follow the example of lcds data services but doesn't work for me.
    I am able to generate the tables and able to generate form and display data in the datagrid without writing single line of code.
    But when I try to insert data I get errror. And I am not able to go ahead since last few days.
    Please help me.
    Even if somebody can give me some detailed example for this...that would be helpful.
    Thanks alot,

    More over..
    this is I found in the tomcat server log....
    Data Services] Error notifying transaction before completion
    handlers: org.hibernate.TransactionException: JDBC commit failed
    at
    org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:157)
    at
    flex.data.adapters.FlexHibernateSessionContext$SessionSynch.beforeCompletion(FlexHibernate SessionContext.java:139)
    at
    flex.data.DataServiceTransaction.notifyBeforeCompletion(DataServiceTransaction.java:2069)
    at
    flex.data.DataServiceTransaction.complete(DataServiceTransaction.java:1673)
    at flex.data.DataService.serviceTransactedMessage(DataService.java:1028)
    at flex.data.DataService.serviceMessage(DataService.java:528)
    at flex.messaging.AsyncMessageBroker.in(AsyncMessageBroker.java:414)
    at flex.messaging.MessageContext.doIn(MessageContext.java:295)
    at flex.messaging.filters.AsyncMessageFilterChain.in
    (AsyncMessageFilterChain.java:205)
    at flex.messaging.MessageContext.doIn(MessageContext.java:295)
    at
    flex.messaging.AsyncMessageBroker$EndpointSplitter.in(AsyncMessageBroker.java:809)
    at flex.messaging.MessageContext.doIn(MessageContext.java:295)
    at flex.messaging.endpoints.BaseSocketServerEndpoint.in
    (BaseSocketServerEndpoint.java:476)
    at flex.messaging.MessageContext.doIn(MessageContext.java:295)
    at
    flex.messaging.endpoints.RTMPConnection.handleTCCommandIn(RTMPConnection.java:886)
    at flex.messaging.endpoints.RTMPConnection.in(RTMPConnection.java:1032)
    at
    flex.messaging.endpoints.RTMPConnection.serviceTCMessage(RTMPConnection.java:1116)
    at flex.messaging.endpoints.RTMPConnection.doRead(RTMPConnection.java:654)
    at
    flex.messaging.endpoints.RTMPProtocolHandler.doRead(RTMPProtocolHandler.java:124)
    at
    flex.messaging.socketserver.Connection$ConnectionReader.run(Connection.java:874)
    at
    java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:680)
    Caused by: java.sql.SQLException: StandardXAConnectionHandle:commit:This
    connection is part of a global transaction
    at
    org.enhydra.jdbc.standard.StandardXAConnectionHandle.commit(StandardXAConnectionHandle.jav a:129)
    at
    org.hibernate.transaction.JDBCTransaction.commitAndResetAutoCommit(JDBCTransaction.java:16 6)
    at
    org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:142)
    ... 22 more
    Error while completing transaction:
    flex.data.DataServiceException: Error occurred completing a transaction
    stacktrace=flex.data.DataServiceException: Error occurred completing a
    transaction
    at
    flex.data.DataServiceTransaction.complete(DataServiceTransaction.java:1689)
    at flex.data.DataService.serviceTransactedMessage(DataService.java:1028)
    at flex.data.DataService.serviceMessage(DataService.java:528)
    at flex.messaging.AsyncMessageBroker.in(AsyncMessageBroker.java:414)
    at flex.messaging.MessageContext.doIn(MessageContext.java:295)
    at flex.messaging.filters.AsyncMessageFilterChain.in
    (AsyncMessageFilterChain.java:205)
    at flex.messaging.MessageContext.doIn(MessageContext.java:295)
    at
    flex.messaging.AsyncMessageBroker$EndpointSplitter.in(AsyncMessageBroker.java:809)
    at flex.messaging.MessageContext.doIn(MessageContext.java:295)
    at flex.messaging.endpoints.BaseSocketServerEndpoint.in
    (BaseSocketServerEndpoint.java:476)
    at flex.messaging.MessageContext.doIn(MessageContext.java:295)
    at
    flex.messaging.endpoints.RTMPConnection.handleTCCommandIn(RTMPConnection.java:886)
    at flex.messaging.endpoints.RTMPConnection.in(RTMPConnection.java:1032)
    at
    flex.messaging.endpoints.RTMPConnection.serviceTCMessage(RTMPConnection.java:1116)
    at flex.messaging.endpoints.RTMPConnection.doRead(RTMPConnection.java:654)
    at
    flex.messaging.endpoints.RTMPProtocolHandler.doRead(RTMPProtocolHandler.java:124)
    at
    flex.messaging.socketserver.Connection$ConnectionReader.run(Connection.java:874)
    at
    java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:680)
    Caused by: org.hibernate.TransactionException: JDBC commit failed
    at
    org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:157)
    at
    flex.data.adapters.FlexHibernateSessionContext$SessionSynch.beforeCompletion(FlexHibernate SessionContext.java:139)
    at
    flex.data.DataServiceTransaction.notifyBeforeCompletion(DataServiceTransaction.java:2069)
    at
    flex.data.DataServiceTransaction.complete(DataServiceTransaction.java:1673)
    ... 19 more
    Caused by: java.sql.SQLException: StandardXAConnectionHandle:commit:This
    connection is part of a global transaction
    at
    org.enhydra.jdbc.standard.StandardXAConnectionHandle.commit(StandardXAConnectionHandle.jav a:129)
    at
    org.hibernate.transaction.JDBCTransaction.commitAndResetAutoCommit(JDBCTransaction.java:16 6)
    at
    org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:142)
    ... 22 more
    Error invoking service 'data-service':
    flex.data.DataServiceException: Error occurred completing a transaction
      incomingMessage: Flex Message (flex.data.messages.DataMessageExt)
        operation = transacted
        id = null
        clientId = 46CC4646-66D2-ED16-9DF7-9612C59D36F8
        correlationId =
        destination = MyDSApp.Product
        messageId = D97330F0-08FD-2866-FD1F-9612C82F2A21
        timestamp = 1329662712754
        timeToLive = 0
        body =
          Flex Message (flex.data.messages.DataMessage)
              operation = update
              id = ASObject(1206661731){productid=1}
              clientId = 46CC4646-66D2-ED16-9DF7-9612C59D36F8
              correlationId = D97330F0-08FD-2866-FD1F-9612C82F2A21
              destination = MyDSApp.Product
              messageId = B97F910A-239C-E7B5-A7B5-9612DBAEAD61
              timestamp = 1329662712766
              timeToLive = 0
              body =
                  price
                [Proxy(inst=MyDSApp.package1.Product@20) proxyClass=class
    flex.messaging.io.BeanProxy descriptor=[ excludes: null]],
                MyDSApp.package1.Product@20
              hdr(DSId) = 64813F88-6D96-4801-8435-C65442DF79C8
              hdr(DSEndpoint) = my-rtmp
        hdr(DSId) = 64813F88-6D96-4801-8435-C65442DF79C8
        hdr(DSEndpoint) = my-rtmp
      Exception: flex.data.DataServiceException: Error occurred completing a
    transaction
    at
    flex.data.DataServiceTransaction.complete(DataServiceTransaction.java:1722)
    at flex.data.DataService.serviceTransactedMessage(DataService.java:1028)
    at flex.data.DataService.serviceMessage(DataService.java:528)
    at flex.messaging.AsyncMessageBroker.in(AsyncMessageBroker.java:414)
    at flex.messaging.MessageContext.doIn(MessageContext.java:295)
    at flex.messaging.filters.AsyncMessageFilterChain.in
    (AsyncMessageFilterChain.java:205)
    at flex.messaging.MessageContext.doIn(MessageContext.java:295)
    at
    flex.messaging.AsyncMessageBroker$EndpointSplitter.in(AsyncMessageBroker.java:809)
    at flex.messaging.MessageContext.doIn(MessageContext.java:295)
    at flex.messaging.endpoints.BaseSocketServerEndpoint.in
    (BaseSocketServerEndpoint.java:476)
    at flex.messaging.MessageContext.doIn(MessageContext.java:295)
    at
    flex.messaging.endpoints.RTMPConnection.handleTCCommandIn(RTMPConnection.java:886)
    at flex.messaging.endpoints.RTMPConnection.in(RTMPConnection.java:1032)
    at
    flex.messaging.endpoints.RTMPConnection.serviceTCMessage(RTMPConnection.java:1116)
    at flex.messaging.endpoints.RTMPConnection.doRead(RTMPConnection.java:654)
    at
    flex.messaging.endpoints.RTMPProtocolHandler.doRead(RTMPProtocolHandler.java:124)
    at
    flex.messaging.socketserver.Connection$ConnectionReader.run(Connection.java:874)
    at
    java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:680)
    Caused by: flex.data.DataServiceException: Error occurred completing a
    transaction
    at
    flex.data.DataServiceTransaction.complete(DataServiceTransaction.java:1689)
    ... 19 more
    Caused by: org.hibernate.TransactionException: JDBC commit failed
    at
    org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:157)
    at
    flex.data.adapters.FlexHibernateSessionContext$SessionSynch.beforeCompletion(FlexHibernate SessionContext.java:139)
    at
    flex.data.DataServiceTransaction.notifyBeforeCompletion(DataServiceTransaction.java:2069)
    at
    flex.data.DataServiceTransaction.complete(DataServiceTransaction.java:1673)
    ... 19 more
    Caused by: java.sql.SQLException: StandardXAConnectionHandle:commit:This
    connection is part of a global transaction
    at
    org.enhydra.jdbc.standard.StandardXAConnectionHandle.commit(StandardXAConnectionHandle.jav a:129)
    at
    org.hibernate.transaction.JDBCTransaction.commitAndResetAutoCommit(JDBCTransaction.java:16 6)
    at
    org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:142)
    ... 22 more

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

  • Flash Builder 4.5 Data Services Wizard, setting up REST service call returns Internal Error Occurred

    Dear all -
    I am writing with the confidence that someone will be able to assist me.
    I am using the Flash Builder Data Services Wizard to access a Server that utilizes REST type calls and returns JSON objects. The server is a JETTY server and it apparantly already works and is returning JSON objects (see below for example). It is both HTTP and HTTPS enabled, and right now it has a cross-domain policy file that is wide open (insecure but its not a production server, it's internal).
    The crossdomain file looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
    <cross-domain-policy>
       <allow-http-request-headers-from domain="*" headers="*" secure="false"   />
       <allow-access-from domain="*" to-ports="*" secure="false"/>
       <site-control permitted-cross-domain-policies="master-only" />
    </cross-domain-policy>
    The crossdomain file is in the jetty server's root directory and is browseable via HTTP and HTTPS (i.e. browsing to it returns the xml)
    Now before all of you say that using wizards sucks (generally) I thought I would utilize the FB Data Services Wizard as at least it would provide a template for which I could build additional code against, or replace and improve the code it produces.
    With that in mind, I browse to the URL of the Jetty Server with any web browser (for example, Google Chrome, Firefox or IE) with a URL like this (the URL is a little confidential at the moment, but the structure is the same)
    https://localhost:somePort/someKey/someUser/somePassword/someTask
    *somePort is the SSL port like 8443
    *someKey is a key to access the URL's set of services
    returns a JSON object as a string in the web browser and it appears like the following:
    {"result":success,"value":"whatEverTheValueShould"}
    Looks like the JSON string/object is valid.
    I went through the Flash Builder Data Services Wizard to set up HTTP access to this server. The information that I filled in is described below:
    Do you want to use a Base URL as a prefix for all operation URLs?
    YES
    Base URL:
    https://localhost:8443/someKey/
    Name                    : someTask
    Method                    : POST
    Content-Type: application/x-www-form-urlencoded
    URL                              : {someUser}/{somePassword}/someTask
    Service Name: SampleRestapi
    Services Package: services.SampleRestapi
    datatype objects: valueObjects:
    Completing the wizard, I run the Test Operation command. Remember, no authentication is needed to get a JSON string.
    It returns:
    InvocationTargetException: Unable to connect to the URL specified
    I am thinking - okay, but the URL IS browseable (as I originally was able to browse to it, as noted above).
    I continue to test the service by creating a Flex application that accepts a username and password in a form. when the form is submitted, the call to the service is invoked and an event handler returns the result. The code is below (with some minor changes to mask the actual source).
    <?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/mx"
                                     xmlns:SampleRestapi="services.SampleRestapi.*"
                                     minWidth="955" minHeight="600">
              <fx:Script>
                        <![CDATA[
                                  import mx.controls.Alert;
                                  import mx.rpc.events.ResultEvent;
                                  protected function button_clickHandler(event:MouseEvent):void
                                            isUserValidResult.token = SampleRestAPI.isUserValid(userNameTextInput.text,passwordTextInput.text);
                                  protected function SampleRestAPI_resultHandler(event:ResultEvent):void
                                            // TODO Auto-generated method stub
                                            // print out the results
                                            txtAreaResults.text = event.result.message as String;
                                            // txtAreaResults.appendText( "headers \n" + event.headers.toString() );
                        ]]>
              </fx:Script>
              <fx:Declarations>
                        <SampleRestapi:SampleRestAPI id="SampleRestAPI"
                                                                                                 fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)"
                                                                                                 result="SampleRestAPI_resultHandler(event)"
                                                                                                 showBusyCursor="true"/>
                        <s:CallResponder id="isUserValidResult"/>
                        <!-- Place non-visual elements (e.g., services, value objects) here -->
              </fx:Declarations>
              <s:Form defaultButton="{button}">
                        <s:FormItem label="UserName">
                                  <s:TextInput id="userNameTextInput" text="q"/>
                        </s:FormItem>
                        <s:FormItem label="Password">
                                  <s:TextInput id="passwordTextInput" text="q"/>
                        </s:FormItem>
                        <s:Button id="button" label="IsUserValid" click="button_clickHandler(event)"/>
                        <s:FormItem  label="results:">
                                  <s:TextArea id="txtAreaResults"/>
                        </s:FormItem>
              </s:Form>
    </s:Application>
    It's a simple application to be sure. When I run it , I get the following returned in the text area field txtAreaResults:
    An Internal Error Occured.
    Which is equivalent to the following JSON string being returned:
    {"success":false,"value":"An Internal Error Occured"}
    It appears that the call is being made, and that a JSON object is being returned... however it does not return the expected results?
    Again the URL constructed is the same:
    https://www.somedomain.com:somePort/someKey/someUser/somePassword/someTask
    So I am wondering what the issue could be:
    1) is it the fact that I am browsing the test application from an insecure (http://) web page containing the Flex application and it is accessing a service through https:// ?
    2) is the JSON string structurally correct? (it appears so).
    3) There is a certificate enabled for HTTPs. it does not match the test site I am using ( the cert is for www.somedomain.com but I am using localhost for testing). Would that be an issue? Google Chrome and IE just asks me to proceed anyway, which I say "yes".
    Any help or assistance on this would be appreciated.
    thanks
    Edward

    Hello everyone -
    Since I last posted an interesting update happened. I tested my  Flex application again, it is calling a Jetty Server that returns a JSON object, in different BROWSERS.  I disabled HTTPS for now, and the crossdomain.xml policy file is wide open for testing (ie. allowing every request to return data). So the app accessing the data using HTTP only. Browsers  -  IE, Opera, Firefox and Chrome. Each browser contained the SAME application, revision of the Flash Player (10.3.183.10 debugger for firefox, chrome, opera, safari PC; 11.0.1.129 consumer version in IE9,) take a look at the screen shot (safari not shown although the result was the same as IE and chrome)
    Note that Opera and Firefox returned successful values (i.e. successful JSON objects) using the same code generated from the Data Services Wizard. Chrome, IE and, Safari failed with an Internal error. So I am left wondering - WHY? Is it something with the Flash Player? the Browsers?  the Flex SDK? Any thoughts are appreciated. Again, the code is found in the original thread above.

  • 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

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

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

  • LiveCycle Data Services without Flex UI

    Is it possible to use LiveCycle Data Services as a backend without Flex/Flash as front end ( any other tech as front end Struts, JSP, JSF etc).
    Idea is to get advantage of features provided by Data Services with something other than Flash player as front end?
    Thanks
    YogLC

    Thanks Mete.
    If you can please elaborate your thoughts more it will be helpful to me to take certain decisions.
    If you can provide some reference or pointer or example on this specific topic that would be great too!
    Any Adobe personnel from LiveCycle Data Services Team pl. reply?
    Thanks again,
    YogLC

  • Flash Builder 4 and Blaze Data Services wizard

    Hello,
    My project uses BlazeDS for backend and Flex for frontend.
    I use Data Services wizard to auto generate the valueObjects from the corresponding Java classes.
    But the generated code does not seem to implement object inheritance. The valueObjects only inherit from their own _Super* classes.
    Example
    Java objects
    Circle extends Shape
    Generated actionscript objects
    Circle extends _Super_Circle extends EventDispatcher
    Shape extends _Super_Shape extends EventDispatcher
    Doesn't Flash Builder Data wizards support this feature or am i missing something?
    Thank you
    Filaretos Postekoglou

    Hi,
    It should work fine. Can you please share the exact version of the LCDS. Also please let us know the service types and channel types you are using in your application.

  • Are Flash Builder 4 data services production grade, or demo grade?

    I've experimented a bit with the data services feature that Flash builder 4 beta 2 offers. Frankly they seem to be just about what I was waiting for. We build a lot of data centric applications and anything that reduces the amount of code required to wire things up is great. I do have some questions re the data services as implmented in beta 2, and forward. Note I've almost no hands on with Flex, any version, at this point.
    With Flex Builder 3, there was a crud wizard. From what I read the code it generated was not considered production grade. I hope that the data services feature shown with beta 2 would be considered robust enough to use in production? I am sure that there are many different ways of handling data services in general with Flex, so I am not asking if it's the best approach or makes any other approach redundant. I just mean, could the tooling around the data services feature of flash builder 4 remain a viable approach for getting at data, once a flex developer was past the training wheels stage?
    Another aspect I'm curious about is whether the data services features of Flash Builder 4 would remain relevant if one was using some other data access system? I can't really phrase this question properly because I don't really understand Flex or the various data access technologies that everyone is using. Hopefully the quesiton makes sense...if one was NOT using the data services wizard or whatever it's called, would whatever data services one was using show in the data services area of builder? It would be cool of course if they did.

    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

  • 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

  • Only LiveCycle Data Services 2.6 or higher is supported in this version of Flash Builder.

    Hi guys!
    I am using LiveCycle Data services 2.6 and Flash Builder 4.0..  and getting an error
    Only LiveCycle Data Services 2.6 or higher is supported in this version of Flash Builder.
    Any suggestion? why Flashbuilder is not detecting correct version?
    Thanks

    Hi Tom,
    Thank for reply.
    In my application I was using Flex 3.0 and LCDS 2.6.  I need to  generat PDF
    generate and save 100% at client side. so I used Flex Gumbo  to use
    filestream.save since flex 3.0 doesn't support filestream. Using Gumbo let
    me filestream but gave me an "direction" style declaration for charting
    component .. mismatch with previous version. To overcome that I used Flex 4
    flash builder. That gave got rid of direction but gave me LCDS 2.6 version
    error. I have copied my older workspace  to another location and using this
    workspace for Flex 4. I am using LCDS 2.6 though it give me same error. I
    have almost given up, really dont know what needed to be done. Thanks for
    your help.
    Vipul

Maybe you are looking for

  • Safari in v 10.5.8 keeps crashing on launch

    Hi, hoping someone may be able to help. Safari (latest v. for Leopard) keeps crashing after a few seconds of it being launched. The last thing I did was run Onyx. I have tried various things mentioned in other posts i.e. went to clear InputManagers b

  • Lost emails, how to get them back from the Mail folder?

    Hi there. I have a folder called +/Previous System+ inside of this folder there was folders of the system I had before. Inside there is the Applications folder, and I deleted the old versions of the applications such as Mail, but when I did this, I l

  • Pdf Security question

    I know I cannot prevent anyone from saving a pdf file. So, this is what I wish to do. I would like to be able to give access to a pdf file that can be opened from my server and the pdf file will open without asking for a password. That is, the pdf fi

  • Unable to Connect to Oracle 10gR1 database from JDeveloper 11g using OCI JD

    We are migrating our application from OC4J to Weblogic server. As a part, I am trying to create a database connection in JDeveloper 11g (11.1.1.3.0 - Build JDEVADF_11.1.1.3.PS2_GENERIC_100408.2356.5660) to Oracle 10gR1 database. Previously I had Orac

  • Add new condition to SIS

    hello All we have created new CONDITION TYPE for pricing it is ZSKO and it is additional customers discount But our CO department need it in SIS they want to see it as a separate field/data in MCSI how to do that ?