You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Clifton B. Sothoron Jr." <Cl...@LogiXML.com> on 2009/03/23 23:47:42 UTC
Complex results through something like SimpleSerializer?
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.SothoronJr@logixml.com <ma...@logixml.com> |
http://www.logixml.com <blocked::blocked::http://www.logixml.com/>
Re: Complex results through something like SimpleSerializer?
Posted by Amila Suriarachchi <am...@gmail.com>.
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 <ne...@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.SothoronJr@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.SothoronJr@logixml.com <ke...@logixml.com> |
>> http://www.logixml.com
>>
>>
>>
>
>
--
Amila Suriarachchi
WSO2 Inc.
blog: http://amilachinthaka.blogspot.com/
Re: Complex results through something like SimpleSerializer?
Posted by Nestor Urquiza <ne...@gmail.com>.
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.SothoronJr@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.SothoronJr@logixml.com <ke...@logixml.com> |
> http://www.logixml.com
>
>
>