Thanks Alessio for your response.

So if I remove the Context listener from web.xml, what should my web.xml
have? Please note that my webservice Impl is a pojo, not a servlet.

Based on the testcase for username
(modules\testsuite\cxf-tests\src\test\resources\jaxws\samples\wsse\username),
it seems like I need to have something like this in the web.xml:

   <servlet>
      <servlet-name>Library Service</servlet-name>
      <servlet-class>com.sosnoski.ws.library.cxf.Library</servlet-class>
   </servlet>
   <servlet-mapping>
      <servlet-name>Library Service</servlet-name>
      <url-pattern>/*</url-pattern>
   </servlet-mapping>

Am I on the right path here?


Alessio Soldano wrote:
> 
> Hi,
> <snip>
> 
> 

-- 
View this message in context: 
http://old.nabble.com/JBoss-CXF-integration-%3A-org.springframework.beans.TypeMismatchException-in-sample-webservice-tp28879980p28880911.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to