:
I am trying to figure out how to get access to WebServiceContext in the
restful_http_binding sample that comes with CXF 2.0.3. In
CustomerServiceImpl.java, I've added:
@Resource
private WebServiceContext wsContext;
to the CustomerServiceImpl class.
But wsContext isn't
.It SHOULD
have been injected in.
Dan
On Friday 23 November 2007, Michael Nelson wrote:
I am trying to figure out how to get access to WebServiceContext in
the restful_http_binding sample that comes with CXF. In
CustomerServiceImpl.java, I've added:
@Resource
private
to WebServiceContext in the
restful_http_binding sample that comes with CXF. In
CustomerServiceImpl.java,
I've added:
@Resource
private WebServiceContext wsContext;
to the CustomerServiceImpl class.
But wsContext isn't set when methods are invoked. I've looked through the
archives and the only issue
wrote:
I am trying to figure out how to get access to WebServiceContext in the
restful_http_binding sample that comes with CXF. In
CustomerServiceImpl.java,
I've added:
@Resource
private WebServiceContext wsContext;
to the CustomerServiceImpl class.
But wsContext isn't set
programmatically.
Did you provide getters and setters for the WebServiceContext? May depend
on that.
Davide
Michael Nelson-5 wrote:
I am trying to figure out how to get access to WebServiceContext in the
restful_http_binding sample that comes with CXF. In
CustomerServiceImpl.java,
I've added
I am trying to figure out how to get access to WebServiceContext in the
restful_http_binding sample that comes with CXF. In CustomerServiceImpl.java,
I've added:
@Resource
private WebServiceContext wsContext;
to the CustomerServiceImpl class.
But wsContext isn't set when methods
to stick to one request and one response
// parameter though.
sf.getServiceFactory().setWrapped(false);
sf.create();
}
Willem.
Michael Nelson wrote:
I am trying to figure out how to get access to WebServiceContext in the
restful_http_binding sample that comes with CXF
I am trying to figure out how to get access to WebServiceContext in the
restful_http_binding sample that comes with CXF 2.0.3. In
CustomerServiceImpl.java, I've added:
@Resource
private WebServiceContext wsContext;
to the CustomerServiceImpl class.
But wsContext isn't set when methods