Probably the question here is how to generate server side code and
client javascript for both SOAP client and GWT RPC client/server and
glue them together for specific WSDL file as an interface definition. I
was looking for such solutions and didn't find it so I created some
approach to do this in sort of semi-automatic way. Just want to say that
not all classes generated by AXIS or CXF compatible with GWT compiler so
you need to map them to appropriate GWT classes (if possible). Like 
org.apache.axis2.databinding.types.UnsignedLong -> long
org.apache.axis2.databinding.types.UnsignedInt -> long
java.math.BigInteger -> long
java.util.Calendar -> java.util.Date

-Sergey

-----Original Message-----
From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Lothar
Kimmeringer
Sent: Tuesday, September 23, 2008 5:55 AM
To: [email protected]
Subject: Re: GWT with AXIS


Hello,

cloclo schrieb:

> Hello,
> 
> I'm trying to do more or less the same stuff. The problem is how to
> make the GWT able to translate a simple call like this:
> 
> ---------->
>   import org.apache.axis.client.*;
> 
>   Service service = new Service();
>   Call call = (Call) service.createCall();
>   etc...
> <---------

Simple answer: You can't. Why do you want to call a WebService
from the browser directly. Call a RemoteServiceServlet that does
that for you. That way you get around the restriction that the
GWT-application in general can only connect to the server it
was loaded from.


Regards, Lothar


</PRE><BR><span 
style='font-size:8.0pt;font-family:"Arial","sans-serif";color:#003366'>
_____________________________________________________<BR> 
This electronic message and any files transmitted with it contains<BR>
information from iDirect, which may be privileged, proprietary<BR>
and/or confidential. It is intended solely for the use of the individual<BR>
or entity to whom they are addressed. If you are not the original<BR>
recipient or the person responsible for delivering the email to the<BR> 
intended recipient, be advised that you have received this email<BR>
in error, and that any use, dissemination, forwarding, printing, or<BR> copying 
of this email is strictly prohibited. If you received this email<BR>
in error, please delete it and immediately notify the sender.<BR>
_____________________________________________________ 
</SPAN><PRE>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to