cancel
Showing results for 
Search instead for 
Did you mean: 

WebServices - cxf instead of netweavers impl.

Former Member
0 Kudos

Hi

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

"com.sap.engine.services.webservices.jaxws.j2w.JaxWsInsideOutException: 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.

Br

PF

Accepted Solutions (1)

Accepted Solutions (1)

Vlado
Advisor
Advisor
0 Kudos

Hi,

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.

Regards,

\-- Vladimir

Answers (0)