axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepal jayasinghe <deep...@gmail.com>
Subject Re: Question regarding exposing an existing java class as webservice.
Date Thu, 03 Jul 2008 04:41:22 GMT
Khan, Meraj wrote:
>
>  
>
>  
>
>  
>
> Hello Axis2 Experts,
>
>  
>
> I am looking into the possibility of using Axis2 to expose existing 
> java classes which are part of a reporting framework as web services 
> for enterprise-wide usage. I would ideally like to use the classes 
> without any modification.
>
>  
>
> The problem that I seem to come across before I seriously consider the 
> using Axis2 is that the existing java classes have collections like 
> Array Lists and Hash Maps as the parameters for the methods.
>
>  
>
> The usage of collections it seems is not encouraged by the Axis2 
> design, can you please suggest any work around or provide me leads, as 
> to how to overcome this limitation , in case of both RPC/enc and 
>  doc/lit model of webservices.
>
Yes Axis2 does not encourage you to use collection classes with your 
POJOs, however one thing you can do is convert those classes into object 
arrays and use, In addition to that we have List support in Axis2 
roadmap , which I have plan to implement very soon.
>
>  
>
> Thanks.
>
>  
>
>  
>


-- 
Thanks,
Deepal
................................................................
http://blogs.deepal.org/


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Mime
View raw message