I have created simple CXF Webservice using Java1.6, CXF2.2.7
and deploying in Weblogic10.3.3
. While doing this facing lot of problems finally struck up in one exception.
First deployed as a war file with `weblogic.xml` having entries like,
<prefer-application-packages>
<package-name>javax.xml.ws.*</package-name>
<package-name>com.sun.xml.ws</package-name>
</prefer-application-packages>
got below exception,Caused By: java.lang.NoClassDefFoundError: Could not initialize class weblogic.wsee.jaxws.spi.WLSProvider
After that wrapped up into ear file with Weblogic.xml
having entries like <prefer-web-inf-classes>true</prefer-web-inf-classes>
and weblogic-application.xml
having entries like
<prefer-application-packages>
<package-name>javax.jws.*</package-name>
<package-name>javax.xml.ws.*</package-name>
<package-name>com.sun.xml.ws</package-name>
</prefer-application-packages>
While deploying like this there is no exception, Webservice is listing but not exposed in `Deployement->Testing` in weblogic console, i.e, WSDL is not loading. In comment getting message like `This Web Service is not currently available.` Same war file deployed and working fine in JBoss4.2 and Tomcat7.What is missing ?? or what need to be done to make it work with Weblogic10.3.3 ???
Thank You.
Aucun commentaire:
Enregistrer un commentaire