Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-7697

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Critical Critical
    • No Release
    • JBossAS-4.2.3.GA
    • Web Services
    • None
    • Linux RedHat4
      Jboss 4.2.3
      Not sure what version on JBossWeb, but it is the version packaged with JBoss 4.2.3 AS

      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?

              rhn-support-asoldano Alessio Soldano
              newmanw10 William Newman (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: