[英]IWAB0014E Unexpected exception occurred while creating web service
I'm trying to create a web service, as I am new to web service development I followed the following post . 我正在尝试创建一个Web服务,因为我是Web服务开发的新手,我按照以下帖子进行操作 。 I am using Ecplise Helios,Windows 7 32 bit,Tomcat v6.0
我使用的是Ecplise Helios,Windows 7 32位,Tomcat v6.0
There are three steps: 1.Create Dynamic Web project. 有三个步骤:1。创建动态Web项目。 2. Create Web Service Provider Java Class.
2.创建Web服务提供者Java类。 3.Create a Web Service.
3.创建Web服务。
At point 3.create a Web service I am getting two error: 在点3.创建一个Web服务我收到两个错误:
1.Several ports (8080, 8009) required by Tomcat v6.0 Server at localhost are already in use. 1.本地主机上Tomcat v6.0服务器所需的几个端口(8080,8009)已在使用中。 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).
要启动此服务器,您需要停止其他进程或更改端口号。
This error has been resolved using one of the community post. 使用社区帖子之一解决了此错误。
2.IWAB0014E Unexpected exception occurred. 2.IWAB0014E发生意外异常。 The char '0x0' after 'return code: 400 Cycle Detected
返回代码后的字符'0x0':400 Cycle Detected
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 some what similar to this post but the error code returned is different in my case it is "400" 这个错误是一些类似于这篇文章,但返回的错误代码是不同的,在我的情况下它是“400”
Any tips on how to resolve this would be greatly appreciated. 任何有关如何解决此问题的提示将不胜感激。
This is happening because of improper setup of Axis2. 这是因为Axis2的设置不正确而发生的。
Steps: 脚步:
Follow this link for more details: http://www.eclipse.org/webtools/community/tutorials/BottomUpAxis2WebService/bu_tutorial.html 请点击此链接了解更多详情: http : //www.eclipse.org/webtools/community/tutorials/BottomUpAxis2WebService/bu_tutorial.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.