[英]New version of axis2 (OMSourcedElementImpl)
Now I have such code: 现在我有这样的代码:
public org.apache.axiom.om.OMElement getOMElement (
final javax.xml.namespace.QName parentQName,
final org.apache.axiom.om.OMFactory factory) throws org.apache.axis2.databinding.ADBException{
org.apache.axiom.om.OMDataSource dataSource =
new org.apache.axis2.databinding.ADBDataSource(this,parentQName){
public void serialize(javax.xml.stream.XMLStreamWriter xmlWriter) throws javax.xml.stream.XMLStreamException {
WSExceptionType.this.serialize(parentQName,factory,xmlWriter);
}
};
return new org.apache.axiom.om.impl.llom.OMSourcedElementImpl(
parentQName,factory,dataSource);
}
I need to use new version of Axis2 - 1.7.5 in my project. 我需要在项目中使用新版本的Axis2-1.7.5。
That code was generated with an old version of Axis2. 该代码是使用Axis2的旧版本生成的。 You need to regenerate it with Axis2 1.7.5.
您需要使用Axis2 1.7.5重新生成它。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.