title: IWAB0014E Unexpected exception occurred while creating web service
body: <p>I'm trying to create a web service, as I am new to web service development I followed the following <a href="http://javapapers.com/web-service/java-web-service-using-eclipse/" rel="nofollow noreferrer">post</a>.
  I am using  Ecplise Helios,Windows 7 32 bit,Tomcat v6.0</p>
  
  <p>There are three steps:
  1.Create Dynamic Web project.
  2. Create Web Service Provider Java Class.
  3.Create a Web Service.</p>
  
  <p>At point 3.create a Web service I am getting two error:</p>
  
  <p>1.Several ports (8080, 8009) required by Tomcat v6.0 Server at localhost are already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s).</p>
  
  <p>This error has been resolved using one of the community post.</p>
  
  <p>2.IWAB0014E Unexpected exception occurred.
       The char '0x0' after 'return code:  400
      Cycle Detected
     <H1>Cycle Detected</H1><HR>
     <B>
      Description: Your request is prohibited because it would cause a cycle.</B>
      <HR>
       
     
     ' is not a valid XML character.</p>
  
  <pre><code>  java.lang.IllegalArgumentException: The char '0x0' after 'return code:  400
    &lt;HEAD&gt;&lt;TITLE&gt;Cycle Detected&lt;/TITLE&gt;&lt;/HEAD&gt;
    &lt;BODY BGCOLOR="white" FGCOLOR="black"&gt;&lt;H1&gt;Cycle Detected&lt;/H1&gt;&lt;HR&gt;
    &lt;FONT FACE="Helvetica,Arial"&gt;&lt;B&gt;
    Description: Your request is prohibited because it would cause a cycle.&lt;/B&gt;&lt;/FONT&gt;
  </code></pre>
  
  <p>This error is some what similar to this <a href="https://stackoverflow.com/questions/18100402/iwab0014e-unexpected-exception-occurred-when-traying-create-webservice-for-given">post</a> but the error code returned is different in my case it is <strong>"400"</strong></p>
  
  <p>Any tips on how to resolve this would be greatly appreciated.</p>