本文整理汇总了Java中com.sun.xml.internal.ws.developer.JAXWSProperties.ADDRESSING_MESSAGEID属性的典型用法代码示例。如果您正苦于以下问题:Java JAXWSProperties.ADDRESSING_MESSAGEID属性的具体用法?Java JAXWSProperties.ADDRESSING_MESSAGEID怎么用?Java JAXWSProperties.ADDRESSING_MESSAGEID使用的例子?那么恭喜您, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类com.sun.xml.internal.ws.developer.JAXWSProperties
的用法示例。
在下文中一共展示了JAXWSProperties.ADDRESSING_MESSAGEID属性的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getMessageID
/**
* Gets the <tt>wsa:MessageID</tt> header content as String.
*
* @return
* null if the incoming SOAP message didn't have the header.
*/
// WsaServerTube.REQUEST_MESSAGE_ID is exposed for backward compatibility with 2.1
@Property({JAXWSProperties.ADDRESSING_MESSAGEID,WsaServerTube.REQUEST_MESSAGE_ID})
public String getMessageID() {
if (packet.getMessage() == null) {
return null;
}
return AddressingUtils.getMessageID(packet.getMessage().getHeaders(), addressingVersion,soapVersion);
}
示例2: getMessageID
/**
* Gets the {@code wsa:MessageID} header content as String.
*
* @return
* null if the incoming SOAP message didn't have the header.
*/
// WsaServerTube.REQUEST_MESSAGE_ID is exposed for backward compatibility with 2.1
@Property({JAXWSProperties.ADDRESSING_MESSAGEID,WsaServerTube.REQUEST_MESSAGE_ID})
public String getMessageID() {
if (packet.getMessage() == null) {
return null;
}
return AddressingUtils.getMessageID(packet.getMessage().getHeaders(), addressingVersion,soapVersion);
}
示例3: getMessageID
/**
* Gets the <tt>wsa:MessageID</tt> header content as String.
*
* @return
* null if the incoming SOAP message didn't have the header.
*/
// WsaServerTube.REQUEST_MESSAGE_ID is exposed for backward compatibility with 2.1
@Property({JAXWSProperties.ADDRESSING_MESSAGEID,WsaServerTube.REQUEST_MESSAGE_ID})
public String getMessageID() {
return packet.getMessage().getHeaders().getMessageID(addressingVersion,soapVersion);
}