Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ServiceInvoker improvement #2

Open
MGelbana opened this issue Aug 31, 2013 · 0 comments
Open

ServiceInvoker improvement #2

MGelbana opened this issue Aug 31, 2013 · 0 comments

Comments

@MGelbana
Copy link

When the custom ServiceInvoker is invoked, it's start method does nothing (i.e. you have a comment in that method saying: // nothing). While a web service class may be annotated by JAX-WS oriented annotations to, for instance, inject the WebServiceContext.

Putting the following line in the method resolves this. I'm not sure if it has further limitations or implications, but it did resolve the WebserviceContext I injected.

@SuppressWarnings("rawtypes")
@Override
public void start(WSWebServiceContext wsc, WSEndpoint endpoint) {
    ResourceInjector.STANDALONE.inject(wsc, service);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant