title: Codename One - how to add function to existing web service
body: <p>with the CN1 web service wizard, I created a working server project that I run on my local Tomcat installation. in addition, the CN1 project has the webserviceproxy.java class that I use to call the web services. so far so good.</p>
  
  <p>During development, there now is the need to create a new function within the webservice that I did not previously think of. So instead of recreating my whole server using the wizard, I thought I simply add some code into the files that were created.</p>
  
  <p>On the client side:</p>
  
  <p>WebServiceProxy.java - add WebServiceProxyCall.WSDefinition and add the function call in sync and async fashion. the arguments and return type matches the definition.</p>
  
  <p>On the server side:</p>
  
  <p>WebServiceProxyServer.java 
  - add the function definition with the required functionality (this works as I have it debugged it locally on the server side). </p>
  
  <p>CN1WebServiceServlet.java - add definition and add the if statement matching the service name.</p>
  
  <p>when debugging the server and calling the service from the client, it does not reach the breakpoint of the doPost method, so something is terribly off.</p>
  
  <p>What else do I need to change when manually adding a new webservice function? Or is this so complicated that I should better use the web service wizard, create the new server from scratch and copy all the other functionality from my old server to the new one?</p>
  
  <p>Thanks and best regards</p>