Skip to Content
author's profile photo Former Member
Former Member

WebServices - cxf instead of netweavers impl.


When I deploy my application on Netweaver 7.1 SR3, it discovers my WebService annotations and tries to create web services - this fails throwing

" Error compiling bean!"

It only happens when application is marked as jee 5,

when its not webservices are created through CXF (deployed within my application) and everything works fine.

My question is this: is it possible to prevent netweaver from discovering and creating webservices and let it be done by CXF.

I thought that it might be a meater of class loading hierarchy so I used heavy loading mechanism to

load CXF classes first. Either that failed or it cant be solved that way.



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Apr 01, 2008 at 07:05 AM


    This is not possible.

    In this case the problem is not which JAX-WS implementation is used at runtime, rather it's related to the deployment module that processes the archive and makes the initializations, i.e. JSR-109. So the heavy loaders cannot help here.

    When the application is not marked as Java EE 5, that is it is J2EE 1.4 or lower, annotations are not read and that's why you succeed to work around it.


    \-- Vladimir

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.