WSDL - 肥皂:操作/@soapAction - 需要是唯一的? [英] WSDL - soap:operation/@soapAction - needs to be unique?

查看:30
本文介绍了WSDL - 肥皂:操作/@soapAction - 需要是唯一的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 WSDL1.1 中,每个 binding/operation/soap:operation/@soapAction 在其包含的绑定中都必须是唯一的吗?如果不是,SOAP/WSDL 服务器如何知道要调用哪个匹配"操作?

In WSDL1.1, does each binding/operation/soap:operation/@soapAction have to be unique inside it's containing binding? If not, how does the SOAP/WSDL server know which "matching" operation to invoke?

推荐答案

我很确定 SOAP Action 必须是唯一的,它是请求的一部分(对于 HTTP 传输,它采用 HTTP 标头的形式)唯一标识操作.本质上,SOAP 操作是操作的 URI.

I'm pretty sure the SOAP Action has to be unique, it's the part of the request (for HTTP transports, it's in the form of an HTTP header) which uniquely identifies the operation. Essentially, the SOAP Action is the URI of the operation.

话虽如此,在许多情况下 SOAP 操作标头是多余的,因为 SOAP 负载的类型通常足以唯一标识目标操作.

Having said that, in many cases the SOAP action header is redundant, since the type of the SOAP payload is often enough to uniquely identify the target operation.

这篇关于WSDL - 肥皂:操作/@soapAction - 需要是唯一的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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