Monday, July 4, 2011

How to used data binding types generated by Axis2 ADB for communication between browser and web server?

Hi,

I am working on a project to create a web-based client for some
existing web services using GWT.

At the web server side, I use Axis2 ADB to generate the web service
client stub to interface with the existing web services. This part
works fine.

But the problem comes when I try to forward the data binding objects
generated by Axis2 to the web browser or the client side through GWT-
RPC, as there's no GWT-translated code for all the library
dependencies like javax.xml.*, org.apache.axis2.databinding.ADBBean,
etc on the client side.

Currently, the solutions I can think of is:
1. Manually create the GWT-RPC compatible versions of all the Axis2
data binding types that need to be communicated to the web browser.
(This will be a huge amount of work which I would like to automate.)

2. Include all the dependencies using super-source in a GWT module
definition file.


Both ways are not nice to me. So I am wondering if there is a more
elegant and automatic way to resolve the problem?

Thanks

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment