The contents of lib/endorsed enforce the jbossws-native jaxws client to be used. In particular you should have a jbossws-native-factories.jar containing META-INF/services/ declarations for the javax.xml.ws.spi.Provider, javax.xml.soap.SOAPFactory, etc. The easiest solution for you here is probably to install jbossws-cxf, which is the supported integration of Apache CXF into JBoss AS through JBossWS.
Cheers
Alessio

On 03/22/2011 01:28 PM, Emil Dombagolla wrote:
Dear All,


I have a problem with my cfx (apache-cxf-2.3.2 ) client program when
deployed into JBoss 5.1.


Even though I put all the cfx libraries into JBoss lib folder, JBoss uses it
s own following libraries to communicate with the server, it does not use
cfx libraries.


C:\jboss-5.1.0.GA\lib\endorsed

                 -jbossws-native-jaxrpc

                 -jbossws-native-jaxws-ext

                 -jbossws-native-saaj


This is serious problem for me; I have added my custom classes into cfx
library, now they are not executed based on this matter,


If I removed above jboss libraries and only used cfx liibarys . jboss gives
following error,


java.lang.UnsupportedOperationException: setProperty must be overridden by
all subclasses of SOAPMessage


Please someone give me any suggestion to overcome from this,


Thanks

Thushanga



--
Alessio Soldano
Web Service Lead, JBoss

Reply via email to