我已遵循本教程http://netbeans.org/kb/docs/websvc/gs-axis.html并成功创建了Web服务。当我运行示例时,我只看到打印的结果,而不是教程中显示的整个xml结构。
第二,当我创建一个指向.wdsl并检查异步选项的客户端时。netbeans之后会创建6个文件!
HelloAxisworldHttpSoap11endpoint
HelloAxisworldHttpsSoap11endpoint
HelloAxisworldHttpSoap12endpoint
HelloAxisworldHttpsSoap12endpoint
HelloAxisworldHttpendpoint
HelloAxisworldHttpsendpoint
我能知道这些文件是什么吗?以及如何使用创建的简单函数?
非常感谢
最佳答案
文件名中包含Soap11的文件支持SOAP 1.1版本,而Soap12则支持SOAP 1.2版本。具有Https的文件表示可以在安全模式下访问Web服务。