Google GWT Version : 2.4 
Google App Engine Version : 1.6
SUN JRE : 1.6

I need to call a HTTPS Web-service to fetch data in my GWT-application. 

At this point it has become a show stopper for my prototype(application using 
GWT) of the application.Can anybody guide me in this ?


(1) 
I created a JAX-WS client and when calling the web-service receiving the below 
error. I saw the white list for  JEE and the mentioned class 
"java.net.ProxySelector" is not present in that list. 



com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public 
abstract java.util.ArrayList 
com.google.gwt.sample.contacts.client.ContactsService.getContactDetails()' 
threw an unexpected exception: java.lang.NoClassDefFoundError: 
java.net.ProxySelector is a restricted class. Please see the Google  App Engine 
developer's guide for more details.
        at 
com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:385)
        at 
com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:588)
        at 
com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)

*******************


(2) As an alternate to JAX-WS Client I generated AXIS2 Client for the same 
webservice and I also reached a dead end with the same type of exception.

Caused by: java.lang.NoClassDefFoundError: java.net.Socket is a restricted 
class. Please see the Google  App Engine developer's guide for more details.
        at 
com.google.appengine.tools.development.agent.runtime.Runtime.reject(Runtime.java:51)
        at 
org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:721)


-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/jVs60gq8ge8J.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to