1

According to this site about SOAP 1.2, multi-reference values may be encoded in-place. How do I get CXF/Jaxb to marshall and unmarshall this kind of content?

Jaxb's IDRef annotation is treated as a string by .NET. It's also an all-or-nothing annotation; meaning it doesn't seem able to be able to mix-and-match a reference with a fully marshalled object like so...

<parent>
    <child id="a" value="123" />
    <child ref="a" />
</parent>

The end goal is to be able to deliver a SOAP payload with inter-object referencing that both .NET and Java can consume out-of-the box.

4

0 に答える 0