Hello,
I'm using JBoss 5.1.0 and JBossWS-Metro 3.2.2. In our application we have deployed Web Services in
the EJB container and the web container. Within the SOAPHandler I put a Java class in the SOAPMessageContext in
order to read it in my business logic implementation. We are using the same jaxws handlers for the web services
deployed in the ejb container and the web container. Everything works fine in the ejb container. Within the handler
deployed in the web container I get a strange ClassCastException:
07:34:33,541 SEVERE [EndpointMethodHandler] aaa.aa.types.User cannot be aaa.aa.types.User
It seems that the handler has another class loader as the implementation at the web container! Within the debugger
the two classes have different IDs.
Does anybody know what went wrong? If it is a class loader problem how can I configure the JBoss Web Class Loader?
Thanks for your help in advance,
Bernd