You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Ladislav Lencucha (JIRA)" <ax...@ws.apache.org> on 2010/10/10 14:16:33 UTC
[jira] Commented: (AXIS-2705) SOAPFaultBuilder throws DOMException
WRONG_DOCUMENT_ERR
[ https://issues.apache.org/jira/browse/AXIS-2705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12919598#action_12919598 ]
Ladislav Lencucha commented on AXIS-2705:
-----------------------------------------
Many thanks adri!
Everybody else - I have not been able to get 1.4 jar with this fix so I compiled it by myself. If you're as lazy as I am you get from my website.
Version 1.4 Compiled with patch from adri and available at:
http://www.lacike.sk/?p=53
or just use direct download the zip file:
http://www.lacike.sk/wp-content/uploads/2010/10/axis_1.4_fix.zip
Enjoy!
> SOAPFaultBuilder throws DOMException WRONG_DOCUMENT_ERR
> -------------------------------------------------------
>
> Key: AXIS-2705
> URL: https://issues.apache.org/jira/browse/AXIS-2705
> Project: Axis
> Issue Type: Bug
> Affects Versions: 1.4
> Environment: Windows XP SP2 + NetBeans 5.5 + JDK1.5 + Axis 1.4
> Reporter: Rudy Moury
> Fix For: 1.3
>
>
> This issue had been patched for Axis 1.3 but not for Axis 1.4.
> I'm developping a Java client from the wsdl contract of a PHP NuSoap doc/lit webservice with Axis 1.4.
> I success to generate my Java client with Axis 1.4 but when my client call a method of the stub linked to my webservice and generated by Axis :
> AxisFault
> faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
> faultSubcode:
> faultString: org.w3c.dom.DOMException: WRONG_DOCUMENT_ERR: A node is used in a different document than the one that created it.
> faultActor:
> faultNode:
> faultDetail:
> {http://xml.apache.org/axis/}stackTrace:org.w3c.dom.DOMException: WRONG_DOCUMENT_ERR: A node is used in a different document than the one that created it.
> at org.apache.xerces.dom.ParentNode.internalInsertBefore(Unknown Source)
> at org.apache.xerces.dom.ParentNode.insertBefore(Unknown Source)
> at org.apache.xerces.dom.NodeImpl.appendChild(Unknown Source)
> at org.apache.axis.message.SOAPFaultBuilder.onEndChild(SOAPFaultBuilder.java:305)
> at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1090)
> at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
> at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
> at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
> at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
> at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
> at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
> at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
> at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
> at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
> at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
> at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
> at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
> at org.apache.axis.client.Call.invoke(Call.java:2767)
> at org.apache.axis.client.Call.invoke(Call.java:2443)
> at org.apache.axis.client.Call.invoke(Call.java:2366)
> at org.apache.axis.client.Call.invoke(Call.java:1812)
> at sympaserver.cgi_bin.sympa.wwsympa_fcgi.wsdl.SOAPStub.login(SOAPStub.java:789)
> at sympaserver.cgi_bin.sympa.wwsympa_fcgi.wsdl.SympaServiceClient.main(SympaServiceClient.java:31)
> {http://xml.apache.org/axis/}hostname:DIPLODOCUS
> org.w3c.dom.DOMException: WRONG_DOCUMENT_ERR: A node is used in a different document than the one that created it.
> at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
> at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:701)
> at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
> at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
> at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
> at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
> at org.apache.axis.client.Call.invoke(Call.java:2767)
> at org.apache.axis.client.Call.invoke(Call.java:2443)
> at org.apache.axis.client.Call.invoke(Call.java:2366)
> at org.apache.axis.client.Call.invoke(Call.java:1812)
> at sympaserver.cgi_bin.sympa.wwsympa_fcgi.wsdl.SOAPStub.login(SOAPStub.java:789)
> at sympaserver.cgi_bin.sympa.wwsympa_fcgi.wsdl.SympaServiceClient.main(SympaServiceClient.java:31)
> Caused by: org.w3c.dom.DOMException: WRONG_DOCUMENT_ERR: A node is used in a different document than the one that created it.
> at org.apache.xerces.dom.ParentNode.internalInsertBefore(Unknown Source)
> at org.apache.xerces.dom.ParentNode.insertBefore(Unknown Source)
> at org.apache.xerces.dom.NodeImpl.appendChild(Unknown Source)
> at org.apache.axis.message.SOAPFaultBuilder.onEndChild(SOAPFaultBuilder.java:305)
> at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1090)
> at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
> at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
> at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
> at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
> at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
> at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
> at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
> at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
> at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
> ... 10 more
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org