`
demon3780
  • 浏览: 82566 次
  • 性别: Icon_minigender_1
  • 来自: 武汉
社区版块
存档分类
最新评论

WSDL2Java

阅读更多
WSDL2Java生成的文件总结如下:   Client-side Bindings:     Sample: java org.apache.axis.wsdl.WSDL2Java AddressBook.wsdl    WSDL 子句    生成的Java类    为在type区的每个条目    一个Java类    一个Holder类,如果此type被用作inout/out参数    为每个portType    一个Java接口    为每个binding    一个Stub类    为每个service    一个service接口    一个service实现(作为定位器)      Server-side Bindings:   Sample: java org.apache.axis.wsdl.WSDL2Java --server-side AddressBook.wsdl    WSDL 子句    生成的Java类    为每个binding    一个Skeleton类(若—skeletonDeploy设为true时)    一个实现模板类(供用户修改为自己的实现)    为所有的services    一个deploy.wsdd文件    一个undeploy.wsdd文件 WSDL2Java Usage: java org.apache.axis.wsdl.WSDL2Java [options] WSDL-URI Options: -h, --help print this message and exit -v, --verbose print informational messages -n, --noImports only generate code for the immediate WSDL document -O, --timeout <argument> timeout in seconds (default is 45, specify -1 to disable) -D, --Debug print debug information -W, --noWrapped turn off support for "wrapped" document/literal -s, --server-side emit server-side bindings for web service -S, --skeletonDeploy <argument> deploy skeleton (true) or implementation (false) in deploy.wsdd. Default is false. Assumes --server-side. -N, --NStoPkg <argument>=<value> mapping of namespace to package -f, --fileNStoPkg <argument> file of NStoPkg mappings (default NStoPkg.properties) -p, --package <argument> override all namespace to package mappings, use this package name instead -o, --output <argument> output directory for emitted files -d, --deployScope <argument> add scope to deploy.xml: "Application", "Request", "Session" -t, --testCase emit junit testcase class for web service -a, --all generate code for all elements, even unreferenced ones -T, --typeMappingVersion indicate 1.1 or 1.2. The default is 1.1 (SOAP 1.1 JAX-RPC compliant. 1.2 indicates SOAP 1.1 encoded.) -F, --factory <argument> name of a custom class that implements GeneratorFactory interface (for extending Java generation functions) -H, --helperGen emits separate Helper classes for meta data -U, --user <argument> username to access the WSDL-URI -P, --password <argument> password to access the WSDL-URI</argument></argument></argument></argument></argument></argument></argument></value></argument></argument></argument>
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics