Hi Eddie, Many thanks for your reply. It would be fantastic if you could give me some help on how to set up my webapp to use that source files! Do you need some information on how the application itself is structured & configured?
Thank you again, Pierangelo -----Original Message----- From: Eddie O'Neil [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 09, 2006 5:56 PM To: Beehive Users Subject: Re: Problem with JdbcControl accessed through an Axis Webservice Pier-- Use of the @Control annotation (declarative instantiation) requires that the container of the web service be aware of how to create and manage a control instance. Out of the box, Axis 1.x does not support this, but there is some as yet unshipped code in WSM that provides very basic support for using Controls from an Axis web service. Basically, this code just intercepts the call to the web service, instantiates fields declared with @Control, and then calls the web service method. If you're interested, I can help you set this up -- it would require using the source files in this directory: http://svn.apache.org/repos/asf/beehive/wsm/trunk/src/axis1/org/apache/b eehive/wsm/axis/controls/ in your application. FWIW, this is code that Beehive could ship as a standalone add-on to Axis if there's sufficient interest in that. Eddie On 8/9/06, Magli, Pierangelo <[EMAIL PROTECTED]> wrote: > Hi folks, > I have a litte problem with JdbcControls and webservices, hope > somebody can help :) > > The use case is as following: > > I have to access a JdbcControl through a webservice (actually, a .jws > deployed on Axis, embedded in my web application). If I instantiate > the control programmaticaly, everything works flawlessly, but if I use > the declarative approach with the @Control annotation, I get a > NullPointerException when I try to access the control... > > Do you have any suggestion that could fix this problem? > Many thanks, > > Pier >
