Hi, I've got an EJB as a JSR181 endpoint, and I want the service to be accessible via
a URL like this:
http://hostname:8080/MyExampleService?wsdl
This is what I have so far:
@WebService(targetNamespace = "http://example.com", name="MyExample",
serviceName="MyExampleService")
| @SOAPBinding(style=SOAPBinding.Style.RPC, use=SOAPBinding.Use.LITERAL)
| @Stateless
| @PortComponent(contextRoot="/", urlPattern="/MyExampleService")
| public class MyExampleServiceImpl implements Remote, MyExampleService {
| ...
| }
However, deploying it like this results in it apparently (according to the
/jbossws/services page) being deployed to
http://hostname//MyExampleService?wsdl, but when
I click on it, it's gives a 404 error.
Is there any way to successfully get the webservice to deploy in the root?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030427#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...