Finally, a “code” post

***UPDATE*** 5/20/2009 – Real Fix

I encountered this issue again and despite creating a duplicate (and changing the display name to match the file name), it didn’t resolve the issue. But this time I was fortunate to find the solution online after wasting another 3 or 4 hours. It just requires making sure the display name is different from the file name.

Thanks to Raih.com – http://raih.com/index.php?option=com_content&task=view&id=33&Itemid=26


Today, some perfectly working coldfusion code started acting up and I got the following error

"Duplicate file name.....
... Hint: you may have mapped two namespaces with elements of the same name to the same package name. It is recommended that you use a web browser to retrieve and examine the requested WSDL document for correctness. If the requested WSDL document can't be retrieved or it is dynamically generated, it is likely that the target web service has programming errors. "

I found very few others who had run into the same issue and despite clearing the cache and clearing the webservice, the error persisted. It was also listed in House Of Fusion and a few other forums but noone offered a solution.
I wasn’t able to find the cause of the problem but I did find a solution. I just created a duplicate file and renamed it and called that for the webservice and voilá, it worked.
So, hopefully this will benefit some Googler and save you some time if you aren’t able to figure out the problem.

Aside from that, I came across a really beneficial Javascript tutorial at Mozilla. Don’t get me wrong, after years of programming involving javascript and other javascript libraries, most of it was known but the part that I liked was the examples explaining how “prototypes” work. I have read other tutorials on “prototype” but none of them really stuck in my head like this one (or perhaps, I have read so many tutorials that this time it was bound to be stuck in my head). Regardless, it explains the concept of prototypes and how functionality can be added during run-time very well and in small explanatory steps. As the article title states, it is a good “re-introduction” for any javascript developer unless you are in the likes of John Resig, the creator of my all-time favorite Javascript library – JQuery.

Popularity: 14% [?]