***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.
Popularity: 14% [?]