RE: New to open-amf Service problems

"Reza Heidari" <[email protected]>
Newsgroups gmane.comp.java.openamf.user
Message-ID <666C64F94C1AB9419EA787F42348623501EB3A41@cliffclavin.BEDOMAIN.BEAP.COM>
In your actionscript are you asking the server for it.logicweb.Login or
Login?  From your openamf-config.xml it looks as though you have setup a
logical name of Login for it.logicweb.Login.

- Reza

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Sigalotti
Roberto
Sent: Thursday, August 25, 2005 6:06 AM
To: [email protected]
Subject: [Openamf-user] New to open-amf Service problems

Hy all, I'm very new to open-amf (just download versio RC11) so i think 
the the solution to my problem is very simple :)

I have an application that do a simple user login but when i click on 
the flash button and call the java-service for the login procedures i've

got this error:

	"No service for 'it.logicweb.Login'"

I have put my service in openamf-config.xml in my app path like this:

   <custom-class-mapping>
     <java-class>it.logicweb.Login</java-class>
     <custom-class>Login</custom-class>
   </custonm-class-mapping>

because I use the DefaultGateway.

If I switch to AdvancedGateway (using gateway2) I've got:

	Could not find service configuration for 'it.logicweb.Login'"

and the code in openamf-config.xml is:

   <service>
     <name>Login</name>
     <service-location>it.logicweb.Login</service-location>
     <invoker-ref>Java</invoker-ref>
     <method>
       <name>checkLogin</name>
       <parameter>
         <type>*</type>
       </paramter>
     </method>
   </service>

That's all :)

Thanks for you answer and sorry for my bad english.

bye
-- 
LOGICWEB s.r.l.
Soluzioni Internet Dinamiche

Sigalotti Roberto
Php & Java Developer

e-mail: [email protected]
tel:	+39 0438 454090
web:	http://www.logicweb.it


---------
Confidentiality Notice: This e-mail transmission may contain 
confidential or legally privileged information that is intended only for

the individual or entity named in the e-mail address. If you are not the

intended recipient, you are hereby notified that any disclosure, 
copying, distribution, or reliance upon the contents of this e-mail is 
strictly prohibited. If you have received this e-mail transmission by 
mistake, please reply to the sender, so that we can arrange for proper 
delivery. Thank you.


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle
Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing &
QA
Security * Process Improvement & Measurement *
http://www.sqe.com/bsce5sf
_______________________________________________
Openamf-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openamf-user


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.