Did you ever get a resolution on this issue?
I am having the same problem. I would like to include a file extension and once I do the webservice returns the same error you are describing here.
Here is my code
<OperationContract()> <WebGet(UriTemplate:=
"vi/{filename}?id={id}")> Function GetSomeKmz(ByVal filename As String, ByVal id As String) As System.IO.Stream
If I do not add a file extension it works fine:
http://localhost/Service.svc/vi/myfile?id=123
As soon as I add a file extension it does not work
http://localhost/Service.svc/vi/myfile.kmz?id=123
Any help would be appreciated.
Thanks,
Brian