Re: instanceof validation error on checking value obects from server

Jonathan Thompson <[email protected]>
Newsgroups gmane.comp.java.openamf.user
Message-ID <[email protected]>
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?


Martin Wood wrote:

> hmm, to be honest im stuck from here...
>
> ive only been using openamf a few days now.
>
> what version of astranslator have you got?
>
> i just upgraded mine to 1.5.9 and that solved the problem of being 
> able to use interfaces rather than declaring everything as concrete 
> types.
>
> dont know if that will help?
>
> martin
>
> Jonathan Thompson wrote:
>
>> Martin,
>>
>> Update the openamf-config.xml as so with no luck.
>>
>>    <invoker>
>>        <name>Spring</name>
>>        <class>org.openamf.invoker.SpringBeanInvoker</class>
>>    </invoker>
>>
>> We have successfully used "Java" in other projects here as well.
>>
>> Martin Wood wrote:
>>
>
>
> -------------------------------------------------------
> 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
> _______________________________________________
> Openamf-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/openamf-user
>


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