Webservice error

Hi all

I am trying to call a webservice as I have done many times before.

It gives the error:
Object of type CodeUnit with id 96006 could not be found

The strange thing is, that this codunit number has nothing to do with the codeunit in which I am trying to execute a function. My codeunit has number 55000 and is the only codeunit exposed as a webservice. Codeunit 96006 does exist though, but has some old functionality and must be deleted at some point. However, this cannot be done now because of some other descisions. The codeunit cannot be compiled either because of a missing automation.

But why is this codeunit even relevant for the webservice call?
(which is codeunit 55000)

Anyone seen this before?