Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Zee_Yang
Community profile Zee_Yang Level 2
Job title here
Location here
1 BADGE
Level 2

Level 2

Learn more
Joined the community 10-09-2006 3:47:46 PM
Offline
Top badges earned by Zee_Yang
Customize the badges you want to showcase on your profile
Re: FLEX with java
Avatar
Affirm 1
Level 2
Zee_Yang
Level 2

Likes

0 likes

Total Posts

29 posts

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile
Zee_Yang
- Adobe LiveCycle
BlazeDS is your best bet. Try this tutorial, http://www.flexlive.net/?p=92

Views

125

Likes

0

Replies

0
Re: Send data to servlet with Flex
Avatar
Affirm 1
Level 2
Zee_Yang
Level 2

Likes

0 likes

Total Posts

29 posts

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile
Zee_Yang
- Adobe LiveCycle
most servers have the ability to restrict access by domain.just google for " restrict access bydomain"

Views

33

Likes

0

Replies

0
Re: Database Link on Flex
Avatar
Affirm 1
Level 2
Zee_Yang
Level 2

Likes

0 likes

Total Posts

29 posts

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile
Zee_Yang
- Adobe LiveCycle
opening a file from a db is a two step process,1. use server side code to grab the file from the db andplace it a temp web folder. return the url of the new file back tothe flex client2. call navigateToURL() from flex to open the new file in anew browser window

Views

105

Likes

0

Replies

0
Re: Advice on Learning how to use Flex Data Services
Avatar
Affirm 1
Level 2
Zee_Yang
Level 2

Likes

0 likes

Total Posts

29 posts

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile
Zee_Yang
- Adobe LiveCycle
the LCDS sql assembler might be a good fit for you. it allowsyou to do sql crud from flex. there's not server side coding, justxml config. http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/lcds/help.html?content=dms_standard_assemblers_2.html#334899

Views

112

Likes

0

Replies

0
Re: Security error accessing url" faultCode="Channel.Security.Error" faultDetail="Unable to load WSDL
Avatar
Affirm 1
Level 2
Zee_Yang
Level 2

Likes

0 likes

Total Posts

29 posts

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile
Zee_Yang
- Adobe LiveCycle
Can you post your x-domain file here? also, can you use ahttp proxy, such as the charles debug proxy, to see if the x-domainfile is indeed fetched. it could be just a permission issue withthe file.

Views

447

Likes

0

Replies

0
Re: Performance issues Flex and BlazeDS
Avatar
Affirm 1
Level 2
Zee_Yang
Level 2

Likes

0 likes

Total Posts

29 posts

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile
Zee_Yang
- Adobe LiveCycle
blazeds should be on the high end of the performance scale,compare to WS or REST. To test for low bandwidth environments, usecharles debug proxy to throttle the traffic.

Views

21

Likes

0

Replies

0
Re: Using ASP .Net web service
Avatar
Affirm 1
Level 2
Zee_Yang
Level 2

Likes

0 likes

Total Posts

29 posts

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile
Zee_Yang
- Adobe LiveCycle
you might find this article useful, http://www.adobe.com/devnet/flex/articles/flex_ws.htmlnote, flex only supports up to soap 1.1. i'm not an .netexpert, but i believe it uses a higher version of soap by default.i would recommend you looking into weborb for .net instead.

Views

36

Likes

0

Replies

0
Re: Dynamic image display
Avatar
Affirm 1
Level 2
Zee_Yang
Level 2

Likes

0 likes

Total Posts

29 posts

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile
Zee_Yang
- Adobe LiveCycle
try the following these steps,1. on the server side, return the blob data as byte[]. thatwill be serialized into a ByteArray object in AS32. use flash.Display.Loader as the container for the image.load the ByteArray using Loader.loadBytes(...)3. add the Loader object to the display

Views

157

Likes

0

Replies

0
Re: Remoting Java Externalizable long
Avatar
Affirm 1
Level 2
Zee_Yang
Level 2

Likes

0 likes

Total Posts

29 posts

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile
Zee_Yang
- Adobe LiveCycle
can you post the code of how you serialized between java andas3?

Views

26

Likes

0

Replies

0
Re: Filetransfer via Webservice
Avatar
Affirm 1
Level 2
Zee_Yang
Level 2

Likes

0 likes

Total Posts

29 posts

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile
Zee_Yang
- Adobe LiveCycle
this is really a Flex/AIR performance problem, not related todata services. considering AS3 does not support multi-threading, and notlikely to support it in the next version, I suggest you transferthe files using multipart post instead of ws.

Views

39

Likes

0

Replies

