org.apache.cxf.interceptor.Fault: Unable to create message factory for SOAP: weblogic.webservice.core.soap.MessageFactoryImpl

Apache's JIRA Issue Tracker | Giampaolo Tranchida | 9 years ago
  1. 0

    With CXF 2.0.1 the follow code generate an error, same code work correctly with CXF 2.0 (only change cxf-2.0.1-incubator.jar to cxf-2.0-incubator.jar) No problem with @WebService annotation @WebServiceProvider @ServiceMode(value=Service.Mode.PAYLOAD) public class SwissDecService implements Provider<Source> { public Source invoke(Source request) { try { System.out.println(request.toString()); } catch (Exception e) { e.printStackTrace(); } return null; } org.apache.cxf.interceptor.Fault: Unable to create message factory for SOAP: weblogic.webservice.core.soap.MessageFactoryImpl at org.apache.cxf.jaxws.interceptors.DispatchInDatabindingInterceptor.handleMessage(DispatchInDatabindingInterceptor.java:147) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:207) at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:73) at org.apache.cxf.transport.servlet.ServletDestination.doMessage(ServletDestination.java:78) at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:231) at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:139) at org.apache.cxf.transport.servlet.CXFServlet.invoke(CXFServlet.java:271) at org.apache.cxf.transport.servlet.CXFServlet.doPost(CXFServlet.java:249) at javax.servlet.http.HttpServlet.service(HttpServlet.java:763) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3231) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2002) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1908) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1362) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at weblogic.work.ExecuteThread.run(ExecuteThread.java:181) Caused by: javax.xml.soap.SOAPException: Unable to create message factory for SOAP: weblogic.webservice.core.soap.MessageFactoryImpl at javax.xml.soap.MessageFactory.newInstance(Unknown Source) at org.apache.cxf.jaxws.interceptors.DispatchInDatabindingInterceptor.newSOAPMessage(DispatchInDatabindingInterceptor.java:158) at org.apache.cxf.jaxws.interceptors.DispatchInDatabindingInterceptor.handleMessage(DispatchInDatabindingInterceptor.java:113) ... 21 more

    Apache's JIRA Issue Tracker | 9 years ago | Giampaolo Tranchida
    org.apache.cxf.interceptor.Fault: Unable to create message factory for SOAP: weblogic.webservice.core.soap.MessageFactoryImpl
  2. 0

    Unable To Create Message Factory For Soap: Provider Com.Sun.Xml.Messaging..

    wpthm.com | 1 year ago
    javax.xml.soap.SOAPException: Unable to create message factory for SOAP: weblogic.webservice.core.soap.MessageFactoryImpl
  3. 0

    db:: 4.13::Unable to create message factory for SOAP: Provider com.sun.xml.messaging.. z7

    hivmr.com | 4 months ago
    javax.xml.soap.SOAPException: Unable to create message factory for SOAP: weblogic.webservice.core.soap.MessageFactoryImpl
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Web services deployment in IBM Web sphere

    Stack Overflow | 3 years ago | paary
    javax.xml.soap.SOAPException: Unable to create message factory for SOAP: Unable to create SAAJ meta-factorycom.ibm.ws.webservices.engine.soap.SAAJMetaFactoryImpl incompatible with javax.xml.soap.SAAJMetaFactory
  6. 0

    javax.xml.soap.MessageFactory could not be instantiated

    Stack Overflow | 2 years ago | mmaceachran
    javax.xml.soap.SOAPException: Unable to create message factory for SOAP: Provider javax.xml.soap.MessageFactory could not be instantiated: java.lang.InstantiationException

    6 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.xml.soap.SOAPException

      Unable to create message factory for SOAP: weblogic.webservice.core.soap.MessageFactoryImpl

      at javax.xml.soap.MessageFactory.newInstance()
    2. Java RT
      MessageFactory.newInstance
      1. javax.xml.soap.MessageFactory.newInstance(Unknown Source)
      1 frame
    3. Apache CXF Runtime JAX-WS Frontend
      DispatchInDatabindingInterceptor.handleMessage
      1. org.apache.cxf.jaxws.interceptors.DispatchInDatabindingInterceptor.newSOAPMessage(DispatchInDatabindingInterceptor.java:158)
      2. org.apache.cxf.jaxws.interceptors.DispatchInDatabindingInterceptor.handleMessage(DispatchInDatabindingInterceptor.java:113)
      2 frames
    4. Apache CXF Core
      ChainInitiationObserver.onMessage
      1. org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:207)
      2. org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:73)
      2 frames
    5. Apache CXF Runtime HTTP Transport
      CXFServlet.doPost
      1. org.apache.cxf.transport.servlet.ServletDestination.doMessage(ServletDestination.java:78)
      2. org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:231)
      3. org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:139)
      4. org.apache.cxf.transport.servlet.CXFServlet.invoke(CXFServlet.java:271)
      5. org.apache.cxf.transport.servlet.CXFServlet.doPost(CXFServlet.java:249)
      5 frames
    6. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      2 frames
    7. Atmosphere weblogic
      WebAppServletContext$ServletInvocationAction.run
      1. weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      2. weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      3. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
      4. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
      5. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3231)
      5 frames
    8. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      1 frame
    9. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      1 frame
    10. Atmosphere weblogic
      ServletRequestImpl.run
      1. weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2002)
      2. weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1908)
      3. weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1362)
      3 frames
    11. weblogic.work
      ExecuteThread.run
      1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      2. weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
      2 frames