[jboss-user] [JBossWS] - Re: Raw Style webservices

richard_opalka do-not-reply at jboss.com
Thu Oct 4 10:03:17 EDT 2007


Well,

   this is caused by "Xerces outstanding feature" where xerces makes it impossible to merge node trees created in different document builders :-(
   Your workaround to your problem is to use:
org.jboss.wsf.common.DOMUtils.getDocumentBuilder()
method instead of the following block of code:
DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance();
  | 		dbf.setNamespaceAware(true);
  | 		DocumentBuilder db = dbf.newDocumentBuilder();

This is the only way for you to use the same document builder by which your SOAP message was created.

Richard

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4091533#4091533

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4091533



More information about the jboss-user mailing list