axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Fremantle" <>
Subject Re: Axis2: REST response without xlinks
Date Fri, 11 May 2007 08:21:01 GMT

Its better to think of the Axis2 support as POX (Plain Old XML) than
REST. The services inside Axis2 don't currently have any concept of
"entities" or resources, so the only way to do this would be to write
your own service from XML up. You would need to use either the -d none
databinding option or the RawXMLMessageReceiver to handle your own XML

Yes it would change the SOAP version too.

There is quite a lot of thought going on in Axis2 about how to handle
REST and map resources into Axis2 more widely. Can I suggest - since
you obviously have some interesting ideas in this space - that you
join axis-dev and kick off a thread there?

There's also a thread over at about defining a model for
mapping SQL data stores into services which you might be interested in


On 5/11/07, Achim Abeling <> wrote:
> 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=""
>           xmlns:xlink="">
>        <Part id="00345"
> xlink:href=""/>
>        <Part id="00346"
> xlink:href=""/>
>        <Part id="00347"
> xlink:href=""/>
>        <Part id="00348"
> xlink:href=""/>
> </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:
> For additional commands, e-mail:

Paul Fremantle
VP/Technology, WSO2 and OASIS WS-RX TC Co-chair

"Oxygenating the Web Service Platform",

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message