繁体   English   中英

Generating legacy WSDL C++ MFC .NET 2.0 from Java 8 WSDL

[英]Generating legacy WSDL C++ MFC .NET 2.0 from Java 8 WSDL

最近,我们的Java产品从Java 1.6_45迁移到Java 1.8_202。 该产品基于 web 方法和 wsdl 生成,现在由以下库 (v. 2.3.2) 在 ant 构建阶段完成:

  • jaxws-rt
  • jaxws 工具
  • 政策
  • 流缓冲区
  • jaxb-xjc
  • jaxb-jxc
  • jaxb-impl
  • jaxb-osgi

Now, I need to convert a pair of all these WSDL in a format valid for legacy .NET 2.0, as there are some components developed in C++ which run under IIS and which are integrated with our product. 这些遗留组件是使用带有 .NET 框架 2.0 和 ASP-NET 2.0 的 Vsiual Studio 2005 开发的。 以前,这是通过使用 JBoss 5.1.0 并将我们产品的 jar 复制到 /bin 目录中来完成的。 然后,启动了这个命令:

jboss-5.1.0.GA\bin>wsprovide -o wsdl -c product.jar -w java_classpath_to_web_service

But now, both Jboss 5 and Jboss 7 cannot work with Java 8 built jars, so is there a way to get these old format WSDL? 也许一些特殊的参数要传递给 wsprovide 可执行文件。 本质上,它们没有.schema 文件,这些文件包含在 WSDL 本身和一些其他特性中。 “问题”是关于 Visual Studio 2005,它希望 WSDL 采用特定的旧格式,否则无法导入它们。

There is a maven plugin that you can use during build to produce your wsdl, or once the app is deployed, just add?wsdl onto the url for your webservice to download

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM