为CICS服务提供商处理SOAP标头

huangapple go评论67阅读模式
英文:

soap header processing for cics service provider

问题

我理解SOAP头部是可选的。如果在我的管道配置文件中没有指定任何SOAP头部处理程序,但入站SOAP消息有头部,那么会有什么影响,有人可以帮助我理解吗?

英文:

I understand that SOAP headers are optional.
Can anyone please help me understand, what will be the implications if in my pipeline config file , I do not specify any soap header processing program but inbound soap message has header.

答案1

得分: 1

有一些SOAP头,如果您启用了相应的配置,CICS将为您处理。例如,CICS支持一些WS-Security规范,规定安全信息(身份、签名、加密)必须在SOAP头中传递。

然而,对于其他SOAP头,包括可能是特定于站点或特定于应用程序的头部,CICS的行为取决于SOAP头是否包含mustUnderstand="true"属性(或对于SOAP 1.1,mustUnderstand="1")。如果头部不包含mustUnderstand属性,就会被假定为"false"或"0",这取决于SOAP的级别。

如果mustUnderstand被指定为false/0或未包含该属性,那么处理头部是完全可选的。当mustUnderstand被指定为true/1并且您的管道不包括头部处理程序时,我相当确定CICS会向客户端抛出一个SOAP错误作为响应。

英文:

There are certain SOAP headers which CICS will process for you if you have a corresponding configuration activated. For example, CICS supports a number of WS-Security specifications which dictate security information (identity, signitures, encryption) be passed in SOAP headers.

However, for other SOAP headers -- including those which might be site-specific or unique to an application -- the behavior in CICS depends on whether the SOAP header contains a mustUnderstand="true" attribute (or mustUnderstand="1" for SOAP 1.1). If a header does not contain a mustUnderstand attribute, it is assumed to be "false" or "0", depending on the SOAP level.

If mustUnderstand is specified as false/0 or the attribute is not included, then processing the header is entirely optional. When mustUnderstand is specified as true/1 and your pipeline does not include a header processing program for the header, I'm pretty sure that CICS will throw a SOAP fault as a response to the client.

huangapple
  • 本文由 发表于 2023年7月7日 06:02:41
  • 转载请务必保留本文链接:https://go.coder-hub.com/76632773.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定