Ok...first steps...look in your project's propeties and make sure your server
root and url are correct...then check to make sure it's compiling with the
correct remote-service xml file...usually when it cant find it those are the
reasons
Hth
Percy
Sent via BlackBerry by ATT
-Original Message-
From: Fidel Viegas [EMAIL PROTECTED]
Date: Sun, 2 Mar 2008 11:02:01
To:flexcoders@yahoogroups.com
Subject: Re: [flexcoders] RemoteObject + remote connection
Yes,
My problem is in the connection. I am unable to connect to the
destination. I have created a very simple hello world class, with a
method that returns a string, and I still cannot connect to it.
Here is what I did:
1) I created the class file, compiled it and placed it in the
appcontext WEB-INF/classes
2) I edited remoting-config.xml and added a destination that
references the class
3) I created the flex app that connects to the destination
I am unable to connect. I don't know what I am doing wrong, because
the sample apps are working fine.
I hope someone is able to help me with this.
Thanks!
Fidel.
On Sun, Mar 2, 2008 at 10:58 AM, Fidel Viegas fidel.viegas@
mailto:fidel.viegas%40gmail.com gmail.com wrote:
Hi p,
I have tried the samples and they all work fine. I have created a
class of my own that accesses a firebird database. I have created some
classes which I call from some webservices and they all work fine.
Now, I have added the destination to the remoting-config.xml file, and
my Flex app is unable to connect to it, saying that my destination is
unknow. I have checked the samples, and my destination seems ok as
well. I checked the logs, and I haven't seen any errors. If the
problem was with my class files, I should get some exceptions thrown
and I would be able to see those in the log files.
I have tried to configure my Tomcat server with the binary distro of
BlazeDS, but since I was unable to make it work, I installed the
BlazeDS with integrated Tomcat. I have ran all the demos without any
problems, but I am unable to even connect to my destination. Here is
what I added to the remoting-config.xml:
destination id=warehouse
properties
sourcecom.fuxiontechnologies.accounting.dataaccess.WarehouseDAO/source
/properties
/destination
The problem is with the connection, as my Flex App is unable to
connect to it. I even included my classes in the samples webapp to see
if it would work, but still I cannot manage to connect to the
destination.
Do I need to configure my app in some other place?
Thanks in advance,
Fidel.
On Sun, Mar 2, 2008 at 9:46 AM, [p e r c e p t i c o n]
percepticon@ mailto:percepticon%40gmail.com gmail.com wrote:
Fidel...
BlazeDS has samples that you should try first...once you get the remoting
sample to work..you can use this as a model for
configuring your project...if you still have questions you should let us
know more specifics like what server you're using etc...
regards
p
On Sun, Mar 2, 2008 at 12:12 AM, Fidel Viegas fidel.viegas@
mailto:fidel.viegas%40gmail.com gmail.com
wrote:
Hello folks,
How do I use the RemoteObject to connect to a remote location? Do I
need to configure anything on the server? Does anyone have an example?
I am using BlazeDS, and I was looking for some examples, but was
unable to. I tried adding the endpoint, but still it didn't work. So,
I presume there is some server configuration to be done.
Thanks in advance,
Fidel.
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
* Your email settings:
Individual Email | Traditional
* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)
* To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/