This is an error in the WSIT code, which should be corrected for the next Metro release.
这是WSIT代码中的错误,在下一个版本的Metro 中应该会得到更正。
On the client side, a file with the (fixed) name of wsit-client.xml is used for the wsit configuration.
在客户端,使用一个名为wsit - client . xml(这个文件名是固定的)的文件来进行wsit配置。
On the server side, the WSIT configuration information needs to be present in the WSDL service definition.
在服务器端,WSIT配置信息需要包含在WSDL服务定义中。
Listing 7 shows the WSIT custom extensions added to the WSDL policy to configure the client-side handling for the example.
清单7展示了向WSDL策略添加的自定义扩展,用于针对本示例配置客户端处理方式。
This WSDL is optional if you're not using WSIT features, in which case a WSDL will be generated automatically at run time.
如果不使用WSIT特性,则WSDL是可选的;在这种情况下,WSDL将在运行时自动生成。
The certificates used in the Axis2/Rampart example were of a form that did not support SKI, so they won't work with Metro/WSIT by default.
Axis2/Rampart示例中使用的证书的形式并不支持SKI,所以它们默认不能用于Metro/WSIT。
Listing 2 shows the policy section of the Listing 1 WSDL, with a WSIT custom extension added to configure the client-side UsernameToken support.
清单2展示了清单1WSDL中的策略部分,通过添加一个WSIT自定义扩展来配置客户端usernametoken支持。
On the client side, this can be confusing, because the WSDL used for the WSIT configuration is separate from the WSDL used to define the service for JAX-WS.
在客户端,这可能难以理解一些,因为用于WSIT配置的WSDL与用于定义JAX - WS服务的WSDL是分开的。
As with the UsernameToken example, WSIT needs custom extensions to the policy information on both client and server sides to provide additional configuration details.
与usernametoken示例一样,WSIT需要客户端与服务器上存在针对策略信息的自定义扩展,以便提供详细的附加配置信息。
The custom extensions used to configure WSIT user information look the same on the client and server sides but differ in the XML namespace used for the extension elements.
这些用于配置WSIT用户信息的自定义扩展在服务器端和客户端看起来一样,但是在用于扩展元素的XML名称空间中不同。
You also need to add WSIT custom extensions to the policy information on both client and server sides with user-configuration details to indicate how the security handling will be implemented.
您需要同时在服务器端和客户端向策略信息中添加WSDL自定义扩展,通过用户配置细节表明如何实现安全处理。
The server-side WSIT extension in Listing 4 takes the form of a <wsss:ValidatorConfiguration> element and child <wsss:Validator> element, specifying the class to be used as a validator callback.
清单4 中的服务器端WSIT扩展以 <wsss:ValidatorConfiguration>元素和
The server-side WSIT extension in Listing 4 takes the form of a <wsss:ValidatorConfiguration> element and child <wsss:Validator> element, specifying the class to be used as a validator callback.
清单4 中的服务器端WSIT扩展以 <wsss:ValidatorConfiguration>元素和
应用推荐