Forum Discussion

mgrondma's avatar
New Member
9 years ago

parsing wsdl works on soapui gui but throws exception from the java



i am working with soapui java api.(version 4.5.1)

trying to import wsdl from file using:

wsdls = WsdlImporter.importWsdl(project, wsdlFile.getURI());

and i get:


 SOAP UI: 2016-06-05 12:46:02,569 ERROR [SwingWorker] ( - An error occured [], see error log for details
2016-06-05 12:46:02,569 ERROR [SwingWorker] ( -
SOAP UI: 2016-06-05 12:46:02,597 ERROR [pool-1-thread-1] ( - Error loading schema error: pattern-regex: The regular expression '^.{0,255}?$' is malformed: Unexpected meta character.



the thing is, that when i import via the soap ui gui, i still see these error in the soap ui log, but the parsing succeed.


how can i igonre the errors and parse anyway like in soap ui gui?