Connect Flash With SOAP?

Oct 21, 2011

I want to connect to a SOAP web service in Flash. The SOAP web services is hosted on https and requires username and password. I can't find any documentation or libraries for this action.

View 1 Replies


Similar Posts:


Php :: Flash - Flex - Connect To Data Service Via PHP Versus SOAP?

Aug 26, 2011

I am writing an application in Flash Builder 4.5. I am also writing a PHP Web service to access data from our MySQL database. This Web service will be made available to third party clients for them to develop applications to access our database as well, via SOAP.

Is there a big performance difference between connecting to the service in Flash Builder via connecting directly to the PHP file vs. connecting to a Web Service via SOAP?I would kind of like to connect to this service the same way that our clients will, to make sure things stay as uncomplicated as possible for future development, but performance is my main priority.

View 1 Replies

Flex :: SOAP Or Flex Plus Server Side SOAP?

Nov 10, 2010

I'm looking to consume SOAP services -- read only -- from a third party web service. I know Flex has strong SOAP functionality. I am wondering, however, if there is any benefit to using e.g. Ruby or PHP to consume those 3rd party services and then passing the results to Flex, versus doing it all in Flex. Other than decoupling the client code from the SOAP logic, I can't really think of one.

View 1 Replies

Use Flex SOAP Classes In Flash Pro?

Jun 21, 2011

Is there a way to use the soap web service classes that FLEX provides from Flash CS5?

View 1 Replies

Flash AS1/AS2 : Send A Simple SOAP Message To A Web Service On Another Domain?

Feb 16, 2010

Is there a way to send a simple SOAP message to a web service on another domain, while not caring about the response (this is simply a small data push) in an old flash app?

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

Actionscript 3 :: Flash Builder - Connecting To Remote Webservice Using SOAP And WSDL Using Flex?

Aug 16, 2011

The requirement is to get the method named getIncidentList() from web service using Soap and wsdl using Flex or Actionscript.

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:WebService id="DirectoryService"
wsdl="http://cmuicds.rutgers.edu/uicds/core/ws/services/DirectoryService.wsdl"
useProxy="false"

[code].....

View 1 Replies

Actionscript 3 :: SOAP Web Services In Flash Builder 4.5 Won't Accept A String With Spaces Or Quotes

Oct 7, 2011

When using SOAP web services in Flash Builder, I am able to use the web services tool and test making service calls without any issue.I can pass strings that contain spaces, double and single quotes with great success. when I write code to send a string containing spaces or quotes, the web service doesn't return a success response.If I remove the quotes and/or spaces, success.I've tried wrapping the string in tags, but I don't know what else to do.

View 2 Replies

Actionscript 3 :: Connect To AMFPHP - NetConnection.connect() Returns TypeError: Error #1009

Dec 8, 2011

UPDATE: Now I've moved the AMFConnection var declaration to outside the functions in Main, and commented out some trace() commands, and now it gives new errors:

Error #2044: Unhandled NetStatusEvent:. level=error, code=NetConnection.Call.BadVersion
at AMFConnection/init()[/Users/Jan/Downloads/amfphp1/AMFConnection.as:32]
at AMFConnection()[/Users/Jan/Downloads/amfphp1/AMFConnection.as:23]

[code]...

I'm trying to connect to AMFPHP on a server (with Flash AS3), and the swf borks when it reaches the .connect() stage. To make things easier (?) and more reusable (?), I've put all the NetConnection mechanics into a separate class, AMFConnection, which I call from the Main document class like this (details changed):

