Re: instanceof validation error on checking value obects from server
Martin Wood <[email protected]>
| Newsgroups | gmane.comp.java.openamf.user |
|---|---|
| Message-ID | <[email protected]> |
from looking at my AMFMessage details that looks right...
so, maybe its the registerClass in flash, i do mine in the body of the
class definition like this :
class com.gooii.timemaps.LiveBuilder.Project implements ResourceItem
{
private static var __reg =
Object.registerClass("com.gooii.timemaps.LiveBuilder.Project",com.gooii.timemaps.LiveBuilder.Project);
// rest of code....
}
..
astranslator is the code that converts between as objects and java
objects on the server.
if you check your WEB-INF/lib directory you should see an
astranslator-1.X.Y.jar file, where X and Y will be something like 5 and
8 (i think thats what comes with the openamf download)
you can grab 1.5.9 from here :
http://prdownloads.sourceforge.net/carbonfive/astranslator-1.5.9.zip?download
and just replace it in your WEB-INF/lib
thanks
martin
Jonathan Thompson wrote:
> Martin,
>
> Not sure what astranslator is.... also check out our headers:
>
> 2005-07-23 16:57:42,060 DEBUG [org.openamf.REQUEST] - REQUEST:
> [AMFMessage: {version=0, headers={[AMFHeader: {key=amf_server_debug,
> required=true, value=ASObject[type=null,{amfheaders=false,
> httpheaders=false, coldfusion=true, m_debug=true, recordset=true,
> trace=true, amf=false, error=true}]}]}, bodies={[AMFBody:
> {serviceName=AdminPortal, serviceMethodName=getAContentTemplate,
> response=/1, type=ARRAY, value=[]}]}}]
>
> 2005-07-23 16:57:42,497 DEBUG [org.openamf.RESPONSE] - RESPONSE:
> [AMFMessage: {version=0, headers={}, bodies={[AMFBody:
> {serviceName=null, serviceMethodName=null, response=null, type=UNKNOWN,
> value=com.roundbox.oss.om.ContentTemplate@396ed8[id=myId,title=A
> template,lastUpdated=Sat Jul 23 16:57:42 EDT 2005,templateText=some
> text]}]}}]
>
> when we are sending, type=ARRAY ; when we get the response
> serviceName=null, serviceMethodName=null, response=null, type=UNKNOWN
>
> Do you know if those are valid values for those args in a response?
>
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click