File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes basic jboss webservice naming Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "basic jboss webservice naming" Watch "basic jboss webservice naming" New topic

basic jboss webservice naming

Stefan Müller

Joined: Jun 25, 2008
Posts: 12

I'm a beginner in webservices and I'm using JBoss 4.3.0 and created a stateless bean. This bean has annotations to be a webservice. I wanted to give it an explicit name, not matching the classname.
The service is deployed and basically works. When I open it with soapUI, I see it's named TestBeanBinding. But I need it to be named "TestService". Where do I define that mapping in the annotations?
The method operationname is correct ("shoutHello"). Below the code of the service bean and the wsdl file.

Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
Try using the name element of the @WebService annotation:
Best wishes!
I agree. Here's the link:
subject: basic jboss webservice naming
It's not a secret anymore!