Hello All,

I am using axis and adb-generated code for soap-related queries.
I have added a REST service using GET method and all generally works fine but I do not know how to map (or even if this is possible) attributes from xml.

For example If I have something like:

<request>
   <a> xyz </a>
   <b>aaa</b>
</request>


I can do (in the services.xml):

.../request/{a}/{b}

then all works excellent but how to be able to map this:


<request attr="thisisanattribute">
   <a> xyz </a>
   <b>aaa</b>
</request>


?

Is there any kind of xpath support or something which will allow me to address attributes in restful way?

Thanks a lot,
Kuba

Reply via email to