File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

basic jboss webservice naming

Stefan Müller
Greenhorn

Joined: Jun 25, 2008
Posts: 12
Hi,

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.





WSDL File
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Hi!
Try using the name element of the @WebService annotation:
@WebService(name="TestService")
Best wishes!
 
 
subject: basic jboss webservice naming