RE: RE: Returned object null;

"Davies, Grant M." <[email protected]>
Newsgroups gmane.comp.java.openamf.user
Message-ID <BEF55D977D60F94B9768E5C2AA39854613554CF7@gaatlitexch09s.nscorp.ad.nscorp.com>
Check the object is mapped correctly in the open-amf.xml

e.g

<custom-class-mapping>
           
<java-class>com.nscorp.security.authenticationService.util.AuthenticationRes
ponse</java-class>
           
<custom-class>com.nscorp.util.vo.AuthenticationResponse</custom-class>
</custom-class-mapping>

And that you registered your class in actionscript  e.g

Object.registerClass("com.nscorp.util.vo.AuthenticationResponse",
"com.nscorp.util.vo.AuthenticationResponse");

Turn on logging for the openAMF war file, you can see in the log if your
class is being created .

Grant



-------------------------------------------------------
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.