You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2009/10/15 22:03:31 UTC
[jira] Resolved: (CXF-976) WebServiceProvider : Unable to create
message factory for SOAP
[ https://issues.apache.org/jira/browse/CXF-976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp resolved CXF-976.
-----------------------------
Resolution: Invalid
Fix Version/s: Invalid
Assignee: (was: Sean O'Callaghan)
Marking this resolved mostly cause it's an integration issue with the SAAJ stuff in Weblogic and the instructions for weblogic integration on http://cxf.apache.org/docs/application-server-specific-configuration-guide.html need to be followed.
> WebServiceProvider : Unable to create message factory for SOAP
> --------------------------------------------------------------
>
> Key: CXF-976
> URL: https://issues.apache.org/jira/browse/CXF-976
> Project: CXF
> Issue Type: Bug
> Components: JAX-WS Runtime
> Affects Versions: 2.0.1
> Environment: Jdk 1.5.0_06 or JRockit 90_150_10, BEA Weblogic 9.2
> Reporter: Giampaolo Tranchida
> Fix For: Invalid
>
>
> 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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.