• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Sheriff
Posts: 10445
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic