java - The type org.apache.axiom.om.impl.llom.OMStAXWrapper is not visible -
i have below code in old version. have upgraded axis2 version 1.1.1 1.6.2. have compile problem indicated below. find in web link: https://issues.apache.org/jira/browse/axis2-4363 not understand it. first of need amend code? if yes, there example me follow?
if (reader.geteventtype() == javax.xml.stream.xmlstreamconstants.start_element && reader.getname().equals(new javax.xml.namespace.qname(org.apache.axiom.om.impl.mtomconstants.xop_namespace_uri, org.apache.axiom.om.impl.mtomconstants.xop_include))) { java.lang.string id = org.apache.axiom.om.util.elementhelper.getcontentid(reader, "utf-8"); object.set_return(((org.apache.axiom.soap.impl.builder.mtomstaxsoapmodelbuilder) ((org.apache.axiom.om.impl.llom.omstaxwrapper) reader).getbuilder()).getdatahandler(id)); <--- highlight type org.apache.axiom.om.impl.llom.omstaxwrapper not visible reader.next(); reader.next(); }
this appears generated code. if upgrade axis2 1.1.1 1.6.2, need regenerate code. note usual best practice applies here: generated code should generated during build, not checked source control system.
Comments
Post a Comment