簡體   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