简体   繁体   English

IWAB0014E创建Web服务时发生意外异常

[英]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

Cycle Detected 检测到循环


Description: Your request is prohibited because it would cause a cycle. 描述:您的请求是被禁止的,因为它会导致循环。
' is not a valid XML character. '不是有效的XML字符。

  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: 脚步:

  1. Download Axis2 : Link--> http://ws.apache.org/axis2/download.cgi 下载Axis2:链接 - > http://ws.apache.org/axis2/download.cgi
  2. Point the Axis2 runtime dir in eclipse : Menu--> Windows--> Preference --> Web Services--> Axis2 Preferences 在eclipse中指向Axis2运行时目录:菜单 - > Windows - >首选项 - > Web服务 - > Axis2首选项

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.

相关问题 IWAB0014E发生意外的异常。 尝试使用apache cxf2.7创建Web服务时 - IWAB0014E Unexpected exception occurred. When trying to create web service using apache cxf2.7 IWAB0014E托盘化给定WSDL的创建Web服务时发生意外的异常:需要代理授权 - IWAB0014E Unexpected exception occurred when traying create webservice for given WSDL:Proxy Authorization Required Eclipse 收到“IWAB0014E 发生意外异常”。 当我尝试创建一个 soap 客户端时 - Eclipse gets "IWAB0014E Unexpected exception occurred." when I'm trying create a soap client IWAB0489E将Web服务部署到Axis运行时时出错 - IWAB0489E Error when deploying Web service to Axis runtime Axis Web Service引发错误:尝试调用服务方法时发生异常 - Axis Web Service throws error: Exception occurred while trying to invoke service method 在EntityManager中创建查询时发生异常 - An exception occurred while creating a query in EntityManager IllegalArgumentException:在 EntityManager 中创建查询时发生异常: - IllegalArgumentException: An exception occurred while creating a query in EntityManager: 运行openmeeting-web时发生异常 - Exception occurred while running openmeeting-web SERE0014:非法的HTML字符-解析控制字符时出现十进制129异常 - SERE0014: Illegal HTML character - decimal 129 exception while parsing control characters Web 服务异常:“在处理请求时容器发生异常或错误 java.lang.Exception: Host is not set” - Web service exception: “ An exception or error occurred in the container during the request processing java.lang.Exception: Host is not set”
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM