[jboss-user] [JBossWS] - Re: Strange java.lang.ClassCastException: org.jboss.axis.Mes
jwiesmann
do-not-reply at jboss.com
Thu Jul 20 04:17:11 EDT 2006
It works, if i do it like that:
| String systemPropMsgFactory = System.getProperty ("javax.xml.soap.MessageFactory");
| System.setProperty("javax.xml.soap.MessageFactory", "org.apache.axis.soap.MessageFactoryImpl");
| MessageFactory mf = MessageFactory.newInstance();
| System.setProperty("javax.xml.soap.MessageFactory", systemPropMsgFactory);
| System.out.println("create msg: " + mf.getClass().getName());
| SOAPMessage msg = mf.createMessage();
| System.out.println("create msg: " + msg.getClass().getName());
|
But i still do not get what exactly i am doing here.... :-/
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3959466#3959466
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959466
More information about the jboss-user
mailing list