Re: restful_http_binding and WebServiceContext

2007-12-01 Thread Michael Nelson
: 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

Re: restful_http_binding and WebServiceContext

2007-11-30 Thread Daniel Kulp
.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

Re: restful_http_binding and WebServiceContext

2007-11-28 Thread Willem Jiang
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

Re: restful_http_binding and WebServiceContext

2007-11-27 Thread Davide Gesino
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

Re: restful_http_binding and WebServiceContext

2007-11-27 Thread Davide Gesino
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

restful_http_binding and WebServiceContext

2007-11-26 Thread Michael Nelson
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

Re: restful_http_binding and WebServiceContext

2007-11-25 Thread Willem Jiang
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

restful_http_binding and WebServiceContext

2007-11-24 Thread Michael Nelson
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