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


Similar Posts:


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

ActionScript 3.0 :: Gaia Framework Worth Learning?

Dec 7, 2011

I've been learning greensock and I find it helpful now when studying greensock I've been introduced to Gaia does anyone here have an opinion on Gaia?

View 3 Replies

ActionScript 3.0 :: Loading 8MB Worth Of Images Into A Game?

Aug 13, 2010

In the game I am creating, I don't want to import the images directly to flash, otherwise the game will be well over 10MB and that is not a good thingamajiggy So, I am loading them in from a folder residing in the same directory as the SWF.Question - Even if a 56k user plays the game, they shouldn't have a problem receiving the files pretty quickly, considering the image folder with the 8MB+ images is in the same directory, right?

View 4 Replies

ActionScript 3.0 :: Flash When Is It Worth "splitting" Similar Objects Into Different Classes?

Apr 22, 2012

I'm about to start on a side-scrolling game which will involve around 10 different characters the play could choose from and probably about 20 different enemies. Each of these will have slightly different graphics, movement speeds, attack rates, etc. but I'm wondering how to manage it. The way I see it there's two options: Have a general classes "Player" and "Enemy" with a setter method for the exact character which could set a bunch of class variables like speed, max health, etc.. Most of the code would be the same but I'd need a lot of "if" statements in some places (ranged attack vs. sword, etc.).Have a whole bunch of classes "Goblin", "Scarecrow", "Skeleton", etc. that inherit from "Player" or "Enemy". All the stats could be hard coded in individual classes, no need to perform multiple checks on which character it is, but there will inevitably be some code repetition.

I'm bearing in mind that I'll have to reference these regularly. For example, each "Player" will probably have a "target" class variable to track who it's moving towards/attacking. If I strongly type this as "Enemy" and then set it to an instance of "Goblin", for example, will it be cast to "Enemy"? Is that a bad thing performance wise? What about using Vector.<Enemy> for tracking objects on screen? I'm guessing I'll have the same casting issue if the actual objects I push there are instances of Player's sub-classes. Will it negatively impact performance to have ~30 extra classes if I go with option 2?

View 3 Replies

Flex :: Add XML To SOAP Request In It?

Jun 21, 2010

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

View 2 Replies

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

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

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

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

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

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

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

Web Service - "SOAP Response Version Mismatch" While Making A Call?

Oct 30, 2009

I have written a flash application and was unsuccessful in consuming the web service from Amazon. The error that I got was "SOAP Response Version Mismatch" while making a call to:
 
URL: http:url].....
 
However, we were able to call the following successfully.

View 1 Replies

Flex :: Soap - Possible To Create A Flex Contact Form That Submits Data To Salesforce.com As A New Lead?

Oct 7, 2011

has their own web-to-lead form that can be used to send leads from a website contact form. But I want to submit leads from a contact form inside a flex application. I can't see anything in the documentation, or on Google about this. Is it possible?

View 1 Replies

Flex3 - Flex HTTPService SOAP Response Cannot Be Decoded Raw Response?

Feb 6, 2010

I am trying to connect my flex app to a CFC I have which calls a method. It's to test a login control, and when i put the correct credentials in, it comes back with the error: "SOAP Response cannot be decoded. Raw response: ".

[Code]...

View 1 Replies

Flex :: Generate Flex SOAP Client Using Maven?

Aug 9, 2011

I have a java server side project which contains JAX-WS web-services (using JavaEE 6 and the @WebService annotation).

Is there some kind of plugin that would allow me to generate Flex client stubs during my maven build ?

I have taken a look at enunciate, but it seems to generate only AMF client.

I've also tried to look at GraniteDS, but their doc seems a little opaque to me.

Notice my Flex project is compiled using flexmojos, which contains a flexmojos:generate mojo that should be able to generate domain object (however I don't understand how to say it to use domain classes from ANOTHER project, and not from a different folder).

So, is there any maven plugin that would allow the kind of feature described in this Adobe page ?

View 1 Replies







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