facebook

Error generating services

  1. MyEclipse Archived
  2.  > 
  3. Web Services
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #285280 Reply

    pils01
    Member

    This message has not been recovered.

    #285287 Reply

    Loyal Water
    Member

    This message has not been recovered.

    #285309 Reply

    pils01
    Member

    I did not know where to have find the logs. Thanks!
    However, it does not help me that much, I hope you will…

    
    !ENTRY com.genuitec.eclipse.ws.xfire 4 0 2008-05-26 09:26:19.182
    !MESSAGE Error generating services
    !STACK 0
    java.net.ConnectException: Connection timed out: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(Unknown Source)
        at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
        at java.net.PlainSocketImpl.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at sun.net.NetworkClient.doConnect(Unknown Source)
        at sun.net.www.http.HttpClient.openServer(Unknown Source)
        at sun.net.www.http.HttpClient.openServer(Unknown Source)
        at sun.net.www.http.HttpClient.<init>(Unknown Source)
        at sun.net.www.http.HttpClient.New(Unknown Source)
        at sun.net.www.http.HttpClient.New(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
        at java.net.URL.openStream(Unknown Source)
        at org.codehaus.xfire.util.Resolver.tryFileSystem(Resolver.java:74)
        at org.codehaus.xfire.util.Resolver.<init>(Resolver.java:44)
        at org.codehaus.xfire.gen.Wsdl11Generator.generate(Wsdl11Generator.java:82)
        at com.genuitec.eclipse.ws.xfire.generator.WSGenJob.run(WSGenJob.java:92)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
    

    Regards

    #285312 Reply

    pils01
    Member

    As I supposed the error was more linked to the network than to MyEclipse, I created the wsdl internally. The classes creation seemed to work.

    However, after having added a certificate to trust, when I try an HTTPS connection (wsdl: https://myserver:port/cfatr/Info.wsdl) it gives the other error:

    
    !ENTRY com.genuitec.eclipse.ws.xfire 4 0 2008-05-26 10:34:17.679
    !MESSAGE Error generating services
    !STACK 0
    java.net.SocketException: Connection reset
        at java.net.SocketInputStream.read(Unknown Source)
        at com.sun.net.ssl.internal.ssl.InputRecord.readFully(Unknown Source)
        at com.sun.net.ssl.internal.ssl.InputRecord.readV3Record(Unknown Source)
        at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)
        at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
        at java.net.URL.openStream(Unknown Source)
        at org.codehaus.xfire.util.Resolver.tryFileSystem(Resolver.java:74)
        at org.codehaus.xfire.util.Resolver.<init>(Resolver.java:44)
        at org.codehaus.xfire.gen.Wsdl11Generator.generate(Wsdl11Generator.java:82)
        at com.genuitec.eclipse.ws.xfire.generator.WSGenJob.run(WSGenJob.java:92)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)
    

    My firewall blocks nothing, though…

    #285330 Reply

    Loyal Water
    Member

    The error suggests that this issue is related to your network. Are you using a proxy ?

    #285340 Reply

    pils01
    Member

    Yes I am. What would I have to do to set it up in MyEclipse?
    We are getting closer I think….

    #285351 Reply

    Loyal Water
    Member

    Go to Windows > Preference > General > Network Connection and setup the proxy configuration. That should do the trick.

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Error generating services

You must be logged in to post in the forum log in