java.lang.RuntimeException: Service Class not generate

I am working on netbeans 5.5 bundled with sun app server 9.

I am developing a web service but after deploying when I test do "test operation" then this URL works http://localhost:8080/CalculatorWSApplication/CalculatorWSService?Tester

but when i replace it by

http://<IP>:8080/CalculatorWSApplication/CalculatorWSService?Tester

then this error occurs--

Exceptions details : java.lang.RuntimeException: Service Class not generated as expected

javax.servlet.ServletException: java.lang.RuntimeException: Service Class not generated as expected at com.sun.enterprise.webservice.monitoring.WebServiceTesterServlet.initializePort(WebServiceTesterServlet.java:546) at com.sun.enterprise.webservice.monitoring.WebServiceTesterServlet.doGet(WebServiceTesterServlet.java:158) at com.sun.enterprise.webservice.monitoring.WebServiceTesterServlet.invoke(WebServiceTesterServlet.java:104) at com.sun.enterprise.webservice.JAXWSServlet.doGet(JAXWSServlet.java:233) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536) at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566) at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566) at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137) at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939) at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239) at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667) at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574) at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844) at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287) at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212) at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252) at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75) Caused by: java.lang.RuntimeException: Service Class not generated as expected at com.sun.enterprise.webservice.monitoring.WebServiceTesterServlet.initializePort(WebServiceTesterServlet.java:521) ... 29 more

The app server is running fine. The wsdl file is O.K. but tester doesn't works

Plz help me out....Thanxs in advance

[3472 byte] By [rohanatsun1a] at [2007-11-27 5:13:26]
# 1
Is the IP valid?
kdajania at 2007-7-12 10:34:58 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2

hi,

Yes, the IP is valid...

Now I am facing another strange problem!!

I haven't changed anything in the my Web Service but now when I click

"Test Web Service" then it displays the same error ?

i.e. it is not working for localhost also.

Another thing....when i reinstall the App Server then the Web Service works fine ... but once I close Netbeans and start it again then I get the same error...

Plz, I desperately need some help on this.

Thank You in advance

rohanatsun1a at 2007-7-12 10:34:58 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 3
what happens when you you type those URLs into a browser?make sure nothing else is using port 8080. I would also double check to make sure your IP is being mapped to the correct machine and that ip plus the port are exposed and accessible through the net.
kdajania at 2007-7-12 10:34:58 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...