0
Re: Help with Flex, Blaze and Cairngorm
Avatar
Affirm 1
Level 2
Zee_Yang
Level 2

Likes

0 likes

Total Posts

29 posts

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile
Zee_Yang
- Adobe LiveCycle
some code and config snippet would be helpful. btw, how are you monitoring the blazeds output. are youlooking at the blazeds console? try use charles debug proxy to seethe actual network traffic.

Views

34

Likes

0

Replies

0
Re: Deploying Flex BlazeDS Application in JBOSS server
Avatar
Affirm 1
Level 2
Zee_Yang
Level 2

Likes

0 likes

Total Posts

29 posts

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile
Zee_Yang
- Adobe LiveCycle
severals things could go wrong here. to trouble shoot,- first look into your jboss to make sure the amf servlet isrunning- in your flex builder, in flex properties, make sure theserver root and context config is correct. - after you change server configuration file, run a projectclean in the flex builder to pick up the changes

Views

79

Likes

0

Replies

0
Re: Browser authentication dialog when HTTPService fails with a 401 response code
Avatar
Affirm 1
Level 2
Zee_Yang
Level 2

Likes

0 likes

Total Posts

29 posts

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile
Zee_Yang
- Adobe LiveCycle
this is really a browser issue outside the scope of dataservices. my best guess is to use javascript in the html wrapper tosilence the 401 responses.

Views

145

Likes

0

Replies

1
Re: populate text area from array
Avatar
Affirm 1
Level 2
Zee_Yang
Level 2

Likes

0 likes

Total Posts

29 posts

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile
Zee_Yang
- Adobe LiveCycle
if I'm understanding this correctly, you are trying todisplay an array, with each item in its own text box. in that case,use the repeater component and set the array as the dataprovider.

Views

44

Likes

0

Replies

0
Re: How to get the HTTP response body if the body is a malformed XML document
Avatar
Affirm 1
Level 2
Zee_Yang
Level 2

Likes

0 likes

Total Posts

29 posts

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile
Zee_Yang
- Adobe LiveCycle
service capture or charles debug proxy can do the job.flex builder 4 is rumored to include a traffic sniffer aswell, but that's next year.

Views

80

Likes

0

Replies

0
Re: Flex - Spring - BlazeDC
Avatar
Affirm 1
Level 2
Zee_Yang
Level 2

Likes

0 likes

Total Posts

29 posts

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile
Zee_Yang
- Adobe LiveCycle
it's a standard message if your client can't connect to theamf servelet. your amf servlet url appears to be http://localhost:8400/messagebroker/amf.is your blazeds is hosted under http://localhost:8400/blazeds?in that case, you need to go to the project property and correctthe server configuration.

Views

74

Likes

0

Replies

0
Re: repeated Httpservice to same url
Avatar
Affirm 1
Level 2
Zee_Yang
Level 2

Likes

0 likes

Total Posts

29 posts

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile
Zee_Yang
- Adobe LiveCycle
I'm not sure if I fully understand your question. You need atimer object to invoke the same url using HTTPService.send()function on a regular time interval. Is that correct? If that isthe case, you need to look into AsyncToken class for tracking theresponses.

Views

40

Likes

0

Replies

0
Re: How to bind data returned from fill() method with another Collection
Avatar
Affirm 1
Level 2
Zee_Yang
Level 2

Likes

0 likes

Total Posts

29 posts

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile
Zee_Yang
- Adobe LiveCycle
generates a "message" event whenthere's a fill update. Alternatively, ArrayCollection alsogenerates a "collecitonChange" event when it's changed. Just out of curiosity, is there a reason you are not bindingthe managed ArrayCollection directly to the data grid?

Views

90

Likes

0

Replies

0
Re: Security error accessing url" faultCode="Channel.Security.Error" faultDetail="Unable to load WSDL
Avatar
Affirm 1
Level 2
Zee_Yang
Level 2

Likes

0 likes

Total Posts

29 posts

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile
Zee_Yang
- Adobe LiveCycle
when you use the ip instead of "localhost", flash playerrecognize it as a different host. either change the wsdl address tolocalhost or put a crossdomain.xml file under you web root

Views

442

Likes

0

Replies

0
Re: Linking to coldfusion wizards
Avatar
Affirm 1
Level 2
Zee_Yang
Level 2

Likes

0 likes

Total Posts

29 posts

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile
Zee_Yang
- Adobe LiveCycle
in flex builder, go to window > other views, and lookunder the "ColdFusion" node.also make sure you have RDS enabled on your CF server.

Views

71

Likes

0

Replies

0
Re: Cairngorm, XMPP, and Services
Avatar
Affirm 1
Level 2
Zee_Yang
Level 2

Likes

0 likes

Total Posts

29 posts

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile
Zee_Yang
- Adobe LiveCycle
http://letmegooglethatforyou.com/?q=xiff

Views

115

Likes

0

Replies

0
Re: Looping SelectedItem values in HttpService to Update Several Rows in Database in Flex
Avatar
Affirm 1
Level 2
Zee_Yang
Level 2

Likes

0 likes

Total Posts

29 posts

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile
Zee_Yang
- Adobe LiveCycle
there might be others ways of doing it, but i would track thechanges at the data source level.store your data set in an ArrayCollection. Bind your datagrid to the ArrayCollection object as its data source.with the ArrayCollection, attach an event handler to thecollectionChange event. you can use the handler to track which rowsof data has been changed. http://livedocs.adobe.com/flex/3/langref/mx/collections/ArrayCollection.html

Views

146

Likes

0

Replies

1
Re: GET LAST INSERTED RECORD
Avatar
Affirm 1
Level 2
Zee_Yang
Level 2

Likes

0 likes

Total Posts

29 posts

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile
Zee_Yang
- Adobe LiveCycle
I assume you have LCDS installed with CF and you are usingthe remote object service, ......private function insertUser_result(event:ResultEvent) { trace(event.result);}event.result will be the id of the newly inserted record.BTW, I would highly recommend you looking into the datamanagement servcie. the SQLAssembler can spare you of the CF codefor simple CRUDs like this.

Views

68

Likes

0

Replies

0
Re: Webservice consumer: works on FlexBuilder fails on Tomcat
Avatar
Affirm 1
Level 2
Zee_Yang
Level 2

Likes

0 likes

Total Posts

29 posts

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile
Zee_Yang
- Adobe LiveCycle
the cross-domain file has to be placed on the web serviceserver. you can use blazeds or lcds to proxy your ws calls. thistutorial should help, http://learn.adobe.com/wiki/display/Flex/Creating+a+BlazeDS+web+service+application+in+Flex+Builder

Views

118

Likes

0

Replies

0
Re: need help for http services
Avatar
Affirm 1
Level 2
Zee_Yang
Level 2

Likes

0 likes

Total Posts

29 posts

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile
Zee_Yang
- Adobe LiveCycle
Here is a tutorial on the remote object service. HTH. http://www.flexlive.net/?p=92

Views

141

Likes

0

Replies

1
Re: Missing messageId: FlexBuilder vs mxmlc
Avatar
Affirm 1
Level 2
Zee_Yang
Level 2

Likes

0 likes

Total Posts

29 posts

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile
Zee_Yang
- Adobe LiveCycle
In your flex builder, go to menu "project > clean..."Your project need to be recompiled after you update the LCDSconfig files. Cleaning the project forces a recompile.

Views

128

Likes

0

Replies

1
Re: Can the Data Management Service detect database changes ?
Avatar
Affirm 1
Level 2
Zee_Yang
Level 2

Likes

0 likes

Total Posts

29 posts

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile
Zee_Yang
- Adobe LiveCycle
There's a way for LCDS to monitor a database, but it requirespolling in your server side code. In your custom assembler, spin athread to poll the database with DataServiceTransaction.refreshFillfunction. It's not going to give you realtime update, but it's morescalable then polling from the clients.

Views

93

Likes

0

Replies

0
Re: Returning data from JAVA in XML format
Avatar
Affirm 1
Level 2
Zee_Yang
Level 2

Likes

0 likes

Total Posts

29 posts

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile
Zee_Yang
- Adobe LiveCycle
Java objects of type org.w3c.dom.Document will be serializedto an XML object in actionscript automatically. http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/lcds/help.html?content=serialize_data_2.html#312520

Views

93

Likes

0

Replies

0
Re: <mx:DataService> tag problem
Avatar
Affirm 1
Level 2
Zee_Yang
Level 2

Likes

0 likes

Total Posts

29 posts

Correct Reply

1 solution
Top badges earned
Affirm 1
View profile
Zee_Yang
- Adobe LiveCycle
fully supports Flex 3.First go to your Flex project properties > build path >properties, and make sure the fds.swc and playerfds.swc arecorrectly linked - they should be if you used the project wizardcorrectly. is under package mx.data.mxml.As for LCDS vs BlazeDS, LCDS supports data managementservice. The data management service use a model oriented approach,which is ideal for data driven, collaborative types of apps. It's abit difficult to explain in one sentence since there's nothing likeit o...

Views

150

Likes

0

Replies

1