Hi,
I am trying out Axis2 with a REST service.
It works well out of the box but the response does not have xlinks to
included entities.
E.g. I have a bean A which has a reference to bean B as a property.
In my response I see the xml representation of bean A with a
representation of bean B as a child.
How can I make Axis2 generate responses where the reference to bean B is
realized as an xlink like in
<?xml version="1.0"?>
<p:Parts xmlns:p="http://www.parts-depot.com"
xmlns:xlink="http://www.w3.org/1999/xlink">
<Part id="00345"
xlink:href="http://www.parts-depot.com/parts/00345"/>
<Part id="00346"
xlink:href="http://www.parts-depot.com/parts/00346"/>
<Part id="00347"
xlink:href="http://www.parts-depot.com/parts/00347"/>
<Part id="00348"
xlink:href="http://www.parts-depot.com/parts/00348"/>
</p:Parts>
And if it is possible to generate such responses does the configuration
affect my SOAP service which is running beside my REST service?
Best regards
Achim
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]