[jboss-jira] [JBoss JIRA] Created: (JBWEB-151) Jboss saaj implementation does not work with jax-rpc clients inside server

William Newman (JIRA) jira-events at lists.jboss.org
Wed Oct 21 09:14:19 EDT 2009


Jboss saaj implementation does not work with jax-rpc clients inside server
--------------------------------------------------------------------------

                 Key: JBWEB-151
                 URL: https://jira.jboss.org/jira/browse/JBWEB-151
             Project: JBoss Web
          Issue Type: Bug
      Security Level: Public (Everyone can see)
         Environment: Linux RedHat4
Jboss 4.2.3
Not sure what version on JBossWeb, but it is the version packaged with JBoss 4.2.3 AS
            Reporter: William Newman
            Assignee: Remy Maucherat
            Priority: Critical


When using/calling a JAX-RPC client stub inside the AS I get the following exception:

jboss ClassCastException: org.apache.xerces.dom.ElementNSImpl

I was able to temporarily fix this by adding in a system property to use a different implementation of MessageFactory (sun's implementation
javax.xml.soap.MessageFactory=com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl


However when this does not work when trying to also use jax-ws web services on the same server as jboss implementation code throws a class cast exception because it cannot cast one of its classes to com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl.

Is there a fixed version of the jboss saaj implementation that I can put into 4.2.3 such that I do not need to use sun's MessageFactory implementation to use jax-rpc generated client stubs within the appserver?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list