如何使用WSDL [英] How to use WSDL

查看:113
本文介绍了如何使用WSDL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究WSDL应用程序。但实际上我不明白什么是?wsdl参数以及我将如何处理返回的XML。例如:

I'm working on a WSDL application. But actually I didn't understand what makes the "?wsdl" parameter and what will I do with the returned XML. For example:

https://adwords.google.com/api/adwords/cm/v201309/CampaignService?wsdl

此网址返回XML字符串但会是什么我这样做了吗?

This URL returns and XML string but what will I do with this?

我可以使用jaxb(xjc)将模式文件转换为java类,但我不明白如何使用这个WSDL?

I can convert schema files to java classes using jaxb (xjc) but I didn't understand correctly how to use this WSDL?

感谢您的回答。

推荐答案

WSDL(Web服务描述语言)正好以xml形式定义Web服务的契约。它包含webservices的输入和输出参数的详细信息。它在客户端和服务器之间用于定义通信接口。它类似于编程语言中的方法签名。但是因为它用于血浆系统之间,因此使用xml来描述它。

WSDL(Web Services Description Language) is just a contract in the form of xml defining the web services. It contains the details of input and output params of webservices. It is used between client and server to define the interface of communication. It is analogous to a method signature in a programming language. But as it is used between hetrogenous systems so xml is used to describe it.

这篇关于如何使用WSDL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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