Thursday, September 9, 2010

RE: Translating already compiled Java?

You can automatically generate POJO classes from the same WSDL. Why are
you doing this manually?
In my GWT app I used SUN jax rpc for that
http://java.sun.com/webservices/jaxrpc/overview.html
Let me know if you need more info
-Sergey

-----Original Message-----
From: google-web-toolkit@googlegroups.com
[mailto:google-web-toolkit@googlegroups.com] On Behalf Of Gary Madden
Sent: Wednesday, September 08, 2010 5:56 AM
To: Google Web Toolkit
Subject: Translating already compiled Java?

Hello,

Sorry if this is a silly question but I was wondering whether it's
possible to get the GWT compiler to translate already compiled Java
code into JavaScript? I know that you can specify Java source code to
translate using the <source> elements in the XML module file. The
reason is, I have a JAR that is generated from a WSDL. My GWT web app
makes SOAP requests using this JAR. There is a problem in that I have
to write a lot of classes at the moment that basically replicate the
POJOs in the JAR just so they can be used in GWT. This may lead to
bugs where not all the fields are properly set from the SOAP objects.
In fact, I've already found and fixed quite a few bugs relating to
this.

--
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.

</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 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