org.apache.xmlbeans.XmlException: error: Unexpected end of file after null soapui bamboo
I have a bamboo plan which utilises a junit test to call SOAP UI tests.
while trying to load the soap ui project file via the SOAP UI API like below:
String path = "something";
SoapUITestCaseRunner testCaseRunner = new SoapUITestCaseRunner();
testCaseRunner.setProjectFile(path);
i am getting an exception "org.apache.xmlbeans.XmlException: error: Unexpected end of file after null"
The soap ui project runs fine when i run it from the SOAP UI interace itself.
This used to work just fine some time back, i havent made any changes to any parts of the code.
Except i keep seeing the following lines now in my soap ui project file:
<con:content><![CDATA[<wsdl:definitions targetNamespace="something.com" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="something.com" xmlns:intf="something.com" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
Any ideas on what is going wrong here?