3 Replies Latest reply on Aug 3, 2006 10:07 AM by Chongyan Ren

    Web service can't be found 404 error

    Chongyan Ren Newbie

      hi all, I am trying the Calculator web service with the jboss 4.04GA server. I can deploy and running the web service successfully as when starting the server it says:

      2006-08-03 10:28:27,153 INFO [org.jboss.ws.server.WSDLFilePublisher] WSDL published to: file:/C:/Program Files/jboss-4.0.4.GA/server/default/data/wsdl/regserver.ear/regserver.ejb3/CalculatorService56401.wsdl
      
      2006-08-03 10:28:27,753 INFO [org.jboss.ws.server.ServiceEndpointManager] WebService started: http://E152:8080/regserver/CalculatorBean


      then I used the generated wsdl file and generate a test client by the IDE, when running it, it throws the following exceptions:

      HTTP Status-Code 404: Not Found - /regserver/CalculatorBean com.sun.xml.rpc.client.http.HttpClientTransport.checkResponseCode(HttpClientTransport.java:302) com.sun.xml.rpc.client.http.HttpClientTransport.connectForResponse(HttpClientTransport.java:252) com.sun.xml.rpc.client.http.HttpClientTransport.invoke(HttpClientTransport.java:88) com.sun.xml.rpc.client.StreamingSender._send(StreamingSender.java:96) webservice.Calculator_Stub.add(Calculator_Stub.java:70) webservice.CalculatorServiceClient.calculatorportAdd(CalculatorServiceClient.java:22) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585)


      any ideas? thanks a lot...

      Jason