Flex :: Can't Execute Query On Geocoding Service

Feb 9, 2010

I'm building Flex 3 application and I have a geocoding service (http://.../GeocodeServer) on a ArcGIS server (ESRI). I'm trying to execute a query on this service in order to retrieve some informations.

Unfortunately, when I execute the query, I get this error : [RPC Fault faultString="" faultCode="400" faultDetail="Invalid URL"]

It's definitely not the URL that is invalid since my locator uses it without any problem.

View 2 Replies


Similar Posts:


Php :: Flex - Insert Query In Php Service?

Feb 16, 2012

I have a MySql DB with 2 tables:

1. category - categoryID / category / description

2. photos - photoID / categoryID / photodescription / photo

And i have a service (CategoryService.php) automatically created by Flash Builder, but i cannot get the second table

[Code]...

View 1 Replies

Flex :: Execute A Callback After A Set Of Asynchronous Service Calls Complete?

Dec 6, 2010

In Flex, I'm making a set of asynchronous calls:

service.method1.send().addResponder(responder1);
service.method2.send().addResponder(responder2);
service.method3.send().addResponder(responder3);

I want to execute some code after all of these service calls have returned (either success or failure, I don't care which). How can I do this?

View 1 Replies

ActionScript 3.0 :: Retrieve Query Results From ASP.NET Web Service?

Feb 23, 2011

I located a code example to reference my ASP.NET web service and have saved it as MainDocument.as. I have a combo box cbRentalType that has entries of Party (value=3), Sale (value=1) and All (value = All). I have a combo box cbCatSelect that allows the user to select Product Categories. I have a text input field txtSearch where the user enters their search string.

What I need to do:

1. Submit a query with RentalType=1 or 3 or Blank, Category = dbCatSelect.selectedvalue and Product Keyword = txtSearch to my web service.

2. The ASP.NET web service returns all database entries from MS Access query named ProductDetailsAll. These query results need to be populated in individual rectangle objects with dynamic text fields for Product Name, Image, Description and Price. How do I set these dynamic fields to populate data from my query?

3. The Flash movie clip contains 16 rectangles, or can house up to 16 product results from the web service. If more than 16 results are returned, how do I populate a new page of product details in my movie clip?

4. How do I reference the outgoing variables in Actionscript 3.0 pertaining to CategoryID, RentalType and search string? How/where do I store the incoming variables for Product Name, Description, Image and Price?

View 1 Replies

Query - Run A Sqlite Query In Flex To Count The Total Number Of Records?

Apr 16, 2010

I'm trying to run a sqlite query in flex to count the total number of records I believe its working fine but I just can't figure out how to display the results - all I get back is [object Object].

private function overviewOne():void{
var stmt:SQLStatement = new SQLStatement();
stmt.sqlConnection = sqlConn;
stmt.text = "SELECT COUNT(user_id) FROM tbl_user WHERE status_status ='Away'";

[code]....

So how do I make a reference to the COUNT(user_id)?

(flash.data::SQLResult)#0
complete = true
data = (Array)#1

[code]....

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

ActionScript 3.0 :: Geocoding Name Of Business [google Maps]

Sep 20, 2010

searched for this but dont exactly know how to name it. instead of geocoding this address '2880 broadway, New York, NY', i would like to geocode the name of a business (restaurant, cafe, etc..) like 'Seinfeld diner' anybody knows how to name that? or which functionality in the API i need to look for?

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 :: 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

Execute An Adobe Air App From Flex?

Dec 12, 2009

How do I execute an Adobe Air app & pass arguments from Flex ?

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 :: Execute CMD Commands Using Actionscript?

Aug 19, 2010

I would like to execute a CMD command from my flex application programmatically. Something like

> mediaplayer.exe "mySong.mp3"

I also tried using fscommand but was not successful. While googling I learnt that its not supported by AIR. I would like to know if there is any other alternative for executing the commands.

View 2 Replies

Flex :: Checkbox On SQL Query In DataGrid?

Oct 20, 2009

[URL]I have a checkbox renderer i am placing into my Datagrid. The checkbox needs to do a sql query on the sqllite database and see if the show is marked as watched, if it is then make the checkbox as checked and if not mark the checkbox and not checked.

What i would like to do further to this is add the watched items to one XMLList and add the not watched episodes to a different XMLList and have the checkbox on click= move from one to the other list as per watched or not.

[URL]

View 2 Replies

Xml :: Flex - Unable To Query Each Element?

Feb 7, 2008

<?xml version='1.0' encoding='UTF-8'?>
<feed >
<id>http://gdata.youtube.com/feeds/api/videos</id>

[code]......

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

Php :: AMF Data Is Incomplete With Flex Service?

Apr 28, 2010

I am bussy with a Flex Project with a data services. Flash builder installed Zend Framework with Zend_Amf.

When i run the project i get the error NetConnection.Call.Failed: HTTP: Failed. With chalers i say that Zend_Amf give the error: AMF data is incomplete (0 bytes of 0 bytes). Please check the recording limits in the Recording Settings.

I don't know what the problem means. I have searched on google, but i haven't found a good result. The Flex project code is:

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

[code]...

View 2 Replies

Flex :: Setting Up Web Service Client?

Jun 1, 2010

I am new to Flex and needed some help setting up Web service client.I have a web service of method: public String printEchoStr(String str);I am facing problem while creating action script to call this service.I am getting error1067 : Implicit coercion of a value of type String to an unrelated ty generated. webservices:PrintEcho.I am not sure if this is the correct way.

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
xmlns:srv="generated.webservices.*"[code]...........

View 1 Replies

.net :: Flex - What Value Does WebORB Add When Accessing A .NET Service

Jul 1, 2010

I've been reading about WebORB, and am wondering: if I just need to call methods on a .NET web service from my Flex app, does it add any value?

View 3 Replies

Php :: Call An AMF Service Using Flex And Get Back A MP3?

Jul 6, 2010

My flex 3.5 application has an audio player whose content is accessed by calling an AMF service to get the mp3 data. As far as I can tell, flash.media.Sound is initialized with a URLRequest, so it's not clear to me how I can provide it with data using my RemoteObject.

I want to do one of the following things:

Provide data to the Sound object's load method from a RemoteObject service call.
Create a URLRequest object that will perform the requisite AMF wrapping so that my service implementation will look exactly like any other service call if at all possible. Any alternative that allows me to invoke a PHP4 AMF service and play the audio it returns in a Flash audio player.

View 3 Replies

Flex :: Sychronous Web Service Calls

Sep 10, 2010

Does adobe flex supports sychronous web service calls justify your answer???

View 1 Replies

Flex :: Set The Location For A SOAP Service?

Apr 8, 2011

I have successfully generated my web service proxies using the FlexBuilder menus. This particular web service has an internal (or incorrect) "location" specified in its WSDL. This means that when I go to make an actual method call, it fails because the DNS name specified in the location field is wrong. (It shows as "aborted" in fire bug).

How do I set the location attribute on the service object?

update:

The field that needs to be changed is listed below. It is called "WSDL- ndpoint." So the question is: How do I do this programmatically given the generated web service object (the one that extends WebServiceWrapper)?

<annotation name="ServiceConfig">
<item name="DEFAULT_ENTITY_PACKAGE">valueObjects</item>
<item name="WSDL-endpoint">http://eoc7/eoc7/api.asmx</item>
<item name="LINKED_FILE"></item>
</annotation>

View 2 Replies

Flex :: Supply The Parameters Int[] In A PHP Service?

Aug 1, 2011

My Flex Service Call is returning Null can anybody tell me where I am going wrong?

Database:
user_id: 1
user_name: stephen
user_password: qwerty
status: Active

[Code]...

View 1 Replies

Web Services - How To Call Web Service From Flex

Mar 28, 2012

I have some problem with calling web service from flex. I have service with name UserService with one method string GetData(int i). I want to call this method from flex and get data. My code is here:

protected function application1_creationCompleteHandler(event:FlexEvent):void
uService = new UserService();
uService.addEventListener("hello", echoResultHandler);
uService.GetData(1);

[Code]...

View 1 Replies

Flex :: Execute An External EXE From AIR Or Java Web Application

Aug 14, 2009

Need to execute an external EXE from either a Java web app (running on Glassfish on Windows Server) or from an Flex/AIR desktop app.

View 2 Replies

C :: Execute Language Executable File From Flex?

Aug 14, 2009

is there any way to execute C language executable file from Flex?

View 2 Replies







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