Apache Axis2 - Concept

本文介绍了WebService中的关键概念,包括endpoint、namespace、fullname、inputmessage、outputmessage等,并解释了Porttype、Binding和Target namespace的作用及含义。此外还对比了RPC风格与文档风格WebService的区别。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

endpoint -- the full URL is http://www.ttdev.com/SimpleService

namespace -- just like a Java package, but it is not in a dot format like com.ttdev.foo; it is in the format of a URL.

full name -- is called a "QName (qualified name)"
the full name of the operation will be "concat" in namespace http://ttdev.com/ss.
the name "concat" is called the "local name".

a method call is called an "[b]input message[/b]" and a parameter is called a [b]"part".[/b] The return value is called an [b]"output message"[/b] and may contain multiple parts.


RPC style web service

Document style web service

Port type -- is like a Java class and each operation in it is like a static method. The name of a port type must also be a QName

Binding -- a port type may allow you to access it using different formats. The message format that you have seen is called the "Simple Object Access Protocal (SOAP)" format.

a port type may allow the message to be carried (transported) in an HTTP Post request or in an email. Each supported combination is called a "binding"

SOAP + HTTP is the most common combination.

Port = binding x host + ...

Target namespace -- There is a sigle namespace for a web service to put the names into.


WSDL Web Services Description Language

SEI -- service endpoint interface
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值