aspose file tools*
The moose likes JBoss/WildFly and the fly likes Webservices on JBoss 5.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Webservices on JBoss 5.1" Watch "Webservices on JBoss 5.1" New topic
Author

Webservices on JBoss 5.1

K J Smith
Greenhorn

Joined: Jun 28, 2012
Posts: 4
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??

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Webservices on JBoss 5.1