ws-kandula-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rich Scheuerle (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-4774) JAX-WS: Wrong classloader may be used to marshal data for a client JAX-WS applicatoin
Date Mon, 12 Jul 2010 18:31:50 GMT
JAX-WS: Wrong classloader may be used to marshal data for a client JAX-WS applicatoin
-------------------------------------------------------------------------------------

                 Key: AXIS2-4774
                 URL: https://issues.apache.org/jira/browse/AXIS2-4774
             Project: Axis2
          Issue Type: Bug
          Components: jaxws
            Reporter: Rich Scheuerle
            Assignee: Rich Scheuerle


History:
The JAX-WS client runtime must build a JAXBContext to marshal the JAX-WS Web service data.
 The context ClassLoader on the thread is used to find the classes and build the JAXBContext.

Problem:
If the customer or other code changes the context ClassLoader, then the JAX-WS marshaling
on the client may fail with a MarshalException.


Solution:
The JAXProxyHandler (which is the code that controls the client proxy construction) is changed
to inspect the context ClassLoader and the ClassLoader of the SEI.
If the class loaders are different, the runtime determines which one to use (prefering the
one that loaded the SEI).


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message