Flex :: Service - Builder - Can't Find ManagedQuery Or ManagedOperation

Apr 18, 2011

This is the response to my question/error I get, but I don't know how to implement it, It turns out that my issues were caused by having two instances of the same data service class in two different components that were used in the same page. If I changed the components to share the same instance of the data service, then everything works just fine. how to define a service in the main application or elsewhere which can be shared between components?

[Code]....

View 1 Replies


Similar Posts:


Flex :: Use One Service Definition For Testing And Another For Deployment With Builder?

Sep 22, 2009

I would like to use different service definitions in a Flex app depending on whether I'm running on:

My local developer machine
The test tier
The QA tier
The production tier

My services are all AMFPHP remote objects, living on different hosts and at different locations depending on which tier I'm on. How can I have my flex app choose the 'correct' tier at runtime to connect to?

View 2 Replies

Flex :: Builder - Deploy Flex App Using Different Web Service Urls?

Sep 28, 2011

Is there some sort of configuration settings in FlashBuilder 4.5 where you can easily switch between webservice urls? Right now I have to delete and recreate the web service every time I switch from local to production and vice versa.

View 2 Replies

Flex :: Builder - Create A 3 HTTP Service With Variable Arguments?

Aug 6, 2009

I need to call an HTTP service using Flex that has variable arguments. I'm using Flash Builder 4 (Gumbo) to create the service definition, but there's no UI for variable arguments, and the subclass of HTTPServiceWrapper that it creates doesn't seem to support it.

View 1 Replies

Flex :: Builder Import Web Service Errors In Autogen Code?

Oct 8, 2009

I'm trying to import a web service with the Flex builder feature (Data > Import Web Service). The process proceeds as expected and the classes are generated based on the web service description. The code is generated with compile errors in it though.There are 20 errors of 2 varieties. I've included a sample of the errors below.It looks like an error in the auto gen. The auto gen code is trying to dispatch an object of ArrayCollection type. As far I know that isn't possible. rror examples:

1067: Implicit coercion of a value of type net.responsys:ListTablesForCampaignResultEvent to an unrelated type flash.events:Event. Responsys/src/net/responsysResponsysWS57.as
1119: Access of possibly undefined property headers through a reference with static type

[code].....

View 1 Replies

Flash :: Flex - Manipulate Data Returned From PHP Service In Builder

Mar 12, 2011

I'm using the data/services in Flash Builder 4 to access the php functions of a site within an Air based Crud, and figuring out the most efficient ways to work with the data objects that come back.

[Code]...

The data comes back as an associative array, which is fine if I want everything from it to be treated the same. But I'm not sure how I am supposed to pull a particular column from the array without having to go through a for loop to parse through it.. since right now the contact name would be at allContacts[i].name.

Basically I want to make a list of the names from the allContacts, so I want an array of allContacts[i].name to set as the data provider for a element. Is there any way to get that done without having to write a for loop to convert it into a new array or writing a new php function?

View 1 Replies

Flex :: Using A ServiceStack Generated SOAP 1.1 Service In Flash Builder

Nov 2, 2011

I have been tinkering around with ServiceStack to expose some web services and have been very impressed. One potential consumer of these services will be a Flex application. Flash Builder (the Flex IDE) has a tool that auto-generates proxy AS3 classes for SOAP web services based on the wsdl - at this point in time only for SOAP 1.1.

If I recreate the HelloWorld tutorial, and try to use the SOAP 1.1 wsdl to autogenerate classes, I get the following errors in Flash Builder. There was an error during service introspection. The part 'parameters' has an invalid value 'HelloResponse' defined for its element. Element declarations must refer to valid values defined in a schema. The part 'parameters' has an invalid value 'Hello' defined for its element. Element declarations must refer to valid values defined in a schema. I am sure this is a problem with Flash Builder's tool. I am wondering if anyone has been successful in auto-generating AS3 classes from a ServiceStack wsdl?

View 1 Replies

Wcf :: Flex - Unable To Find Definition For Type From WCF Service

Nov 9, 2011

I have a WCF Service running SOAP and allowing Flex / Flash to connect to it using basicHttpBinding by using the 'Data' 'Import Web Service' option. Unfortunately when I consume and invoke this service within Flex it throws the following error...

Error: Cannot find definition for type
'http://schemas.datacontract.org/2004/07/System.Drawing::Size' at
mx.rpc.xml::XMLDecoder/decodeType()

...when using the following code...

// This will return an array of presentations
var service:PresentationAuthoring = new PresentationAuthoring();
var token:AsyncToken = service.getAllPresentationByClientId(

[code]. ..

This method returns an array of Presentation objects that are retreived by the service. At the moment there are no DataContracts and I'm allowing the POCO Presentation object to be serialised and punted out by the service that works fine. However, this class has a readonly property of the type System.Drawing.Size that derived from appropriate height and width properties. Looking through the generated code, it doesn't register a 'Size' class in the base import schema although it still seems to create a Size class.

An alternative has been to stop the derived property from being serialised using the [XmlIgnore] but that has not worked. I need a way of allowing my Flex application to communicate with my WCF service but it seems to choke on the System.Drawing.Size type and while I could change this, there are other framework types such as Point, Rectangle, etc, etc. that are utilised within the project.

View 1 Replies

Flex - Error #1088 On Passing A Class As A Parameter For Web Service In Flash Builder

Feb 8, 2011

I need to pass a struct and a string in a web service. I am using a WebService components to do so.upon my search, there is no struct type in actionscript and so I used a class for that one.

public class UserInfo{
public var name:String;
public var dateAdded:Date;
}

and I'm filling it up so that I can pass it on the web service like this:

var newUser:UserInfo = new UserInfo();
newUser.name = "myName";
newUser.birthdate = new Date();
webServComponentId.operationToCall(newUser, "password");

Upon sending this request, it prompts me an error of Error #1088.

the component that is being called by webServComponentId.operationToCall(newUser, "password"); is this:

<s:WebService id="webServComponent" wsdl="[PATH OF WSDL HERE]" >
<s:operation name="operationToCall" result="functionToCallWhenResult(event);" fault="Alert.show(event.fault.faultString)" />
</s:WebService>

Basically it is a web service via MXML. So when I call the operation, it always go to fault part and shows Error #1088

View 1 Replies

Find Unreferenced Code In Flex Builder?

Mar 22, 2010

We've got several Flex projects, one of which has just been refactored. I'm wondering if there's an easy way to tell which classes and functions (if any) aren't being used any more?

I've discovered that we've definitely got some unused code, because running ASDoc on the entire project reports some compilation errors which don't get reported by Flex Builder (implying that those classes aren't being used any more). I'm hoping to find a more robust and complete method, and preferably one which can work at function level too.

View 5 Replies

Unable To Connect To .NET 4.0 WCF Web Service Within Flash Builder Burrito?

Mar 3, 2011

I'm trying to connect to a very simple .NET WCF web service (created in .NET 4.0) within Flash Builder Burrito and the process hangs on "Introspecting the service". I get no errors -- it just hangs. The web service is on my local network, although not on my local machine.

View 1 Replies

Find Similar(images To 3D Flash) Service / A Script?

Dec 6, 2010

About 1,5 years ago, met with a Web site. On the website you can upload multiple pictures of the object taken from different sides, and the site gave me a flash movie with my object but in 3D. Very similar to what it is now showing photos in Google maps.

Tell me where I can find a similar service or a script?

View 1 Replies

Php :: Flex Service - Bind A Service To A Button

Feb 2, 2011

I am experiencing a strange problem when I want to bind a service to a button or something else:

[Code]...

I can add the services to the Data Services panel but I have two strange things:

1) when I want to configure the return type he doesn't let me create a new ValueObject type, I only get the bottom datagrid which states: Properties returned by the operation: Property: country_Id, provence_Id, city_Id, id_cdpc, district_Id with the related values on the right side. Why can't I create a new data type on the top?

2) When I accept this and want to add the service call to a button (drag&drop) I get the following error: Error occurred while generating code. Make sure that there are no compiler eroors and try again after reopening the file. Componentn type services.cdpc.CDPC not found... (ps: When I perform a Test Operation everything seems to be ok, I get the expected output values)

View 1 Replies

Adobe Flash Builder Http Data Service Call Fails Only After Export?

Dec 8, 2011

I wrote an app using adobe flash builder that makes an http data service call to a website.

When I build and launch the app it loads in my browser (the address in the broswer is C:Userspath omyapp.html) and works perfectly. However, when I upload the app to my website or even launch it from outside the project build directory, the HTTP service call fails with the popup

Security error accessing url
Destination: DefaultHTTP

