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 Wes Devauld <we...@devauld.ca> on 2003/01/22 21:47:18 UTC

Service output not quite as expected

I have a service set up




<service name="Connectivity" provider="java:RPC" use="document"
style="literal">




I have it pointing to a class method that is returning a Bean. But instead
of seeing my top level element in the serialization on the wire I see a
<ConnectivityReturn> and the next element is the first child of the root.






So instead of :


<ConnectivityReturn>


  <Root>


    <Child1>


      <Child2/>


    </Child1>


  </Root>


</ConnectivityReturn>




I get


<ConnectivityReturn>


   <Child1>


     <Child2/>


   </Child1>


<ConnectivityReturn>




Any suggestions?