Don't know about any docs or tutorials but something like...

    void axisSerialize(Object report, Writer whereTo) throws IOException {
        SerializationContext ser = new SerializationContext(whereTo);
        ser.setPretty(true);
        ser.setSendDecl(true);
                                                                                
        AttributesImpl ns = new AttributesImpl();
        // add attributes here

        ser.serialize(new QName("elementName"), ns, report, null, 
Boolean.FALSE, Boolean.FALSE);
        whereTo.flush();
    }
                                                                                
... should get you pretty close.  Make sure that you're using the
latest and greatest Axis as there have been a few bugs fixed recently.

Reply via email to