Of course I googled this error and realized it may have something to do with a 'crossdomain.xml' in my web root directory. I tried this and it continued to fail.
Below was my crossite domain file

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="www.my_domain_for_http_service.com" />
</cross-domain-policy>

I'm using the free trial version of Adobe flash builder, but I do not see anything indicating that this has to do with the error.

Data from http service call is in xml format.

View 1 Replies

Actionscript 3 :: Find Which Variable Is Undefined? (flash Builder)

Feb 7, 2011

A flash application in flash builder is currently throwing this error:

ReferenceError: Error #1065: Variable is not defined.

Not telling me which variable it is that's not defined, but note there are two spaces between 'variable' and 'is'. and it gives me some more feedback as to what lines of code are having trouble, but those lines are all within the actual flash/mxml packages and not any of the files in my own project.

I suspect it's related to my php data/services, but I don't see what variable would not be defined. I'm not very familiar with debugging, so I'm not sure how to determine with it where the problem is cropping up.

[Code]...

View 1 Replies

Flex :: Convert Flex Builder 3 Project To Flash Builder 4

Oct 6, 2009

I just upgraded to Flash Builder 4 (beta 2) from Flex Builder 3 which I have been using since it came out. Problem: All the projects that were in my workspace from Flex Builder 3 did not carry over into Flash Builder 4 (e.g. in the "Flex Navigator" view if FB3). Flash Builder 4 now uses the .FXP format to manage projects, but Flex Builder 3 did not. Is there an easy way to get all my projects back into Flash Builder 4?

View 2 Replies

Actionscript 3 :: Make Flash Builder Package Explorer Emulate Flex Builder's Navigator Window?

Apr 21, 2010

Does anyone know if there is a way to make the new Package Explorer window in Flash Builder emulate Flex Builders 'Flex navigator' window?

Bottom line is I don't always need to peer into SWC's, and I don't like having a 'default package' automatically created for me. Not sure why the interface wasn't made simpler, allowing access to more power and complexity only if necessary. I want to focus on the code, not on how to navigate and use the bells and whistles in the coding environment.

View 1 Replies

Flex :: Builder - Using Flex Builder With Source Control?

May 25, 2010

When setting up a source control repository for a Flex Builder workspace, what do you consider to be worth checking in? Do you exclude the workspace .metadata folder but keep the .project and other project specific files? Keep both? Throw away both? Is there a guideline you use to decide which is worth holding onto or do you do it out of practical experience?

View 2 Replies

Service - Flash Builder: 4.5-1 : Combination "Localazation Compiler Optons" + "Generated PHP Webservice"?

Aug 18, 2011

I've created a GUI in Flash Builder 4.5-1 with localization (copylocal as admin, created the files, implemented in he GUI...) and all works fluid and very well.I now want to generate a PHP service from my DB and that also works ok.When I try to run the application I get the error he doesn't find: Unable to open 'c:Program Files(x86)AdobeAdobe Flash Builder

4.5eclipsepluginscom.adboe.flexbuilder.project.nl1_4.5.1.313231
len_US nl_BE fr_BE de_DEdcradSwcs4.5locale'

When I retrieve the compiler options (additional languages) it works without errors.Do I need additional steps to be able to use "Locale" and "Services" combined?I used to work with Flex Builder 3 and didn't have the issues....

update, still having the issue, isn't there nobody out there? This is the error i get...unable to open 'C:Program Files (x86)AdobeAdobe Flash Builder 4.5eclipsepluginscom.adobe.flexbuilder.project.nl1_4.5.1.313231

len_US de_DE nl_NL
fr_FRdcradSwcs4.5locale' XofferSales Unknown Flex Problem

it happens from the moment I want to use localization + php services....

View 1 Replies

Flash :: Flex - Migrating A Project From Builder 4.0 To Builder 4.5 Is Producing The Error "The Required Skin State 'disabledWithPrompt' Is Missing"

Nov 28, 2011

I am trying to migrate a project from Flash Builder 4.0 to Flash Builder 4.5. After Flash Builder prompts me to choose my new SDK, I choose 4.5, Then I get the following error:" error "The required skin state 'disabledWithPrompt' is missing".

View 1 Replies

Eclipse :: Find Unused Variables In Flash Builder 4 (like Eclipse For Java Does)?

May 23, 2011

