您的位置:程序门 -> web 开发 -> xml/soap



请问关于soap 1.2 relay消息时infoset的处理问题


[收藏此页] [打印本页]选择字色:背景色:字体:[][][]


请问关于soap 1.2 relay消息时infoset的处理问题
发表于:2008-02-24 20:50:05 楼主
remove   all   processed   soap   header   blocks.

remove   all   non-relayable   soap   header   blocks   that   were   targeted   at   the   forwarding   node   but   ignored   during   processing.

retain   all   relayable   soap   header   blocks   that   were   targeted   at   the   forwarding   node   but   ignored   during   processing.

forwarding   soap   intermediaries   must   also   obey   the   specification   for   the   soap   forwarding   features   being   used.   the   specification   for   each   such   a   feature   must   describe   the   required   semantics,   including   the   rules   describing   how   the   forwarded   message   is   constructed.   such   rules   may   describe   placement   of   inserted   or   reinserted   soap   header   blocks.   inserted   soap   header   blocks   might   be   indistinguishable   from   one   or   more   of   the   header   blocks   removed   by   the   intermediary.   processing   is   defined   here   in   terms   of   re-inserting   header   blocks   (rather   than   leaving   them   in   place)   to   emphasize   the   need   to   process   them   at   each   soap   node   along   the   soap   message   path.

2.7.2.1   relayed   infoset
this   section   describes   the   behavior   of   soap   forwarding   intermediaries   with   respect   to   preservation   of   the   xml   infoset   properties   of   a   relayed   soap   message.

unless   overridden   by   the   processing   of   soap   features   at   an   intermediary   (see   2.7.2   soap   forwarding   intermediaries),   the   following   rules   apply:

all   xml   infoset   properties   of   a   message   must   be   preserved,   except   as   specified   in   rules   2   through   22.  

the   element   information   item   for   a   header   block   targeted   at   an   intermediary   may   be   removed,   by   that   intermediary,   from   the   [children]   property   of   the   soap   header   element   information   item   as   detailed   in   2.7.2   soap   forwarding   intermediaries.

element   information   items   for   additional   header   blocks   may   be   added   to   the   [children]   property   of   the   soap   header   element   information   item   as   detailed   in   2.7.2   soap   forwarding   intermediaries.

in   this   case,   a   soap   header   element   information   item   may   be   added,   as   the   first   member   of   the   [children]   property   of   the   soap   envelope   element   information   item,   if   it   is   not   already   present.

white   space   character   information   items   may   be   removed   from   the   [children]   property   of   the   soap   envelope   element   information   item.

white   space   character   information   items   may   be   added   to   the   [children]   property   of   the   soap   envelope   element   information   item.

white   space   character   information   items   may   be   removed   from   the   [children]   property   of   the   soap   header   element   information   item.

white   space   character   information   items   may   be   added   to   the   [children]   property   of   the   soap   header   element   information   item.

comment   information   items   may   be   added   to   the   [children]   property   of   the   soap   envelope   element   information   item.

comment   information   items   may   be   removed   from   the   [children]   property   of   the   soap   envelope   element   information   item.

comment   information   items   may   be   added   to   the   [children]   property   of   the   soap   header   element   information   item.

comment   information   items   may   be   removed   from   the   [children]   property   of   the   soap   header   element   information   item.

attribute   information   items   may   be   added   to   the   [attributes]   property   of   the   soap   envelope   element   information   item.

attribute   information   items   may   be   added   to   the   [attributes]   property   of   the   soap   header   element   information   item.

attribute   information   items   may   be   added   to   the   [namespace   attributes]   property   of   the   soap   envelope   element   information   item.

attribute   information   items   may   be   added   to   the   [namespace   attributes]   property   of   the   soap   header   element   information   item.

soap   role   attribute   information   items   that   are   present   in   the   [attributes]   property   of   soap   header   block   element   information   items   may   be   transformed   as   described   in   5.2.2   soap   role   attribute.

soap   mustunderstand   attribute   information   items   that   are   present   in   the   [attributes]   property   of   soap   header   block   element   information   items   may   be   transformed   as   described   in   5.2.3   soap   mustunderstand   attribute.

soap   relay   attribute   information   items   that   are   present   in   the   [attributes]   property   of   soap   header   block   element   information   items   may   be   transformed   as   described   in   5.2.4   soap   relay   attribute.

the   [base   uri]   property   of   the   document   information   item   need   not   be   maintained.

the   [base   uri]   property   of   element   information   items   may   be   changed   or   removed.

the   [character   encoding   scheme]   property   of   the   document   information   item   may   be   changed   or   removed.

all   namespace   information   items   in   the   [in-scope   namespaces]   of   element   information   items   must   be   preserved.   additional   namespace   information   items   may   be   added.

上面定义了哪些infoset在relay时可以被新消息采用,哪些可以放弃,请问谁知道这些infoset具体在什么情况下被采用/放弃?谁能举个例子


快速检索

最新资讯
热门点击