• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to expose a method as webservice EJB3.0"org.jboss.ws.WSException: No exposable methods found"

 
Naresh gangishetty
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have created an application using maven, Ejb3.0. I am using annotations @Remote, @Webservice and trying to expose the methods. When I am trying to deploy the application in Jboss getting the error org.jboss.ws.WSException: No exposable methods found" and deployment fails.

Can any one let me know the reason. I am almost blocked here. Thanks in advance

Regards,
Naresh Gangishetty
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please post the relevant code and the exception stacktrace. Which version of JBoss AS is this?

P.S: While posting code, xml or logs, wrap them in a code block. You can use the Code button in the message editor window.
 
Naresh gangishetty
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using jboss jboss-4.2.0.GA. Please find code and stack trace as below.

 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you packaging any jar file(s) containing javax.jws.* classes within your application package? If yes, remove such jar(s) from your deployment.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic