WRONG_DOCUMENT_ERR: when using tWebServiceInput Component

One Star

WRONG_DOCUMENT_ERR: when using tWebServiceInput Component

Hello thank you for helping.
I am using the advanced setting of this component to build the required SOAP message to retrieve data from InsideSales.com.
I used the WSDL2Java button to create the needed routines, and I am able to login using those routines. The trouble comes when building the necessary filters to retrieve the targeted information. I get a WRONG_DOCUMENT_ERR: on the building the XML. I saw a few posts online that reference a bug in axis but I don't know if it is relevent: https://issues.apache.org/jira/browse/AXIS-2705
The url for the WSDL = "https://fphc.insidesales.com/do=noauth/soap/service?wsdl"
here is my code from the advanced settings tab:
routines.AllInsideSalesServicesPortType inSalesSoap = new routines.AllInsideSalesServicesServiceLocator().getAllInsideSalesServicesPort();
routines.AllInsideSalesServicesBindingStub stub = (routines.AllInsideSalesServicesBindingStub)inSalesSoap;

boolean result = inSalesSoap.login("secretuser", "secretpw", "secretsecuritytoken");
System.out.println("the successful login attempt is " + result);
String[] values = {"false"};
routines.Filter empFilter1 = new routines.Filter("deleted","=",values);
routines.Filter empFilters[] = {empFilter1};
routines.Employee[] resultEmp = inSalesSoap.getEmployees(empFilters, 0, 0);

The error looks like this:
Exception in component tWebServiceInput_2
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 com.sun.org.apache.xerces.internal.dom.ParentNode.internalInsertBefore(Unknown Source)
at com.sun.org.apache.xerces.internal.dom.ParentNode.insertBefore(Unknown Source)
at com.sun.org.apache.xerces.internal.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 com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.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 routines.AllInsideSalesServicesBindingStub.getEmployees(AllInsideSalesServicesBindingStub.java:2287)
at insidesalesconversion.fortestingonly_0_1.ForTestingOnly.tWebServiceInput_2Process(ForTestingOnly.java:601)
at insidesalesconversion.fortestingonly_0_1.ForTestingOnly.runJobInTOS(ForTestingOnly.java:919)
at insidesalesconversion.fortestingonly_0_1.ForTestingOnly.main(ForTestingOnly.java:761)
{http://xml.apache.org/axis/}hostname:ws795-1
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 routines.AllInsideSalesServicesBindingStub.getEmployees(AllInsideSalesServicesBindingStub.java:2287)
at insidesalesconversion.fortestingonly_0_1.ForTestingOnly.tWebServiceInput_2Process(ForTestingOnly.java:601)
at insidesalesconversion.fortestingonly_0_1.ForTestingOnly.runJobInTOS(ForTestingOnly.java:919)
at insidesalesconversion.fortestingonly_0_1.ForTestingOnly.main(ForTestingOnly.java:761)
Caused by: org.w3c.dom.DOMException: WRONG_DOCUMENT_ERR: A node is used in a different document than the one that created it.
at com.sun.org.apache.xerces.internal.dom.ParentNode.internalInsertBefore(Unknown Source)
at com.sun.org.apache.xerces.internal.dom.ParentNode.insertBefore(Unknown Source)
at com.sun.org.apache.xerces.internal.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 com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)
at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
... 12 more
One Star

Re: WRONG_DOCUMENT_ERR: when using tWebServiceInput Component

did you have any luck with this Scott? I'm seeing the same error..
-Jesal
One Star

Re: WRONG_DOCUMENT_ERR: when using tWebServiceInput Component

Any updates as to how to fix this? I getting the same DOM_DOCUMENT_ERR.