private marshal0() method. A bit of refactoring
Proper marshalling of primitive @XmlElements
Probably worlds first modern Soap Encoder with MultiRef support.

At least since WS-I booed RPC-Encoded style.

Can JAXB2 do this?:

<?xml version='1.0' encoding='UTF-8'?>
<r:root-wrapper-for-multirefs xmlns:r="urn:test:1">
  <r:root xmlns:r="urn:test" href="#id0"/>
  <mr id="id0">
    <other xmlns="http://context3.bind.ext.ws.springframework.org/"
href="#id0"/>
  </mr>
</r:root-wrapper-for-multirefs>

or this?:

<?xml version='1.0' encoding='UTF-8'?>
<r:root-wrapper-for-multirefs xmlns:r="urn:test:1">
  <r:root xmlns:r="urn:test" href="#id0"/>
  <mr id="id0">
    <c3 xmlns="http://context3.bind.ext.ws.springframework.org/"
href="#id1"/>
  </mr>
  <mr id="id1">
    <c2 xmlns="http://context3.bind.ext.ws.springframework.org/"
href="#id0"/>
  </mr>
</r:root-wrapper-for-multirefs>

I don't think so!