Versions prior to axis2 1.7 (currently we use 1.6.1) can't have return
types of collections other than arrays.

On Fri, Jan 9, 2015 at 5:03 PM, Sithumini Senevirathne <[email protected]>
wrote:

> Hi All,
>
>
> Currently I am working on G-Reg new feature [1] Ability to display
> difference of two resources of same type. There I created,
>
> • Server component (back-end) OSGI bundle,
>
> • Communication stub OSGI bundle,
>
> • UI component OSGI bundle.
>
>
> In-order to create the stub I got the WSDL exposed from the service.
>
> For that,
> I changed the parameter <HideAdminServiceWSDLs> in
> <GREG_HOME>/repository/conf/carbon.xml  from true to false.
> Then build the Server component and copy the jar inside the target folder
> and put it into the <GREG_HOME>/repository/components/dropins/ folder in
> the G-Reg server instance.
> Then start the server, got the WSDL as
> https://192.168.1.2:9443/services/WSDLToolService?wsdl and put it inside
> the src/main/resources folder in stub OSGI bundle.
> Then build the stub and create the UI component.
>
>
> Server component OSGI bundle ServiceClass method returns a Map but always
> stub generates the method with a wrong return type. Here I got the method
> returning String array. I changed the service method return type several
> times and created the stub and always got the method with a wrong return
> type.
>
>
> Can somebody explain how this happens or where I have went wrong and help
> me on this regards?
>
> [1] https://redmine.wso2.com/issues/3403
>
> Thanks,
> Sithumini
> --
> Sithumini Senevirathne
> Software Engineer
> WSO2 Inc. - lean . enterprise . middleware |  wso2.com
>
> email: [email protected],   mobile: +94 756977999
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Thanks & Regards,

*Johann Dilantha Nallathamby*
Associate Technical Lead & Product Lead of WSO2 Identity Server
Integration Technologies Team
WSO2, Inc.
lean.enterprise.middleware

Mobile - *+94777776950*
Blog - *http://nallaa.wordpress.com <http://nallaa.wordpress.com>*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to