# Exception when registerWebService

**URL:** <https://forum.servoy.com/t/exception-when-registerwebservice/13159>\
**Category:** Classic Servoy\
**Created:** [November 7, 2010, 4:42pm UTC](https://forum.servoy.com/t/exception-when-registerwebservice/13159 "2010-11-07T16:42:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![felix.willnecker](https://avatars.discourse-cdn.com/v4/letter/f/7ba0ec/32.png) [@felix.willnecker](https://forum.servoy.com/u/felix.willnecker)\
**Post date:** [November 7, 2010, 4:42pm UTC](https://forum.servoy.com/t/exception-when-registerwebservice/13159/1 "2010-11-07T16:42:16Z")

</div>

Hey,

I discovered some strange behavior in my Servoy Plugin. I register some HttpServlets as Webservices. When the last one is registered with this code:

```auto
app.registerWebService("ExportServlet", new ExportServlet());

```

Servoy throws an exception:  
Error occured loading server plugin plugins.ServoyWebService.Plugin.WebServiceServerService

```auto
java.lang.NoClassDefFoundError: com/servoy/j2db/persistence/Ztb 
       at plugins.ServoyWebService.Plugin.iBizWebServiceServerService.initialize(WebServiceServerService.java:235)

```

I do not use the obfuscated class Ztb in any of my Servlets or classes, it is not part of my project. Could not figure out, why this exception occurs. Has anybody seen this in one of his projects?

---

<div class="post-metadata">

**Author:** ![felix.willnecker](https://avatars.discourse-cdn.com/v4/letter/f/7ba0ec/32.png) [@felix.willnecker](https://forum.servoy.com/u/felix.willnecker)\
**Post date:** [November 7, 2010, 6:10pm UTC](https://forum.servoy.com/t/exception-when-registerwebservice/13159/2 "2010-11-07T18:10:23Z")

</div>

Figured it out, it was the IClientInformation class, which is no longer part of the public API. Are there any substituions?

---

<div class="post-metadata">

**Author:** ![rgansevles](https://avatars.discourse-cdn.com/v4/letter/r/3d9bf3/32.png) [@rgansevles](https://forum.servoy.com/u/rgansevles)\
**Post date:** [November 8, 2010, 10:50am UTC](https://forum.servoy.com/t/exception-when-registerwebservice/13159/3 "2010-11-08T10:50:58Z")

</div>

Felix,

IClientInformation is still part of the public api, it is declared as: com.servoy.j2db.server.shared.IClientInformation

There is another IClientInformation class that is deprecated/obfuscated.

Rob

---

<div class="post-metadata">

**Author:** ![felix.willnecker](https://avatars.discourse-cdn.com/v4/letter/f/7ba0ec/32.png) [@felix.willnecker](https://forum.servoy.com/u/felix.willnecker)\
**Post date:** [November 8, 2010, 7:55pm UTC](https://forum.servoy.com/t/exception-when-registerwebservice/13159/4 "2010-11-08T19:55:44Z")

</div>

Hey Rob,

thanks. I’d use this Interface then.
