1 Reply Latest reply on Nov 18, 2006 1:58 AM by jason.greene

    ws tests in jbossas

    starksm64

      I ported the jbossws org.jboss.test.ws.jaxws.webserviceref.WebServiceRefServletTestCase to the jbossas testsuite to validate the injection integration. Two tests pass, and the testDynamicProxy test fails because of a variable expression that is not getting replaced. I'm just running from within eclipse, and the current testsuite/build.xml is not filtering the ws resources like the jbossws test setup is:

      javax.xml.ws.soap.SOAPFaultException: org.jboss.remoting.CannotConnectException: Can not connect http client invoker.
      ...
      Caused by: java.net.UnknownHostException: jbosstest.host.name@
       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.getOutputStream(Unknown Source)
       at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:192)
       ... 34 more
      
      
      


      What are we going to define as an integration testsuite for jbossws?


        • 1. Re: ws tests in jbossas
          jason.greene

          It might be that the replacement tasks were never merged from Branch_4_0. I still think testsuite is still the logical place for integration tests.

          Right now it's not incredibly useful because it's Just testing JAX-RPC usage. Some effort will need to be spent to move things around.

          -Jason