Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Webservices on JBoss 5.1

 
K J Smith
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to get webservices working on JBoss 5.1

I have set up a very simple stateless bean accessing a single table


... etc ...


This works FINE from a standard ejb-client ...

...(some lines missed out!)...

...

Great!


I have then set up webservices using wsconsume and wsprovide - all went fine again.

Everything deployed fine too - since when running a webservices client ... the accountManager.createAccount() method IS called (some debugging print statements that i added DO output as expected)

...(some lines missed out!)...

...

BUT the injected entity manager in the bean is null !! and so the process falls over

Going back again to the regular ejb client - all is still okay.

Does anyone have any ideas??

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic