| 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
Bartender
Joined: Oct 04, 2006
Posts: 2193
|
|
Hi!
Try using the name element of the @WebService annotation:
@WebService(name="TestService")
Best wishes!
|
 |
 |
|
|
subject: basic jboss webservice naming
|
|
|