Running Sample Hello World Web service does not work with Version 8.0 M1

Hello, I tried to run the sample Hello World Web Service (JAX-WS). www.jetbrains.com/idea/docs/Web_Services_with_IntelliJ_IDEA.pdf
I get following error, when running the service with SHIFTSTRF10:

What should I do ?

Exception in thread "main" com.sun.xml.ws.model.RuntimeModelerException: runtime modeler error: Wrapper class example.jaxws.SayHelloWorldFrom is not found. Have you run APT to generate them?
at com.sun.xml.ws.model.RuntimeModeler.getClass(RuntimeModeler.java:254)
at com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:550)
at com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:497)
at com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:339)
at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:225)
at com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.java:304)
at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.java:170)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:420)
at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:439)
at com.sun.xml.ws.transport.http.server.EndpointImpl.createEndpoint(EndpointImpl.java:208)
at com.sun.xml.ws.transport.http.server.EndpointImpl.publish(EndpointImpl.java:138)
at com.sun.xml.ws.spi.ProviderImpl.createAndPublishEndpoint(ProviderImpl.java:91)
at javax.xml.ws.Endpoint.publish(Endpoint.java:170)
at example.HelloWorld.main(HelloWorld.java:25)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)

Edited by: Christoph on Oct 2, 2008 5:21 PM

Edited by: Christoph on Oct 2, 2008 5:22 PM

1 comment
Comment actions Permalink

First off, I found the pdf you references to be a bit out of date. A page that helped me is at .

As far as your error, to generate the wrapper classes, try this: right click in the HelloWorld class and select WebServices -> Expose Class as Web Service. That should generate the wrapper classes for you.

0

Please sign in to leave a comment.