You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Andreas Bohnert <ab...@online.de> on 2003/07/09 13:44:39 UTC

complex data type strategy

AXIS IN PRODUCTION MODEHi,

I'm study axis for some days now and I'm still unsure about the strategy I should use to build up my services/clients.
lets say my client asks me for some data which is hierarchic organised:

normally i would like to provide him an operation with a return value of A[], like this:

A1
   B1
   B2
     C1
   /B2
/A1

this works fine (at least with rpc style...)

but sometimes I just want to send him B[]:

B2
  C1
/B2

or just 

C1

do I have to provide operations for each case or is there a way to use one operation for all cases?
I know, I could use axis's message type and pass/parse all elements with more flexability, but i really would like to use the rpc or document style.

thanks for any advice!
andreas