本文整理了Java中org.apache.axis.MessageContext.getEncodingStyle()
方法的一些代码示例,展示了MessageContext.getEncodingStyle()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。MessageContext.getEncodingStyle()
方法的具体详情如下:
包路径:org.apache.axis.MessageContext
类名称:MessageContext
方法名:getEncodingStyle
[英]Returns the encoding style as a URI that should be used for the SOAP message.
[中]将编码样式作为应用于SOAP消息的URI返回。
代码示例来源:origin: axis/axis
/**
* Returns the encoding style as a URI that should be used for the SOAP
* message.
*
* @return String URI of the encoding style to use
*/
public String getEncodingStyle() {
return msgContext.getEncodingStyle();
}
代码示例来源:origin: org.apache.axis/axis
/**
* Returns the encoding style as a URI that should be used for the SOAP
* message.
*
* @return String URI of the encoding style to use
*/
public String getEncodingStyle() {
return msgContext.getEncodingStyle();
}
代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis
/**
* Returns the encoding style as a URI that should be used for the SOAP
* message.
*
* @return String URI of the encoding style to use
*/
public String getEncodingStyle() {
return msgContext.getEncodingStyle();
}
代码示例来源:origin: org.apache.axis/axis
/**
* Returns this context's encoding style. If we've got a message
* context then we'll get the style from that; otherwise we'll
* return a default.
*
* @return a <code>String</code> value
*/
public String getEncodingStyle() {
return msgContext == null ? Use.DEFAULT.getEncoding() : msgContext.getEncodingStyle();
}
代码示例来源:origin: axis/axis
/**
* Returns this context's encoding style. If we've got a message
* context then we'll get the style from that; otherwise we'll
* return a default.
*
* @return a <code>String</code> value
*/
public String getEncodingStyle()
{
return msgContext == null ?
Use.ENCODED.getEncoding() : msgContext.getEncodingStyle();
}
代码示例来源:origin: axis/axis
/**
* Returns this context's encoding style. If we've got a message
* context then we'll get the style from that; otherwise we'll
* return a default.
*
* @return a <code>String</code> value
*/
public String getEncodingStyle() {
return msgContext == null ? Use.DEFAULT.getEncoding() : msgContext.getEncodingStyle();
}
代码示例来源:origin: org.apache.axis/axis
/**
* Returns this context's encoding style. If we've got a message
* context then we'll get the style from that; otherwise we'll
* return a default.
*
* @return a <code>String</code> value
*/
public String getEncodingStyle()
{
return msgContext == null ?
Use.ENCODED.getEncoding() : msgContext.getEncodingStyle();
}
代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis
/**
* Returns this context's encoding style. If we've got a message
* context then we'll get the style from that; otherwise we'll
* return a default.
*
* @return a <code>String</code> value
*/
public String getEncodingStyle() {
return msgContext == null ? Use.DEFAULT.getEncoding() : msgContext.getEncodingStyle();
}
代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis
/**
* Returns this context's encoding style. If we've got a message
* context then we'll get the style from that; otherwise we'll
* return a default.
*
* @return a <code>String</code> value
*/
public String getEncodingStyle()
{
return msgContext == null ?
Use.ENCODED.getEncoding() : msgContext.getEncodingStyle();
}
代码示例来源:origin: axis/axis
String encodingURI = context.getMessageContext().getEncodingStyle();
String encodingPrefix = context.getPrefixForURI(encodingURI);
String soapPrefix = context.getPrefixForURI(Constants.SOAP_MAP.getNamespaceURI());
代码示例来源:origin: org.apache.axis/axis
String encodingURI = context.getMessageContext().getEncodingStyle();
String encodingPrefix = context.getPrefixForURI(encodingURI);
String soapPrefix = context.getPrefixForURI(Constants.SOAP_MAP.getNamespaceURI());
代码示例来源:origin: axis/axis
/**
* Get the TypeMapping we're using.
* @return TypeMapping or null
*/
public TypeMapping getTypeMapping()
{
// Always allow the default mappings
if (msgContext == null)
return DefaultTypeMappingImpl.getSingletonDelegate();
String encodingStyle = msgContext.getEncodingStyle();
if (encodingStyle == null)
encodingStyle = soapConstants.getEncodingURI();
return (TypeMapping) msgContext.
getTypeMappingRegistry().getTypeMapping(encodingStyle);
}
代码示例来源:origin: org.apache.axis/axis
/**
* Get the TypeMapping we're using.
* @return TypeMapping or null
*/
public TypeMapping getTypeMapping()
{
// Always allow the default mappings
if (msgContext == null)
return DefaultTypeMappingImpl.getSingletonDelegate();
String encodingStyle = msgContext.getEncodingStyle();
if (encodingStyle == null)
encodingStyle = soapConstants.getEncodingURI();
return (TypeMapping) msgContext.
getTypeMappingRegistry().getTypeMapping(encodingStyle);
}
代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis
/**
* Get the TypeMapping we're using.
* @return TypeMapping or null
*/
public TypeMapping getTypeMapping()
{
// Always allow the default mappings
if (msgContext == null)
return DefaultTypeMappingImpl.getSingletonDelegate();
String encodingStyle = msgContext.getEncodingStyle();
if (encodingStyle == null)
encodingStyle = soapConstants.getEncodingURI();
return (TypeMapping) msgContext.
getTypeMappingRegistry().getTypeMapping(encodingStyle);
}
代码示例来源:origin: axis/axis
return getEncodingStyle();
代码示例来源:origin: org.apache.axis/axis
return getEncodingStyle();
代码示例来源:origin: org.apache.axis/com.springsource.org.apache.axis
return getEncodingStyle();
代码示例来源:origin: com.google.api-ads/adwords-axis
typeMappingRegistry.getOrMakeTypeMapping(messageContext.getEncodingStyle());
registerTypeMappings(registryTypeMapping, serviceTypeMappings);
代码示例来源:origin: googleads/googleads-java-lib
typeMappingRegistry.getOrMakeTypeMapping(messageContext.getEncodingStyle());
registerTypeMappings(registryTypeMapping, serviceTypeMappings);
代码示例来源:origin: axis/axis
resBody.setPrefix(body.getPrefix());
resBody.setNamespaceURI(body.getNamespaceURI());
resBody.setEncodingStyle(msgContext.getEncodingStyle());
try {
内容来源于网络,如有侵权,请联系作者删除!