public function testConnection(e:*=null):void {
var conn:AMFConnection = new AMFConnection();
conn.table = "some_table";

[code]...

AMFConnection actually starts the connection and calls the AMFPHP service with the function gogogo(), and here's where the connect() NetConnection function just won't work. Here's the main section of the AMFConncection class

private var _netConnection:NetConnection;
private var _responder:Responder;
function AMFConnection()

[code]...

It also fails to display the stage, instead showing the loading dots. Now, eventually I'm going to move this application to the same server as the AMFPHP service, but even when I try it there with a relative url, instead of an absolute one, it still breaks down at connect(). I've tried changing the publish settings from local only to network only, to no avail.

View 3 Replies

Asp.net :: Is It Worth Trying To Use SOAP

Aug 31, 2009

I have a small RIA that I built as a learning/make-my-life-easier project that uses Flex and ASP.Net. Currently, my architecture utilizes straight HTTP posts and the server responds with xml. I posted another question about security in my web app and some people mentioned SOAP. SOAP is something I've never actually used and I was wondering what the pros/cons were to using SOAP over my current architecture and then subsequently, how much work is require to convert such an application to utilize SOAP.

View 2 Replies

Flex :: Add XML To SOAP Request In It?

Jun 21, 2010

I have a Flex service defined like [code]...

View 2 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

Xml :: Using Flex To Read XML In E4x Format From SOAP Webservice?

Oct 16, 2009

UPDATE: The problem was not to do with namespaces or flex at all. My webservice was returning the wrapped xml. I was blaming the language I had least experience with before questioning the java...I have a basic soap webservice that I am having trouble reading the result from in flex.I'm a solid java programmer and just trying to get my head around adobe flex.In the documentation I should be able to use "WebService" to return the result in e4x format.

<mx:WebService id="CurrentLayersWS" wsdl="http://localhost:8080/myproject/ws/myservice.wsdl" showBusyCursor="true" result="updateSelected(event)" fault="Alert.show(event.fault.faultString), 'Error'">
<mx:operation name="publisher" resultFormat="e4x">
<mx:request>

[code]....

Unfortunately, the event object seems to nested and encoded strangely. When I step trough with the debugger I see that responseXml is of type XMLList containing one element (at index 0) of type XML which just contains the following xml:

<sch:temp xmlns:sch="http://www.mycompany.co.uk/myproject/schemas" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt;
&lt;ns2:publisherResponse xmlns:ns2="http://www.mycompany.co.uk/myproject/schemas"&gt;
&lt;getConfigurationResponse&gt;
&lt;configuration&gt;
...etc

Why is my xml nested inside a document with a root node "sch:temp"?

View 2 Replies

Flex :: Cannot Access SOAP Service When App Is Compiled

Dec 9, 2009

I've got a flex app that hits a remote SOAP service and populates a list with the results.

It works fine when i run it through flex builder, but when i compile the application and move it onto a webserver it can't access the services.

I've tried it from a standalone webserver and on my own machine. I'm assuming that there's a security issue that i've missed as i can't think of any other reason why it's ok in flex builder but not when compiled on the same box.

View 1 Replies

Flex :: Web Services - How To Handle SOAP Response In 3

May 29, 2010

[Code]...

I want to read SOAP response in flex,am some what new to FLEX

View 1 Replies

ActionScript 2.0 :: SOAP WebService WSDL Caching

Apr 6, 2008

I start the service in Actionscript with:[code]My issue is that the server that my WSDL is on, seems to be very slow, and the WSDL file is very large. So it takes around 5 seconds to initially grab the WSDL file. This wouldn't be too bad, but for what I am doing I need to create about 5 or more WebService objects all using the same WSDL (this is a must). It seems pointless to download the WSDL for each new object when I know it is the same.What I am wanting is a way to maybe cache the WSDL locally, or in flash(maybe as an XML object), then apply it to a new WebService object. Or even if someone could tell me how to access the data inside the WebService Object and apply it to a new one.

I have tried a few ideas. I tried using a "clone object" script to clone the WebService object once the original has loaded the WSDL. But it crashed flash because the loop is too big.Is this a case to use a "prototype"? I'm not too sure what it even is. Would it be useful in this situation?

View 2 Replies

Actionscript 3 :: Why Would Same SOAP Request Work In One Flex Project And Not Another

Feb 15, 2010

This is a pretty odd situation I have here. I have used a piece of code to interact with a backend SOAP service for several months - it works fine. I tried it out in a different project (first as an swc library and then just by cutting and pasting) and it just doesnt work.If I try the exact same code in the original flex project, connecting to the same backend service, everything works fine. In the new project, I can call operations that take simple document-literal wrappers as params (they have no real parameters) - but if the operation has a complex parameter inside the document literal wrapper - fail on this new project. Here is a sample that would fail:[code]

-Examined the posts in firebug from both projects and can not see a difference (meaning that the code appears to generate the exact same SOAP request in both projects (as one expects)

-I have verified that the requests should work using SOAPui to directly query the web service

The back end service is an Apache CXF webservice and here is a sample of the error it generates:URL...

View 2 Replies

Flex :: Access A SOAP WebService From Library Project?

Oct 29, 2010

I would like to access a soap webservice from a class in a Flex (AIR) Library Project.

How can I instantiate a WebService and get data from a SOAP WebService.

View 1 Replies

Asp.net :: Web Service Creating New Objects When Null Supplied Via Soap

Jul 18, 2011

I have an ASP.NET 2.0 web service and am using it in (among other things) an Adobe Flex application. I have a strange issue where if I send an object to the web service using soap with some fields that are null the webservice is actually creating new objects on the other end (and not putting any data in them).[code]In this example SomeFieldThatShouldBeNull and SomeFieldThatShouldBeNull2 are being created as new objects by the webservice. It is vital for the application that does not happen.

View 1 Replies

Web Services :: Soap Webservices Call Method With Parameters?

Oct 27, 2011

i want to call a function on a soap-webservice using actionscript 3.the function has multiple parameters each of different type (int string).

this is the as-code i have so far.
var ws:WebService = new WebService();
ws.wsdl = "http://.../Service.svc?WSDL";

[code].....

View 1 Replies

ActionScript 3.0 :: Make An Array Which Will Work With SOAP Webservice?

Oct 25, 2011

I need to make an array which will work with SOAP webservice. This array needs to be like this one in php:

PHP Code:[code].............

View 5 Replies

Flex :: SOAP Variables In Network Monitor But Not Making It To Event Handler

Aug 13, 2009

I am querying a 3rd party web service and not all the data seems to be making it to the event handler. When I view the request/response in the Network Monitor I see a collection of data objects each containing two string variables (name, url) and two arrays (counts, breakdown). When the result handler receives the data and I view it in debug mode, the collection of data objects each only contains one string variable (name). What happened to the other string var (url) and both arrays (counts, breakdown)? what would cause this since it seems to becoming corrupt before it reaches the event handler but after it is received by the network? Is this most likely an IDE issue?

View 1 Replies

ActionScript 3.0 :: Sharepoint SOAP Webservice Wraps Result (including Xml) In CData?

Mar 24, 2009

I am developing a microsite for a client. The client uses Sharepoint as their main CMS and they want the site to be driven by sharepoint.The problem is that the entire result set is wrapped with Cdata ... not just the content data. Below you can see this (some stuff has been removed to anonymize the data), and this is giving me serious problems trying to parse it.Raw data (service inspector)

Code:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>[code].....

I guess I could write a parser that replaced the html entities for <,>," and ' with the actual characters but that is a crappy hack IMO. I have asked the client to try to wrap the fields and attribute data with CData instead of the whole result set but they are unsure if it is a sharepoint specific thing.

View 2 Replies

ActionScript 2.0 :: [F8] Connect Flash To C#?

Jan 28, 2009

I was wondering if it is possible to "connect" Flash to C#.Would be that flash would send variables to C# and then the same C# return some variables to flash.

View 1 Replies

CS3 Connect Flash With Database And ASP?

Jun 22, 2009

I want to create a login page in Flash, containing two text fields (username password) and an Enter button. The database I am using is MYSQL where is a table with username and password elements. For the connection I must use ASP.NET and not PHP.

View 1 Replies

Java :: Way To Connect Flash

Feb 22, 2010

It`s not a secret that is very difficult to create beauty user interface using Java. Flash has powerful tools for it. We use Flash to show some nice face and Java to process business logic(DB, calculation etc). How they can connect (over HTTP or TCP/IP not important) without additional technologies?

View 3 Replies

Flash :: Cant Connect AIR App To Socket.io?

Oct 8, 2011

I'm trying to connect an AIR application to socket.io, it's just not working.

[Code]...

View 1 Replies

Flex :: Flash Builder 4 - Flash Player Failed To Connect To Debugger

Jan 7, 2011

I just finished my installation of Adobe Flash Builder 4. I've definitely installed the most recent flash player from Adobe's website onto my computer. Also, in the run configurations of flash builder 4, I changed the source path from the .html file to the .swf file that is generated. I don't need to test it in a web browser, I just want to run the swf in flash player.

I only have 1 .as file in my actionscript project and there is no code written in it other than the package, class and main function statements. When I run the .html file, it runs fine, and debugs fine. However, when I switch the source path to the .swf file, it runs fine but doesn't debug!

When I debug it, the progress gets stuck at 57% and it says "Waiting for Adobe Flash Player to connect to debugger..." in the "Progress" tab. After a few minutes a window pops up that says:

"Failed to connect. The session has timed out. Ensure that you have run the application with debugging on and that I have the debugger version of flash player."

What can I do to fix this? I am on an intel Mac running OS 10.6.5.

View 2 Replies

Can Flash Connect To A USB Or RS232 Scale

Jul 16, 2009

We have a website that a Flash Video records our emplaoyees weighing items on our scales. They then enter in the weight of the scale however we want to see if its possible to have that weight displayed on the Flash Video. Since we know we can display diffrent things on the video like time is it possible to have it connect to a USB or RS232 Port? Flash can easly connect to a webcam via USB as thats how we are recording and we have applications that can transcmit the weight of the scale to the computer. Does anyone know of a website thats done this or is it even possible to grab data off a scale and embed into flash.

View 2 Replies

ActionScript 3.0 :: How To Connect Sql Database With Flash

Nov 1, 2009

Iam working on a quessinarie (assesment) for elearning software. i want to connect sql database with flash and save my records in back end like add, delete, modification of student result and details.

connect the sql database. or dot net server. I know how to connect PHP and mysql. But my client dont want php. only sql database and do the add, del, modificaiton.

View 5 Replies







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