Can you look the request you send and the response you received using the tcp mon. and send us?
thanks, Amila. On Tue, Jul 8, 2008 at 2:07 AM, Jake Goulding <[EMAIL PROTECTED]> wrote: > Apologies, but the XML should say: > > <tree xmlns="urn:/vivisimo/types" > > I attached an earlier version, before I cleaned up my namespaces. > > -Jake > > Jake Goulding wrote: > >> Hey all: >> >> I am trying to figure out my other problems, and I ran into this: >> >> org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: >> Unexpected subelement Body >> at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430) >> at vivisimo.ServiceStub.fromOM(ServiceStub.java:2346) >> at vivisimo.ServiceStub.Simple(ServiceStub.java:194) >> at Main.main(Main.java:24) >> Caused by: java.lang.Exception: org.apache.axis2.databinding.ADBException: >> Unexpected subelement Body >> at vivisimo.ServiceStub$Tree$Factory.parse(ServiceStub.java:878) >> at vivisimo.ServiceStub.fromOM(ServiceStub.java:2340) >> ... 2 more >> Caused by: org.apache.axis2.databinding.ADBException: Unexpected >> subelement Body >> at vivisimo.ServiceStub$Tree$Factory.parse(ServiceStub.java:864) >> ... 3 more >> >> I have narrowed down my schema, WSDL, and java file to the attached. >> >> I have 2 nodes, <tree> and <node>. Tree has exactly one <node> child, and >> <node> can have 0-unbounded <node> children. I think the schema is correctly >> specifying this. >> >> However it looks like axis incorrectly exits out of the node, and then >> reports that the *containing* element is an "unexpected subelement". >> >> Boiled down, my example says: >> >> soap:body >> tree >> node >> >> Any help on this would be great. Thanks! >> >> -Jake >> >> >> ------------------------------------------------------------------------ >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Amila Suriarachchi, WSO2 Inc.