• 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
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

stateless session as a webservice

 
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I write a EJB3 stateless session bean as a webservice deployed in glassfish,but when i run my test client,it give's me error message like this,search a lot,still can not fix it.
here is the code
HelloForWS.java

HelloForWSRemote.java

here is the client
JAXWSClient.java

error message from run JAXWSClient
 
vitesse wei
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I find com.interlink.ejb.jaxws.Hello wraper class in glassfish's generated directory,then I added it to the classpath,then runclient,I get new error as
follow:

com.interlink.ejb.HelloForWS is a bean class,it's not interface,I don't know why it ask for a interface?
add i checked server console,webservice is there and can be tested by admin console,anybody help
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic