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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

taurivalor
taurivalor
Offline

Badges

Badges
4

Accepted Solutions

Accepted Solutions
0

Likes

Likes
0

Posts

Posts
11

Discussions

Discussions
1

Questions

Questions
10

Ideas

Ideas
0

Blog Posts

Blog Posts
0
Top badges earned by taurivalor
Customize the badges you want to showcase on your profile
Remote Object Problem
Avatar
Give Back 5
Level 2
taurivalor
Level 2

Likes

0 likes

Total Posts

11 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile
taurivalor
- Adobe LiveCycle
Ive been trying to use a remote object to access data from myserver. In my java class I need to use an object of another class.When I try to do that Im not getting any error, but I could not usethe object for the reason unknown to me. Pls help.

Views

509

Likes

0

Replies

2
Re: Flex with JNDI
Avatar
Give Back 5
Level 2
taurivalor
Level 2

Likes

0 likes

Total Posts

11 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile
taurivalor
- Adobe LiveCycle
HiCan I know how I could generate mxml from a java file ?My challenge has been to read xml file using java andgenerating a form in mxml .Please help.Thanks,Tauri

Views

193

Likes

0

Replies

0
Re: Flex with JNDI
Avatar
Give Back 5
Level 2
taurivalor
Level 2

Likes

0 likes

Total Posts

11 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile
taurivalor
- Adobe LiveCycle
Hi JeffreyI have been able to access RemoteObject from mxml.Today I had a problem, when Im trying to call a RemoteObjectwhich retrieves the list of results from LDAP backend.I wrote a java class in which Im using a Pojo to create anobject, the following is the chunk of code in my getAllAttrs()method:valsList.add(new TPojo(attrs.get("cn").toString(), attrs.get("givenName").toString(), attrs.get( "telephoneNumber").toString(),attrs.get( "userPassword").toString(), attrs.get("objectClass").toString...

Views

187

Likes

0

Replies

0
Re: Flex with JNDI
Avatar
Give Back 5
Level 2
taurivalor
Level 2

Likes

0 likes

Total Posts

11 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile
taurivalor
- Adobe LiveCycle
And by the way...I used Flex Test Drive Server to run myapplication...Thanks,Tauri

Views

192

Likes

0

Replies

0
Re: Flex with JNDI
Avatar
Give Back 5
Level 2
taurivalor
Level 2

Likes

0 likes

Total Posts

11 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile
taurivalor
- Adobe LiveCycle
Hi JeffreyI could finally access the RemoteObject, could retrieve thedata from ldap backend.Im now trying to build a form which queries the back end anddisplays the result.I couldnt have done this without your help..Thanks,Tauri.

Views

189

Likes

0

Replies

0
Re: Flex with JNDI
Avatar
Give Back 5
Level 2
taurivalor
Level 2

Likes

0 likes

Total Posts

11 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile
taurivalor
- Adobe LiveCycle
Hi JeffreyIm used Tomcat5.5, but I still had the same error. I triedthe example 'sqladmin' with database running, but I had the sameproblem, It gives the error "Faled to send".Im unable to track the problem. I also used jdk1.5 . I thinkthat my mxml file is not able to locate the java class which Iplaced in web-inf/classes folder. Please let me understand this problem...thx for your patience🙂Thanks,Tauri Valor

Views

192

Likes

0

Replies

0
Re: Flex with JNDI
Avatar
Give Back 5
Level 2
taurivalor
Level 2

Likes

0 likes

Total Posts

11 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile
taurivalor
- Adobe LiveCycle
JeffreyHi again !! Thanks again for your reply..Ive tried changing the "remoting-config.xml" but I hv thesame problem...I think the Java class which I ve declared inremoting-cofng.xml is not being identified.I placed my java class in web-inf/classes folder.I also tried placing the class in the same location where myremoting-config.xml lies.I have the same problem my error handler is being calledevery time I press click button...Please let me know if theres any other problem.(Im using Tomcat4.1.2...

Views

191

Likes

0

Replies

0
Re: Flex with JNDI
Avatar
Give Back 5
Level 2
taurivalor
Level 2

Likes

0 likes

Total Posts

11 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile
taurivalor
- Adobe LiveCycle
Jeffrey,Heres my JavaBean: import javax.naming.Context;import javax.naming.NameNotFoundException;import javax.naming.NamingEnumeration;import javax.naming.directory.Attribute;import javax.naming.directory.InitialDirContext;import javax.naming.directory.DirContext;import javax.naming.directory.Attributes;import javax.naming.directory.SearchControls;import javax.naming.directory.SearchResult;import javax.naming.NamingException;import java.util.Hashtable;import java.util.LinkedList;import java.util...

Views

188

Likes

0

Replies

0
Re: Flex with JNDI
Avatar
Give Back 5
Level 2
taurivalor
Level 2

Likes

0 likes

Total Posts

11 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile
taurivalor
- Adobe LiveCycle
Hi Jeffrey,I have followed the steps that you've explained. Thanks forthe solution. But I have a problem calling the java method in my actionscript.The following is my mxml file: import mx.controls.Alert; import mx.rpc.events.ResultEvent; import mx.rpc.events.FaultEvent; private function gotName(event:ResultEvent):void { Alert.show("Server Message: " + event.result, "Success"); } private function faultHandler(event:FaultEvent):void { Alert.show("Server Message: Error"); } private function getData():void { ro.getName(); //Invoke the call } //todo............ I have declared the Javaclass in remoting-config.xml thefollowing way:/WEB-INF/classes/Test3applicationWhen I click on the button it returns an error message fromfaulthandler..What could be the probable reason ?Thanks,Tauri Valor

Views

189

Likes

0

Replies

0
Re: Flex with JNDI
Avatar
Give Back 5
Level 2
taurivalor
Level 2

Likes

0 likes

Total Posts

11 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile
taurivalor
- Adobe LiveCycle
Hi Jeffrey,Thanks for the reply.As you've said I will try to use RemoteObject to call a Javamethod inside a Java Class (JavaBean), then let the Java method toconnect to LDAP (JNDI).But, I did not understand how the Actionscript calls theJavaBean..Pls help me understand this... 🙂Thanks,Tauri.

Views

194

Likes

0

Replies

0
Flex with JNDI
Avatar
Give Back 5
Level 2
taurivalor
Level 2

Likes

0 likes

Total Posts

11 posts

Correct reply

0 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Ignite 1
View profile
taurivalor
- Adobe LiveCycle
Hi Guys,I am working with Flex2.0. I have gone through thedocumentation, but I couldnt find how I could connect to a backendLDAP source (eg. Sunone, ActiveDirectory..) using ActionScript.Please help me understand how I could make LDAP calls usingActionscript.Thanks,Tauri.

Views

1.5K

Likes

0

Replies

16