New to open-amf Service problems
Sigalotti Roberto <[email protected]>
| Newsgroups | gmane.comp.java.openamf.user |
|---|---|
| Message-ID | <[email protected]> |
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