Lots of problems trying to get my head around this topic. I'm trying to deploy a JAXM Web service to tomcat as a web-app by extending JAXMServlet and implements ReqRespListener but I get the following error
javax.xml.soap.SOAPException: Unable to create message factory for SOAP: Provide
r com.sun.xml.messaging.soap.MessageFactoryImpl not found
at javax.xml.soap.MessageFactory.newInstance(MessageFactory.java:116)
I have axis and put jaxm.jar, saaj.jar and assj-imp.jar into TOMCAT_HOME/common/lib.
I know that ther is a MessageFactoryImpl in saaj-impl.jar\com\sun\xml\messaging\saaj\soap but not in jaxxm.jar.
If I was to deploy this as a JAXM web service and not a servlet do I need to go through the same procedure as JAX-RPC? By this I mean would it be best to run Java2WSDL and WSDL2Java tools?
Thanks for all replys,
James.