Forum Discussion

mgrondma's avatar
mgrondma
New Member
9 years ago

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

Hi,

 

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] (SoapUI.java:1088) - An error occured [com.eviware.soapui.impl.wsdl.support.xsd.SchemaException], see error log for details
2016-06-05 12:46:02,569 ERROR [SwingWorker] (SoapUI.java:1095) - com.eviware.soapui.impl.wsdl.support.xsd.SchemaException
SOAP UI: 2016-06-05 12:46:02,597 ERROR [pool-1-thread-1] (AbstractDefinitionContext.java:149) - Error loading schema error: pattern-regex: The regular expression '^.{0,255}?$' is malformed: Unexpected meta character.
S

 

 

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?

 

thanks,

Meital.