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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to