axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (Resolved) (JIRA)" <axis-...@ws.apache.org>
Subject [jira] [Resolved] (AXIS-2705) SOAPFaultBuilder throws DOMException WRONG_DOCUMENT_ERR
Date Sun, 29 Jan 2012 15:31:10 GMT

     [ https://issues.apache.org/jira/browse/AXIS-2705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andreas Veithen resolved AXIS-2705.
-----------------------------------

    Resolution: Fixed
      Assignee: Andreas Veithen
    
> 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
>            Assignee: Andreas Veithen
>             Fix For: 1.4.1
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message