Sorry....replace the implementor, not the id.

Mansour
:-)

On Jul 26, 2007, at 6:49 PM, Mansour Raad wrote:

Create a bean as follows:

<bean id="reportingServiceImpl" class="com.visualio.reportserver.webservices.ReportingServiceImpl">
  <!-- set properties here -->
</bean>

Replace the jaxws:endpoint id with

        id="#reportingServiceImpl"

Mansour
:-)

On Jul 26, 2007, at 6:44 PM, Jeremy Isikoff wrote:

I have an endpoint declaration like this in my beans.xml file, the trouble is the implementing class needs to get hold of some other spring beans (mainly DAOs) so it can do its work. How can I inject these in or get the application context from within this implementation class? If this was a normal bean declaration id just inject the DAOs but I dont know what to do with a Jaxws:endpoint bean? Any clues?

<jaxws:endpoint
id="reportingService"
implementor="com.visualio.reportserver.webservices.ReportingServiceIm pl"
address="/ReportingService"
/>

Jeremy M. Isikoff



_____________________________________________________________________ _______________ Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545433


Mansour
:-)




Mansour
:-)



Reply via email to