[jboss-user] [JBossWS] - Web service can't be found 404 error

jason_rency do-not-reply at jboss.com
Thu Aug 3 06:27:32 EDT 2006


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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3962781#3962781

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3962781



More information about the jboss-user mailing list