Eclipse has a built in functionality to find unused variables (and methods too I guess). Flash Builder 4 is built on top of Eclipse but it doens't have that functionality. Do you know any plugin to achieve that functionality? Also, if you know any other kind of plugin besides SourceMate to improve Flash Builder let me know.

View 1 Replies

Flex :: Security - Setting Wsdl Service In Flex Project Crossdomain.xml?

Apr 7, 2011

How can i settings crossdomain.xml my flex project.* this is my crossdomain.xml.

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<site-control permitted-cross-domain-policies="all"/>

[code].....

I've tried lots of different methods but my project send error message "Security error accessing url Unable to load WSDL. If currently online, please verify the URI and/or format of the WSDL [URL]"

put the file in different places

C:wampwwwMYPROJECTin-debugcrossdomain.xml
(my swf url : http://localhost/bin-debug/test.html checked http://localhost/bin-debug/crossdomain.xml its ok)
C:wampwwwcrossdomain.xml

I added the load line of the project

protected function application1_initializeHandler(event:FlexEvent):void
{
Security.loadPolicyFile("http://localhost/MYPROJECT/bin-debug/crossdomain.xml");
}

if flex server type select none everythings ok. but server type select PHP need crossdomain.xml how can i fix.

View 1 Replies

Flex - Pass Authentication Headers Using Flex HTTP Service?

Sep 6, 2010

I am trying to access a .Net service which requires an authentication header. If WebService is used it works fine. But when it is accessed using HTTPService it throws error. The project is already done by somebody else using HTTPService. Now changing to webService requires some time since there needs to be modification in a lot of files.

Below is the SOAP envelop required by the service.

[Code]...

View 1 Replies

Flex - Importing Flash Builder 4.5 Project Into Flash Builder 4.5.1?

Jun 27, 2011

I have an AIR project that I was working on Flash Builder 4.5 which now I'm trying to import to my updated Flash Builder 4.5.1 and it is prompting me to fix some paths before the import is completed. I'm kinda clueless what I should put in those fields.

[URL]

The project access a web server to retrieve data using JSON.

View 2 Replies

Flex :: Using Grails To Connect To A Flex Web Service?

Jun 20, 2009

I have a grails application that will be rendering an html page into a pdf file and I have a flex application sitting on a server that is going to accept REST parameters and construct a graph based on the parameters (which will be formatted in JSON). What I want to do is make a call to the flex app with my parameters and have the flex app create the graph, render a JPEG of the graph, then send an image back to grails. In other words, I want to put an HTML img src=that will render the image directly to the page so that my PDF Plugin in grails will render it into the PDF.

View 1 Replies

Flex :: Develop Flex/Air Application As A Service?

Jan 28, 2011

Is it possible to develop flex/Air application as a service. The application doesn't require any GUI it should run as service in embedded Linux/Linux/Windows.

View 1 Replies

Flex :: Mvc - A Different Service App Using Zend_Amf?

Feb 4, 2010

I have an iterator service that works fine already and returns a correctly structured values to my flex application through my Zend Amf server

$contacts = array();
mysql_connect( 'localhost', 'root', 'test' );
mysql_select_db( 'test' );

[code].....

View 2 Replies

Asp.net :: Asp.net - Flex App Not Hitting Web Service?

Dec 1, 2011

determine what is preventing my web service from being called. We have a working application in production and the developer who wrote it has left. am trying to build it on my machine and I can see a web service call in fiddler being made with the URL "/Services.asmx/MethodName" (as a GET request).I have set my break point in the asmx web service and it is not being hit. All I get in the flex front end is a pop up with " The remote server failed to respond and may be offline. he web service is in the same application as the web app that hosts the SWF file.I have the cross domain policy file in place.

View 1 Replies

Flex :: Stop A Web Service From Executing?

Jan 12, 2010

is it possible to stop a web service from executing?

I have a flex web application that searches clients with both full name and client id, when searching by name sometimes the usuer just types the last name and it takes a long time.

Since the app is used when clients are waiting in line, I would like to be able to stop the search and use their full name or id instead, and avoid waiting for the results and then having to search the user manually within the results.

I meant "web service" I actually meant mx.rpc.soap.mxml.WebService, I want to stop it from waiting for the result event and the fault event.

View 2 Replies

.net :: Use A Service Object Within Adobe Flex

Feb 3, 2010

How can I use a .NET service object in an Adobe Flex application? Is it even possible? Do I have to use some third-party tool?

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved