I am trying to create a web service since I am new to web services development. I followed the next post . I am using Ecplise Helios, Windows 7 32 bit, Tomcat v6.0
There are three steps: 1. Create a dynamic web project. 2. Create a Java class for the web service provider. 3. Create a web service.
At point 3. create a web service I get two errors:
1. Server ports (8080, 8009) required for Tomcat v6.0 The server on the local host is already in use. Perhaps the server is running in a different process, or the system process might use a port. To start this server, you need to stop another process or change the port numbers.
This error was resolved using one of the community posts.
2.IWAB0014E An unexpected exception occurred. Char code '0x0' after 'return: 400 Loop detected
Loop detected
Description: Your request is denied because it will cause a loop.
'is not a valid XML character. java.lang.IllegalArgumentException: The char '0x0' after 'return code: 400
<HEAD><TITLE>Cycle Detected</TITLE></HEAD>
<BODY BGCOLOR="white" FGCOLOR="black"><H1>Cycle Detected</H1><HR>
<FONT FACE="Helvetica,Arial"><B>
Description: Your request is prohibited because it would cause a cycle.</B></FONT>
This error is what looks like this post , but the returned error code is different in my case "400"
Any advice on how to resolve this would be greatly appreciated.
source
share