java - org.w3c.dom.DOMException: WRONG_DOCUMENT_ERR: Web Service error. Soap Exception -


by using wsdl2java, executed methods wsdl. these methods include remote exceptions. when run program, gives error written on tittle. expecting soap exception because when made request on soap ui, see soap exception in xml format. code snipped that:

try {    enrollresponse = server_service.enroll(enrollparameters); } catch (remoteexception e) {    logger.fatal(e.getmessage); } 

error: org.w3c.dom.domexception: wrong_document_err: node used in different document 1 created it.  

i think problem program respects determined xml format, soap exception in different format. therefore gives error. under remoteexception cannot reach xml format of soap exception.

how can reach exception?

please check version of axis jar.

this issue had been patched axis 1.3 not axis 1.4.

please refer link

https://issues.apache.org/jira/browse/axis-2705


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -