Thanks, but I am not running 6.1.  What I was attempting to say is that 
the bug from 6.1 is back in Version 7,0,2,142559 (that's the version i am 
running per my first post:-).  I have figured out exactly what causes this 
issue.
        Basically what is happening is that when CF generates a wsdl for a 
cfc, in the background it generates a java class, and uses axis to 
generate the wsdl for that.  This inturns injects a new key to the struct 
returned from getMetadata() called skeleton which contains a java object. 
Per the livedocs duplicate can not be used on java object (among others). 
This was causing me issues cause I was creating remote facades (not using 
aop feature of cs)  which extened my service cfcs.  So once I requested 
the remote cfc via a webservice it generated all the java objects for my 
backend cfcs which put this new skeleton key in the metatadata.  The next 
time that I asked CS to get me the backend cfc, it would throw the error 
cause the metadata now has a java object in it.  My solution for the short 
term is to not have my remote facades extend the backend cfcs. 
        For more detailed information please see my blog post 
http://www.adamcrump.com/blog/index.cfm/2007/8/27/Intresting-issue-with-getMetadata-after-a-cfc-has-been-consumed-as-a-webservice

Thanks Peter for helping out!!!



Best Regards,

Adam Crump
Manager - Web Applications
Web Services - ICS
Amkor Technology





Sent by: [email protected]
"Peter J. Farrell" <[EMAIL PROTECTED]>

08/27/2007 10:12 AM 
Please respond to coldspring-dev


To:
<[email protected]>

cc:


bcc:


Subject:
[coldspring-dev] Array Element Type Mismatch






Adam Crump said the following on 8/27/2007 11:36 AM: 

Hummmm Interesting it appears that the bug in the early version of 6.1 is 
back as this simple example does not work, which has nothing to do with 
CS. 
<cfset foo = createObject("component", "dsn") /> 
<cfset md = getMetaData(foo) /> 
<cfdump var="#md#" /> 
<cfdump var="#duplicate(md)#" /> 

The duplicate(md) generates the error.  I can not access the BER right now 
due to firewall issues, but if the flattenMedataData method works the 
same, I bet I will have the same issue. 
BTW, I looked up the minimum version that ColdSpring requires for 
ColdFusion 6.1.  You must be at the 6,1,0,83762 patch level or higher.  

Here is the best place to get those patches:
http://www.adobe.com/go/b3a939ce

Otherwise, we're coding around bugs in CF that are from 2003...

.pjf

Reply via email to