有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!

javawsdl+svutil

我需要用java解析pcakage导入。。但是包裹不存在。。后来我发现我必须使用一些wsdl文件来生成打包。。我有一个wsdl文件的链接。。如何使用svcutil生成该打包/解析导入的打包

D:\Profiles\pdk473\Desktop>svcutil  /t:metadata http://service/metadataEndpoint

SvcUtil V02.04.00cpp  Joe Richards (joe@joeware.net) June 2005

Usage:
 SvcUtil [machine\]service [action]

   machine         Machine to process services on
   service         Key/Display Name of service to view/manipulate
                   . for list of available services
   action          Action to perform
        STOP       Stop Service
        START      Start Service
        PAUSE      Pause Service
        RESUME     Resume Service
        VIEW       View Service
        VIEWX      Extended View Service


 This software is Freeware. Use it as you wish at your own risk.
 If you have improvement ideas, bugs, or just wish to say Hi, I
 receive email 24x7 and read it in a semi-regular timeframe.
 You can usually find me at joe@joeware.net

共 (2) 个答案

  1. # 1 楼答案

    svcutil无法生成java代码。只能创建C++、C++和VB代码。p>

  2. # 2 楼答案

    您确定Microsoft的svcutil正在生成Java代码吗?根据我所说的,它将生成一些C++代码,这将没有多大帮助。p>

    过去,当我需要从WSDL生成Java存根时,我使用了Axis框架的wsdl2java。使用方法简单明了,并在链接文档中进行了说明