have a look at here[1] thanks, Amila.
[1] http://ws.apache.org/axis2/1_4_1/xmlbased-server.html On Tue, Mar 24, 2009 at 5:25 AM, Nestor Urquiza <nestor.urqu...@gmail.com>wrote: > Hi Clifton, > > If you just need the raw XML you can use Axis2 AXIOM as I explain on > http://code.google.com/p/nestorurquiza/wiki/Axis2DynamicBindingTutorial > > Even though I assume in the tutorial you know something about specific > objects you are expecting it is not hard to get the raw XML, in fact you > have it out of the box: > > > 1. If you need just raw XML use the below: > > String rawXML = result.getFirstElement().toString() > > 2. You can always post process/parse the raw XML applying custom rules > making even more dynamic the behavior of your clients. > > Hope it helps, > > -Nestor > > > > > On Mon, Mar 23, 2009 at 6:47 PM, Clifton B. Sothoron Jr. < > clifton.sothoro...@logixml.com> wrote: > >> In either Axis or Axis 2 is there a way to receive a Complex result from >> >> a web service through something like SimpleSerializer? I've been working >> >> with the Axis DynamicInvoker.java to no avail. I can't construct a >> >> custom matching serializer in advance. In my environment I don't know at >> build >> >> time what web service I'm going to be connecting to. I just need the >> >> raw XML returned to an object without any attempt to parse. I have no >> >> way of knowing at build time what the returned XML is going to contain. >> >> >> >> Thanks in advance, >> >> Clifton Sothoron >> >> LogiXML, Development Department >> 7900 Westpark Drive, Suite T107 | McLean, VA 22102 >> (703) 752-9700 Ext. 162 | fax: (703) 773-6903 >> clifton.sothoro...@logixml.com <ke...@logixml.com> | >> http://www.logixml.com >> >> >> > > -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/