Ruud
9 years agoNew Contributor
ERROR:org.apache.xmlbeans.impl.values.XmlValueDisconnectedException when updating interface
When updating interface in large project (Ready! API 1.8.0), update fails
Error log states:
- Wed Sep 07 14:39:35 CEST 2016:ERROR:org.apache.xmlbeans.impl.values.XmlValueDisconnectedException
- org.apache.xmlbeans.impl.values.XmlValueDisconnectedException
- at org.apache.xmlbeans.impl.values.XmlObjectBase.check_orphaned(XmlObjectBase.java:1244)
- at com.eviware.soapui.config.impl.OperationConfigImpl.getBindingOperationName(Unknown Source)
- at com.eviware.soapui.impl.wsdl.WsdlOperation.getBindingOperationName(WsdlOperation.java:382)
- at com.eviware.soapui.impl.wsdl.WsdlOperation.createRequest(WsdlOperation.java:182)
- at com.eviware.soapui.impl.wsdl.actions.iface.UpdateInterfaceAction.recreateRequests(UpdateInterfaceAction.java:182)
- at com.eviware.soapui.impl.wsdl.actions.iface.UpdateInterfaceAction.afterUpdate(UpdateInterfaceAction.java:152)
- at com.eviware.soapui.impl.wsdl.actions.iface.UpdateInterfaceAction.perform(UpdateInterfaceAction.java:126)
- at com.eviware.soapui.impl.wsdl.actions.iface.UpdateInterfaceAction.perform(UpdateInterfaceAction.java:1)
- at com.eviware.soapui.support.action.swing.SwingActionDelegate.actionPerformed(SwingActionDelegate.java:128)
- at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
- at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
- at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
- at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
- at javax.swing.AbstractButton.doClick(Unknown Source)
- at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
- at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
- at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
- at java.awt.Component.processMouseEvent(Unknown Source)
- at javax.swing.JComponent.processMouseEvent(Unknown Source)
- at java.awt.Component.processEvent(Unknown Source)
- at java.awt.Container.processEvent(Unknown Source)
- at java.awt.Component.dispatchEventImpl(Unknown Source)
- at java.awt.Container.dispatchEventImpl(Unknown Source)
- at java.awt.Component.dispatchEvent(Unknown Source)
- at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
- at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
- at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
- at java.awt.Container.dispatchEventImpl(Unknown Source)
- at java.awt.Window.dispatchEventImpl(Unknown Source)
- at java.awt.Component.dispatchEvent(Unknown Source)
- at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
- at java.awt.EventQueue.access$500(Unknown Source)
- at java.awt.EventQueue$3.run(Unknown Source)
- at java.awt.EventQueue$3.run(Unknown Source)
- at java.security.AccessController.doPrivileged(Native Method)
- at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
- at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
- at java.awt.EventQueue$4.run(Unknown Source)
- at java.awt.EventQueue$4.run(Unknown Source)
- at java.security.AccessController.doPrivileged(Native Method)
- at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
- at java.awt.EventQueue.dispatchEvent(Unknown Source)
- at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
- at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
- at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
- at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
- at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
- at java.awt.EventDispatchThread.run(Unknown Source)
It looks like the reason for not updating properly were some old resources in the REST interface.
In the corresponding SOAP interface they were already gone, so not cleaned up properly after an interface update.
The xml file in the SOAP folder (I.......Service\GetXXXXX.xml) has not been cleaned up after updating the interface. Needed to delete the file manually.
After that I could successfully update all the interfaces.
Looks like composite projects don't cleanup the xml files all the time.