You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "Kramer, Joshua" <Jo...@safelite.com> on 2009/01/16 21:38:26 UTC

To Bool or Not To Bool: org.apache.axis2.databinding.ADBBean.serialize

Howdy Folks,

I'm trying to implement an interface to org.apache.axis2.databinding.ADBBean.  I note that the javadocs do not specify a 'boolean' variable as the last parameter to serialize.  However, during compilation, I get this:

    [javac] C:\utility\WBI\WBI\axisELSTest\src\com\myco\www\CoverageWebServiceStub.java:902: com.myco.www.CoverageWebServiceStub.ProcessCoverageResponse is not abstract and does not override abstract method serialize(javax.xml.namespace.QName,org.apache.axiom.om.OMFactory,org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter,boolean) in org.apache.axis2.databinding.ADBBean
    [javac]     public static class ProcessCoverageResponse implements org.apache.axis2.databinding.ADBBean {

Where is the build process picking up a version of serialize that has a Boolean as the last parameter?  I'm using the 1.4.1 version of Axis.

The method header is as follows:

public void serialize(final javax.xml.namespace.QName parentQName,
            final org.apache.axiom.om.OMFactory factory,
            org.apache.axis2.databinding.utils.writer.MTOMAwareXMLStreamWriter xmlWriter)
            throws javax.xml.stream.XMLStreamException,
                org.apache.axis2.databinding.ADBException {

Thanks!
-Josh

***********************************************************************
This message, including any attachments, may contain confidential
information intended for a specific individual and purpose, and may be
protected by law. If you are not the intended recipient, please notify
the sender by e-mail or telephone immediately, and then immediately
delete this message. Any disclosure, copying or distribution of this
message, or the taking of any action based on it, by any unintended
recipient is strictly prohibited.