ckorakidis
12 years agoNew Contributor
Problem with path of xsds on linux
Hi,
I have deployed as war some mocks in my local tomcat and I have a problem with paths used.
The error I'm getting in logs is
After some investigation, I discovered that possibly it could be related to
If you compare these two versions:
1: http://www.massapi.com/source/soapui-4.0.0/src/java/com/eviware/soapui/impl/support/definition/support/InterfaceCacheDefinitionLoader.java.html
2: http://www.soapui.org/xref/com/eviware/soapui/impl/support/definition/support/InterfaceCacheDefinitionLoader.html
You'll find out that in the first, it is
Possibly this is the reason of the problem, but it could be something else.
Any ideas on how to fix it?
Thanks.
I have deployed as war some mocks in my local tomcat and I have a problem with paths used.
The error I'm getting in logs is
which seems to be suitable for windows, instead linux.
[AbstractWsdlDefinitionLoader] Failed to find [file:\home\user\path\INSQBWebServiceCommonFault.xsd] in InterfaceCache
After some investigation, I discovered that possibly it could be related to
InterfaceCacheDefinitionLoader.loadXmlObject( String url, XmlOptions options )
If you compare these two versions:
1: http://www.massapi.com/source/soapui-4.0.0/src/java/com/eviware/soapui/impl/support/definition/support/InterfaceCacheDefinitionLoader.java.html
2: http://www.soapui.org/xref/com/eviware/soapui/impl/support/definition/support/InterfaceCacheDefinitionLoader.html
You'll find out that in the first, it is
url = url.replace( '/', '\\' );while in the second
url = url.replace( '/', '//' );
Possibly this is the reason of the problem, but it could be something else.
Any ideas on how to fix it?
Thanks.