Flex Dataservices deployment problem

I m using dataservices to connect to my database via php. It works great so far.
The problems start when I want to deploy the application, because I had to make some changes to my template .fml file.
Here is an excerpt:

< name of annotation 'ServiceConfig' = >
< name of the item = "PHP_RELATIVE_LOCATION" > MyApp/application/amf/Navigation.php < / item >
< name of the item = "PHP_SERVER_ROOT" > C:/xampp/htdocs < / item >
< name of the item = "DEFAULT_ENTITY_PACKAGE" > valueObjects < / item >
< name of the item = "PHP_SERVICES_FOLDER" > C:/xampp/htdocs/MyApp/public/flash/services < / item >
< name of the item = "PHP_LOCATION" > C:/xampp/htdocs/MyApp/application/amf/Navigation.php < / item >
< name of the item = "LINKED_FILE" > Navigation.php < / item >
< name of the item = "PHP_SERVER_ROOT_URL" >http://localhost/< / item >
< name of the item = "ABSOLUTE_ENDPOINT" >http://localhost/MyApp/public/amf< / item >
< name of the item = "PHP_CLASS_NAME" > AMF_Navigation < / item >
< / annotation >

As you can see I have not integrated my in my project of zend amf endpoint point, West no gateway.php and more
integrated php used to 'talk to the database' classes. I had to do in order to make the thing whole execution
with zend and the doctrine as a session layer ORM.
As I now paths and specific values for my development environment the question is, in a way that I can
use another for my release .fml file to run in my production environment? Of course I could modify the .fml
every time for the release build, but it would be really a pain... and also I have just can´t believe that Adobe didn t
provide a scenario like this and has some sort of solution.

I found the answer myself.

I had a look at the files generated outside the .fml, i.e. _Super_MyApp.as file and there it says under _serviceControl.endpoint 'http://localhost/and so now "where in default configurations would be"gateway.php"only. As I joined the gateway.php in my Zend controllers. that is AmfController.php I put ... /AMF in my .fml file. Now, it seems to work.

However I still wonder what this does...

MyApp/application/amf/Navigation.php

C:/xampp/htdocs

valueObjects

C:/xampp/htdocs/MyApp / / flash/public services

C:/XAMPP/htdocs/MyApp/application/AMF/navigation.php

Navigation.php

http://localhost/

http://localhost/MyApp/public/AMF

AMF_Navigation

... URL and access roads are obviously wrong here, but that doesn´t seems to be a problem when exporting. I guess that's only for introspection of services in flashbuilder, right? Or will I have more problems?

Tags: Flex

