• 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

Webservices on JBoss 5.1

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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??

 
reply
    Bookmark Topic Watch Topic
  • New Topic