wscompile和wsimport有什么区别? [英] What is the difference between wscompile and wsimport?

查看:80
本文介绍了wscompile和wsimport有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

wscompile和wsimport有什么区别.您能告诉我什么时候进行wscompile吗? 我通常使用wsimport从wsdl获取所有ws工件.我什么时候使用wscompile感到困惑?

What is the difference between wscompile and wsimport. Can you please let me know when to wscompile. I normally use wsimport to get all ws artifacts from wsdl. I am confused when to use wscompile?

推荐答案

wsimport工具可用于WSDL文件,该文件是描述Web服务的XML文档. wsimport工具与WSDL中描述的服务样式(RPC/DOCUMENT)无关. 如果WSDL具有RPC样式,它将生成用于使用RPC样式的Web服务以及类似地用于文档样式的客户端存根.

The tool wsimport works on a WSDL file which is an XML document describing the web service. The tool wsimport does not care to the style of the service (RPC/DOCUMENT) as described in the WSDL. If the WSDL has RPC-style, it will generate the client stubs for consuming RPC-style web services and similarly for document-style.

这篇关于wscompile和wsimport有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