本文整理了Java中org.apache.axis.MessageContext.getPossibleOperationsByQName()
方法的一些代码示例,展示了MessageContext.getPossibleOperationsByQName()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。MessageContext.getPossibleOperationsByQName()
方法的具体详情如下:
包路径:org.apache.axis.MessageContext
类名称:MessageContext
方法名:getPossibleOperationsByQName
[英]Returns a list of operation descriptors that could may possibly match a body containing an element of the given QName. For non-DOCUMENT, the list of operation descriptors that match the name is returned. For DOCUMENT, all the operations that have qname as a parameter are returned
[中]返回可能与包含给定QName元素的正文匹配的操作描述符列表。对于非文档,将返回与名称匹配的操作描述符列表。对于DOCUMENT,将返回所有以qname作为参数的操作
代码示例来源:origin: axis/axis
/**
* get the first possible operation that could match a
* body containing an element of the given QName. Sets the currentOperation
* field in the process; if that field is already set then its value
* is returned instead
* @param qname name of the message body
* @return an operation or null
* @throws AxisFault
*/
public OperationDesc getOperationByQName(QName qname) throws AxisFault
{
if (currentOperation == null) {
OperationDesc [] possibleOperations = getPossibleOperationsByQName(qname);
if (possibleOperations != null && possibleOperations.length > 0) {
currentOperation = possibleOperations[0];
}
}
return currentOperation;
}
代码示例来源:origin: org.apache.axis/axis
/**
* get the first possible operation that could match a
* body containing an element of the given QName. Sets the currentOperation
* field in the process; if that field is already set then its value
* is returned instead
* @param qname name of the message body
* @return an operation or null
* @throws AxisFault
*/
public OperationDesc getOperationByQName(QName qname) throws AxisFault
{
if (currentOperation == null) {
OperationDesc [] possibleOperations = getPossibleOperationsByQName(qname);
if (possibleOperations != null && possibleOperations.length > 0) {
currentOperation = possibleOperations[0];
}
}
return currentOperation;
}
代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis
/**
* get the first possible operation that could match a
* body containing an element of the given QName. Sets the currentOperation
* field in the process; if that field is already set then its value
* is returned instead
* @param qname name of the message body
* @return an operation or null
* @throws AxisFault
*/
public OperationDesc getOperationByQName(QName qname) throws AxisFault
{
if (currentOperation == null) {
OperationDesc [] possibleOperations = getPossibleOperationsByQName(qname);
if (possibleOperations != null && possibleOperations.length > 0) {
currentOperation = possibleOperations[0];
}
}
return currentOperation;
}
代码示例来源:origin: axis/axis
public void updateOperationsByQName() throws AxisFault
{
if (context == null) {
return;
}
MessageContext msgContext = context.getMessageContext();
if (msgContext == null) {
return;
}
this.operations = msgContext.getPossibleOperationsByQName(getQName());
}
代码示例来源:origin: org.apache.axis/axis
public void updateOperationsByQName() throws AxisFault
{
if (context == null) {
return;
}
MessageContext msgContext = context.getMessageContext();
if (msgContext == null) {
return;
}
this.operations = msgContext.getPossibleOperationsByQName(getQName());
}
代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis
public void updateOperationsByQName() throws AxisFault
{
if (context == null) {
return;
}
MessageContext msgContext = context.getMessageContext();
if (msgContext == null) {
return;
}
this.operations = msgContext.getPossibleOperationsByQName(getQName());
}
代码示例来源:origin: axis/axis
try {
if(msgContext != null) {
operations = msgContext.getPossibleOperationsByQName(qname);
代码示例来源:origin: org.apache.axis/axis
try {
if(msgContext != null) {
operations = msgContext.getPossibleOperationsByQName(qname);
代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis
try {
if(msgContext != null) {
operations = msgContext.getPossibleOperationsByQName(qname);
内容来源于网络,如有侵权,请联系作者删除!