Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8490133
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T22:01:38+00:00 2026-06-10T22:01:38+00:00

I have an application I am developing that deploys a JAX-WS web service using

  • 0

I have an application I am developing that deploys a JAX-WS web service using the com.sun.xml.ws.transport.http.servlet.WSSpringServlet (the JAX-WS RI Spring plugin). The application is being setup to have the endpoint class (annotated with @WebService) make calls to one or more services which in turn make calls to DAOs.

It seem that autowiring of beans works in the endpoint class to pull in my service layer, but anything in the service layer annotated with @Autowired isn’t working to pull in the DAOs. I’m not loading a Spring DisptacherServlet since I’m not hosting any other web content using this application only a ContextLoaderListener and the WSSpringServlet.

It there any way I can make autowiring work across all of my classes within the application? Or, is there a different way I should consider deploying my web service?

Additionally, this seems to be an issue that would apply in other situations as well when you are using Spring without loading a DispatcherServlet. For example using the Spring-Quartz integration. Although I haven’t tried to do autowiring with a Spring managed Quartz job.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T22:01:40+00:00Added an answer on June 10, 2026 at 10:01 pm

    So, after much research (and hair pulling on my part) the whole issue seems to have come down to not being a PICNIC. Essentially early on in development I had put a line of code for testing that simply created in instance of my Service inline instead of wiring it in. Obviously therefore Spring wasn’t managing my class to autowire anything in. Removing the inline instantiation and using the autowired instance fixed the issue.

      *facepalm*
      *facepalm*
      *facepalm*
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a typical enterprise/business application that I am developing that includes orders, salespersons,
I am developing the application that uses DirectX for graphics rendering. I have to
I'm developing an iPhone application that have a TabBarController with two tabs. Each tab
I have been developing the application, and I need that drawingg is executed in
I have a Rails application that accepts file uploads of CSV files. When developing
In an iPhone application I'm developing I have a Image View that displays eyes
In the application I'm developing, I have a thread that is running in a
I'm developing a .NET application that will have both a WinForms and a Silverlight
I'm developing a simple Android application that would have an action bar on the
I'm developing an MVC application and I have a routine that gets the currently

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.