I have used JBoss and WebServices on projects, but I want to learn to set it up myself so I am trying a "Hello World" for starters. I have this class:
And I have added these lines to my web.xml:
When I save in Eclipse the project builds and deploys to my local JBoss server.
When I browse to localhost:8080/jbossws/services I can see the service listed as the only Registered Service Endpoints as follows:
But when I click on the link (Athena is my own computer, of course), I get "404: The requested resource (/MyDynamicWebProjectEAR-MyDynamicWebProject/MyWebServicesBean) is not available."
I can still run the servlet that I had already placed in this project before trying to generate this webservice, so JBoss is running all right. And my EAR file must surely have been rebuilt since I added my "HelloWorld" class to the project, since the webservice appears in the listing. But somehow the resource itself is not available. Nor can I access it in SoapUI.
Can someone help me, please? I can supply any more info you request.