Similar Questions

  • Flex to the problem of web service communication

    Hi, just like the title of State, I have problem during the web service-> Flex communication. I use class WebService ActionScript, to establish a connection with her, but I had a strange behavior. When I try to access the remote web services (particularly: http://109.74.206.146:8080/jax_ws/quarkservice? wsdl ) of my Flex Builder IDE, all is well. Even more, when I spend my folder and click ProjectName.swf project folder, without any server runs on my pc, the file is executed, communication with the web service is impeccable performed and response is retrieved. However, when I try to export a release build and to my Tomcat localhost, or if I try to copy ProjectName.swf to any other location on my drive, since the location of the project, where is stored, I got:

    1. [RPC Fault faultString = "Error in security to access the url" faultCode = "Channel.Security.Error" faultDetail = "unable to load WSDL. If there are currently online, please verify the format of the WSDL and URI file (http://109.74.206.146:8080/jax_ws/quarkservice? wsdl) "] "

    2A mx.rpc.wsdl::WSDLLoader/faultHandler() [E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\ws dl\WSDLLoader.as:98]

    3A flash.events::EventDispatcher/dispatchEventFunction()

    4. in the flash.events::EventDispatcher/dispatchEvent()

    5 at mx.rpc::AbstractInvoker /() [E:\dev\3.0.x\frameworks\pro jects\rpc\src\mx\rpc\AbstractInvoker.as:168] http://www.adobe.com/2006/flex/mx/internal:dispatchRpcEvent

    6 to mx.rpc::AbstractInvoker /() [E:\dev\3.0.x\frameworks\project s\rpc\src\mx\rpc\AbstractInvoker.as:220] http://www.adobe.com/2006/flex/mx/internal:faultHandler

    7A mx.rpc::Responder/fault() [E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\Responder.as:49]

    8A mx.rpc::AsyncRequest/fault() [E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\AsyncRequest .as:103]

    9A DirectHTTPMessageResponder / securityErrorHandler ([E:\dev\3.0.x\frameworks\projects\rpc\sr c\mx\messaging\channels\DirectHTTPChannel.as:368])

    10. at flash.events::EventDispatcher/dispatchEventFunction()

    11. in the flash.events::EventDispatcher/dispatchEvent()

    12. to flash.net::URLLoader/redirectEvent()

    [Error CPP faultString = "Error in security to access the url" faultCode = "Channel.Security.Error" faultDetail = "unable to load WSDL.

    < br / > if there are currently online, please verify the format of the WSDL and URI file (http://109.74.206.146:8080/jax_ws/quarkservice? wsdl) "] to "

    MX. RPC.wsdl::WSDLLoader/FaultHandler() [E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\wsd l\WSDLLoader.as:98]

    at flash.events::EventDispatcher/dispatchEventFunction()

    at flash.events::EventDispatcher/dispatchEvent() to mx.rpc::AbstractInvoker / http://www.Adobe.com/2006/Flex/MX/internal:dispatchRpcEvent ([E:\dev\3.0.x\frameworks\pro jects\rpc\src\mx\rpc\AbstractInvoker.as:168])

    to mx.rpc::AbstractInvoker / (http://www.adobe.com/2006/flex/mx/internal::faultHandler) [E:\dev\3.0.x\frameworks\project s\rpc\src\mx\rpc \AbstractInvoker.as:220] )

    at mx.rpc::Responder/fault() [E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\Responder.as:49]

    at mx.rpc::AsyncRequest/fault() [E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\AsyncRequest .as:103]

    to DirectHTTPMessageResponder / securityErrorHandler ([E:\dev\3.0.x\frameworks\projects\rpc\sr c\mx\messaging\channels\DirectHTTPChannel.as:368])

    at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent()

    at flash.net::URLLoader/redirectEvent()

    Thus the same file committed since the FlexBuilder or invoked directly from the folder of the project, where it resides, works perfectly. When I try to call from a DIFFERENT location, including deployment on my local Tomcat (or even just my office), I got the above exception. So, anyone know what is the problem? Thank you

    There is an implicit approval when you run the application in Flex Builder. Outside of Flex Builder, if the call to the Web service is not mandated by LiveCycle Data Services, Flash Player security will not allow the connection the remote service.

    Try to add a crossdomain.xml to the ROOT.war of your respective application server. Something like that...

    http://www.Macromedia.com/XML/DTDs/cross-domain-policy.DTD">

    Steve

  • Flex 3 - display problem

    It turns black and having to restart the computer. FLEX 3 OF LENOVO. "Sleep" mode is set to NEVER and still having the problem. Laptop brand new with a lot of problems. To change to a new front, very disappointed.

    Mod edit: System model added to the front of the subject line to improve visibility / clarity.

    In response to the reports of customer displays or screens turning off on Lenovo while in use systems and works on battery, Lenovo released a solution via the Intel Management Engine Firmware update, v.11.0.0.1176.

    The Intel Firmware has been approved for the following models:

    • IdeaPad 300 s-14ISK, 500-14ISK ideapad

    • Lenovo Edge-2-1580

    • Lenovo, Flex 3-1480, Flex 3-1580,

    • 500-14ISK, 500-15ISK Yoga Yoga

    Firmware Intel ME can be downloaded here: http://support.lenovo.com/us/en/downloads/ds105001

    If the solution provided by Lenovo does not resolve the problem for you, other customers report that a workaround solution provided by the MattDN93 client also solves the problem. More information on workaround can be found here: https://forums.lenovo.com/t5/Lenovo-IdeaPad-100-305-500-Edge/Flex-3-screen-turns-off-when-working-on...

    Thank you

  • Flex 14 battery problem

    Hello

    I have a new Ideapad Flex 14 20308 model name.

    The battery works well when it is not plugged in, but when I plugged the AC adapter the mensagge of changes in management of the power to "do not load":

    The percentage of battery charge remains unchanged, even if it is plugged in for several hours.

    Update the software of energy.

    If I turn off the laptop, remove the battery, plugged in cord, put the battery and turn on the laptop, the battery starts to load normally.

    Help please.

    Finally, after 3 calls, Lenovo Support will send a new battery, hopes, this fixes the problem.

  • Chassis FPGA deployment problem

    Hello!

    I use cRIO 9024 with a voice coil actuator control modules.

    The problem I have is that when I run the FPGA code, he said "the chassis is in programming mode Interface to Scan. In order to run the FPGA screws, you must go to the property page of the chassis, select the FPGA programming mode and deploy settings. »

    So I checked the property, but it has been defined as "FPGA programming Mode. Also when I'm trying to deploy the chassis, I have error message "LabVIEW: (Hex 0x80DF0010) current deployment operation has a missing dependency."

    Since I'm not the one who wrote the code, I have no idea what causes this problem. This code is used for the different game with the same model of cRIO but different modules. I've already replaced modules that I use with those that are necessary for this code.

    Anyone know what is happening here, please?

    Thanks in advance to 1 million.

    Geehoon


  • OR 7966R - the bitfile deployment problem.

    I've implemented the following

    SMU 1085 three chasiss NOR SMU 7966R FPGA inside.

    I'm connected to a remote host via MXI using an SMU-8381

    I tried to run the NI 5761 - single CLIP.lvproj sample provided with race and LabVIEW examples just to get things to the top.

    and I get the following message if poster on all targets...

    Compilation went well but can't deploy the bitfile...

    Kind regards

    Maciej

    To the hour... so my bad, I forgot to mention one thing in my game to the top.

    I got a sync 6674 t module that is currently seems to be a little tired. Since I don't have the intention to use it then.

    I removed the chassis and things started work very well.

    It seems that it has caused problems.

    Kind regards

    Maciej

  • MView delta deploy problem between SDDM schema and db (Swap models target dictionary import) - overview of the DDL generation

    Hello

    I'm having a hard time to reverse the difference between my role model and my fusion database schema.

    The initial goal is simple:

    1 / detect differences in metadata

    2 / I SDDM to generate the DDL change code

    (if possible, if not, recreate, reload: powerful existing featured BTW)

    3 / deploy

    4 / check/confirm that no more delta existing

    I do this:

    * menu file > import > dictionary

    * Select connection

    * Select the db schema

    * check the "Swap target model.

    * Select MY_MVIEW > next (TABLE 1 DB object to import) > finish (work "Generate Design")

    * in the model comparison window, I have to deselect everything, less table MY_MVIEW AND also MY_VIEW Materialized View

    (as they appear as 2 SDDM objects)

    DOF Preview button

    I see:

    -comments created in first place (whereas the MVIEW should be recreated)

    which is smaller but still blurs the legibility

    -MY_MVIEW is systematically recreated

    (how many times already I deploy)

    I figured out:

    . SDDM objects tables (disorders, implemented in the MVIEW form) and host MVIEW (Physics) the query independently

    . even if I sync them manually (copy - paste), DDL deployed code is not strictly identical to

    So it may have to do with a dysfunction compare?

    SDDM is full of options to desensitize compares (physical exclusion, storage, etc.), but I found no way to simply compare and align MVIEWs

    (and the documentation is rare on the subject)

    Any clue?

    THX

    Interesting.  Looks like you're it's partitioning that is causing the problem.

    In a model, partitioning information can be held on the objects of physical model for Tables and materialized views.

    In the case where a Table and materialized views are linked together (by the implementation as a Materialized View on physical model Table property), it is information of partitioning that is held on the Table which is relevant.  The information on the Table is used when generating DDL.  And in an import or synchronize, partitioning information are added to the Table object.

    I think that what is happening in your case probably is your model includes some details of partitioning maintained on the Materialized View object.

    Synchronization is combining the details of your database partition to the Table in the model.

    As it does not associate the details of partition of your database with the materialized view in the model object, the comparison shows a difference for the materialized view:-not partitioned in database, but partitioned in your model.  And this difference is causing the drop and re-create the view materialized in the DDL.

    There are various options to work around this:

    1. you can remove details unnecessary partitioning and maintained on the view materialized in your model object.

    2. you can clear the check box for the entry for materialized views in the tree in the dialog box models to compare before making the DOF preview.  (But it also means that no DDL will be generated for all other differences in these materialized views).

    3. you can use the filter properties to filter the relevant properties (e.g., partitioned, partitioning columns and Subpart columns for Materialized View objects), and then select the button refresh trees before performing the DOF preview.  (See the screenshot below).

    David

  • Cube deployment problem.

    Hi all

    In fact last Friday I created some members in the Application of EPMA in DEV, TEST, PRO environments, after as I have deployed the Cube Test was successful, but when I deploy in Env Pro so fails, the error log says,

    \\Outline of verification errors:

    \\Member [XXXX] has several copies of the same shared in at least a stored hierarchy member.  See other messages so that members and hierarchies.

    \\Aggregate storage outlines only allow any shared member [XXXX] once in a stored hierarchy, including the prototype.

    \\Aggregate storage outlines only allow any shared member [XXXX] once in a stored hierarchy, including the prototype.

    Stored \\This hierarchy has multiple copies of the same shared member [XXX_XXX_XXX].  Remove the additional members or change the hierarchy in order to be dynamic.

    Can someone guide me to solve the problem.

    Thanks in advance.

    Hello

    Thank you for your answers

    The problem has been resolved, it was with the soft shell, sketch has been corrupted.

    Thank you.

  • incomplete deployment problem

    Hi friends,

    I hope you do well!

    I have a problem with weblogic server that when I run a page, it displays a message in the paper like

    weblogic.application.ModuleException: Context path "/ ProjectName-ViewController1-context-root" is already used by the module: projectName-ViewController1-context-root application: projectName_application1

    at weblogic.servlet.internal.WebAppModule.initAndValidateContextPath(WebAppModule.java:1210)

    at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.java:970)

    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:382)

    at weblogic.servlet.internal.WebAppModule.activate(WebAppModule.java:433)

    to weblogic.application.internal.flow.ModuleStateDriver$ 2.next(ModuleStateDriver.java:375)

    Truncated. check the log file full stacktrace

    >

    [19: 13:08] # incomplete deployment.  ####

    [19: 13:08] remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)

    # Cannot run application projectName because of the deployment on IntegratedWebLogicServer error.

    [ProjectName application stopped and cancelled Server Instance IntegratedWebLogicServer]

    When I restart the J-developer then it works very well for a time the same problem when I redeploy repeated...

    Can someone solve my problem?

    Thanks in advance,

    Nanda,

    There is already an application that is deployed using the context root/projectName-ViewController1-context-root. You must delete it. Go to the administration console, deployments, find application deployed using this name and remove it.

    Thank you

  • CentOS 6.4 model deployment problem

    Hello.

    Ideploy and customize template CentOS 6.4. I choose Red Hat Linux 6 instead of CentOS 4/5/6 when creating VM basis because the customization option has been disabled during deployment if I chosse CentOS. Now customization options are available, however, after completing the wizard, copy the virtual machine and at the very last step will raise an error "customization of the guest operating system is not available for this configuration... ». Perl and VMware Tools are installed on the base virtual machine which the model has been cloned.

    Please help me solve the problem.

    Thanks in advance.

    Hey, try this:

    http://helpfulit.blogspot.com.es/2012/04/how-to-use-OS-customization-for-CentOS.html

    Look in the comments for alternatives.

  • Package CC using SCCM deployment problems.

    Get the following error during package CC Photoshop/InDesign (device based licenses) via SCCM deployment - "Windows cannot open this program because it has been prevented by a software restriction policy".

    Installation fine when I click OK on this error. But at the launch of the shortcut, a window of "Login required" , which should not be the case, as I build packages using approval option in Creative Cloud Packager. There is no problem, when I install these packages manually on the computer, which seems to be a question SCCM as it installs with the SYSTEM account. Exactly don't know what is the cause, struggling to solve it, must deploy to users within the strict chronology.

    Can you please see this and help? Kindly let me know if you need more information on this issue.

    Thanks in advance...

    Have you seen our SCCM deployment guide?

    Using creative cloud | Package from Adobe with SCCM deployment

  • JAX - RS Web service-deployment problem

    I am creating a restful Web service in Eclipse EPCO + Weblogic 10.3.6. When you use 'com.sun.jersey.spi.container.servlet.ServletContainer', I have no problem in the deployment and execution of the service. (kept in pots of Jersey in the lib to the application directory).

    but when you use 'weblogic.jaxrs.server.portable.servlet.ServletContainer', ranks not found exception during deployment. Can someone tell me what jar has this class that must be available on the classpath?

    FYI: I chose weblogic system libraries in the way of the construction and the facet of the JAX - RS project is selected.

    Thank you
    A

    This class is only available from WLS 12.1.1.0 "weblogic.jaxrs.server.portable.servlet.ServletContainer" Please check below for weblogic 12 c documentation that supports the two classes
    weblogic.jaxrs.server.portable.servlet.ServletContainer
    com.sun.jersey.spi.container.servlet.ServletContainer
    http://docs.Oracle.com/CD/E24329_01/Web.1211/e24983/configure.htm#RESTF179

    10.3.6 only "com.sun.jersey.spi.container.servlet.ServletContainer" is available.
    http://docs.Oracle.com/CD/E23943_01/Web.1111/e13734/rest.htm#WSADV572

    Kind regards
    Sunil P

  • ADF Application - Development Mode deployment problem

    Hi Experts,

    I have jdev11.1.1.5.0 in combination with weblogic 10.3.5.

    my application works fine, while running on integrated wls (just give a click right and on my page jspx - auto deployment).

    If I go with manual deployment of option on same wls integrated or stand-alone wls means

    I can able to get my login page, if I have some means of connection he did re - direct to my index page than it would be problem? (it doent replicate this kind of integrated wls (auto deployment))

    Details of my Application
    use all adf security. my login page is in extended session bean index page - backing bean of limited scope.

    My diary shows, your user name and password is correct. This means that it can have access to my Module of the Application.

    use adfc - config to redirect
    <control-flow-rule id="__5">
        <from-activity-id id="__6">loginPage</from-activity-id>
        <control-flow-case id="__7">
          <from-outcome id="__13">error</from-outcome>
          <to-activity-id id="__8">loginPage</to-activity-id>
        </control-flow-case>
        <control-flow-case id="__14">
          <from-outcome id="__16">success</from-outcome>
          <to-activity-id id="__15">Indexpage</to-activity-id>
        </control-flow-case>
      </control-flow-rule>
    This project does not behave like this days Olden.

    I scored on the sample for deplying a standlone wls and wls adf application built-in. It is very good.

    can anyone guide me where am?

    one has an idea?

    so am manual deployment I had dialogue "deployment configuration" to deploy.

    I got this in my journal.
    [01:07:44 PM] Entering Oracle Deployment Plan Editor
    [01:07:46 PM] No metadata repositories found on target server. Using values found in adf-config.xml. //show this red collor

    User707, can you on which you deploy the application? It is a stand-alone server or server that comes with jdev?
    Question: can you post the url that you use to launch the application on the server? The url contains ".jspx" as part of it?
    If Yes, try to remove the ".jspx" out of the url.

    Timo

  • Deployment problem. in Oracle 11g - Jdeveloper 11.1.1.4

    Hi all

    I created an Application Server connection and tested and got all 9 successful tests.

    When I try to deploy my bpel program...
    I right-click on the bpel project and select deploy, I dnt get any existing connection to deploy. I just get the name of proj once more.

    Usually, it takes get tat area in which we need to deploy. Here I HAV not these options.

    After the creation of the connection to the application server, hw I could connect to the bpel proj...

    My console works fine however.

    Kindly help me to solve this problem. Thanks in advance.

    Kind regards
    Sabarisri. N

    How to start this soa_infra. SHD, I do this 'Control' of my console soa_infra tab?

    First, go to the tab target of soa-infra and make sure that it is targeted toward Server SOA. Then go to the tab control and try to start it. If a mistake happens, post it here.

    Kind regards
    Anuj

  • Flex Mobile geolocation problem

    Hello

    I had to install turn geolocation on different android devices flex application but its not working on DEll Streak who have android 2.2.2

    same code works on

    Samsung galxy

    Samsung mobile with android 2.1

    is their any problem with android 2.2.2 for geolocation adobe code

    solved my problem the device had a problem with wifi

Maybe you are looking for

  • Where can I find my files downloaded in mozilla

    Cannot find the downloads tab

  • Why my downloads when you're done automaticly play in media player?

    When I download an mp4 or avi file using firefox... download ends and he begins to play in windows media automatically player without even asking me... all I want to do is d load the file and play it later. Any suggestions to solve the problem.

  • I can't get my xbox to connect to my pc

    I ran the windows media player updates, my 360 connects to Live, my pc connects to the internet. I use a router from Sky, but everyting is connected with wires. When I run the 'PC connection test' my Xbox it seems to find a network but not the PC, I

  • Internal microphone does not work and is not in Device Manager

    Original title: internal microphone my internal microphone does not work I went to the Device Manager and it shows not even clicking in a white area, is not just turn off there is not aparently, I had all my USB desconected while it interferes not at

  • CMD "access denied" administrator, ect.

    Hello I'm trying to fix the bug of Billboard with Roller Coaster Tycoon 3, who I have to open the command prompt, and then type .. .CD "C:\Users\user\Documents." then rmdir "my images". However, whenever I enter rmdir "my pictures", he returns consta