0

在尝试使用 WTP 向导在 IBM RSA 中创建 Web 服务客户端时遇到错误,我需要帮助。错误说:

IWAB0639E Error in generating Java files and deployment descriptors from WSDL file
  WSWS3204E: Error: {http:// [...] .com/ChannelSvcs/BranchMgmt/Schema/V1}OrganizationUnitCodeType already exists.

在网上找不到任何解决方案的提示,只有这个:

http://www-01.ibm.com/support/docview.wss?uid=swg1PK40815

但是这个页面也说:

This updated WSDL2Java will be included in Rational Application Developer v6.0.1.2.

但是我们的环境是:IBM RSA Version: 7.5.5.5 iFix001

构建 ID:RSA4WSO7555iFix-I20121203_0630

作为本地修复,该站点建议: Modify the existing wsdl structure so as not to include the same xsd file more than one time.

但在这一点上,我不喜欢本地修复,除非没有永久修复。

4

1 回答 1

0

Ok, I talked to the guy who published the web service and he told me to use the wsdl file in the documentation, not the wsdl file on the server (via URL).

so I did that and it worked.

Looks like the server sends all .xsd files and the .wsdl file mixing it into one response file.

Still, IMHO wsdl2java should still be able to process such files.

于 2013-12-27T13:03:38.840 回答