WebServiceContext is coming as NULL in WAS 9.0.0.9

22
April 22, 2019, at 5:50 PM

I have created an web-service using JAX-WS and WAS 9.0.0.9. At the top of my service class I put:

@Resource
private WebServiceContext context;

But when I try to access context in any of my webservice methods, I get NullPointerException because context is null. Does anyone has an idea why JAX-WS is not setting it correctly and how to solve this problem?

But this is line is working fine in WAS 8.0.0.5.

READ ALSO
Is there a way to attach JSON Web Tokens to an HTML form POST request?

Is there a way to attach JSON Web Tokens to an HTML form POST request?

I'm building a blog using nodejs (no Express) where users can comment on posts

56
Execute SQL query on HTML form element ( Dropdown ) onchange event

Execute SQL query on HTML form element ( Dropdown ) onchange event

I have trying to execute SQL query when we change the dropdown valuesSince we can't execute it using JavaScript , How can we do that

29
Position of div children get wrong because of scale transform on div parent

Position of div children get wrong because of scale transform on div parent

I'm working on a react app where there is two columns face to face, each columns has rows insideEach rows of differents columns can be connect by one or many lines

50
Is it possible to add a two dot in a variable name in Javascript?

Is it possible to add a two dot in a variable name in Javascript?

i want to create a variable like this in javascript

26