Hello all,
I think I'm having a similar problem, if not the same. All I want to do is to have a SoapUI project that is shared among different developers. So all paths must be relative.
I tried setting my WADL file as "file://${projectDir}/../../target/site/wsdocs/application.wadl"
At a first glance it worked: The interface was created, and every available request in the WADL has been found and added. Other configurations as endpoints were also found.
But when I'm trying to create my first step, and SoapUi tries to fetch the request definition, I see the following error popping out on my terminal:
[tt:zn7vwuks]12:03:08,249 ERROR [SoapUI] An error occured [com.eviware.soapui.impl.support.definition.support.InvalidDefinitionException], see error log for details
java.net.UnknownHostException: ${projectDir}
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at java.net.Socket.connect(Socket.java:478)
at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
at sun.net.NetworkClient.openServer(NetworkClient.java:118)
at sun.net.ftp.FtpClient.openServer(FtpClient.java:488)
at sun.net.ftp.FtpClient.openServer(FtpClient.java:475)
at sun.net.www.protocol.ftp.FtpURLConnection.connect(FtpURLConnection.java:270)
at sun.net.www.protocol.ftp.FtpURLConnection.getInputStream(FtpURLConnection.java:352)
at java.net.URL.openStream(URL.java:1010)
at com.eviware.soapui.impl.wsdl.support.wsdl.UrlWsdlLoader.handleFile(UrlWsdlLoader.java:194)
at com.eviware.soapui.impl.wsdl.support.wsdl.UrlWsdlLoader.load(UrlWsdlLoader.java:124)
at com.eviware.soapui.impl.wsdl.support.wsdl.WsdlLoader.loadXmlObject(WsdlLoader.java:121)
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:535)
at com.eviware.soapui.impl.wsdl.support.xsd.SchemaUtils.getDefinitionParts(SchemaUtils.java:524)
at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionCache.update(AbstractDefinitionCache.java:97)
at com.eviware.soapui.impl.support.definition.support.AbstractDefinitionContext$Loader.construct(AbstractDefinitionContext.java:236)
at com.eviware.soapui.support.swing.SwingWorkerDelegator.construct(SwingWorkerDelegator.java:46)
at com.eviware.soapui.support.swing.SwingWorker$2.run(SwingWorker.java:149)
at java.lang.Thread.run(Thread.java:619)
12:05:25,541 ERROR [WsdlLoader] Failed to load url [file://${projectDir}/../../target/site/wsdocs/application.wadl][/tt:zn7vwuks]As consequence, I can't have the definitions automatically filled for me. Having the definitions make everything much more productive.
Can anybody help me? Should I file a bug perhaps? Sorry if what I'm asking has already been answered, but I'm quite a newbie with SoapUI.
Thanks!