How to write path to location in XML/WSDL doc in Rails?
问题 I have a WSDL doc with XSD import. <xsd:import namespace="http://site.com" schemaLocation="schema.xsd"/> WSDL tool assumes that schema is in the same directory, but load fails in rails with error <RuntimeError: Unable to find schema for "http://site.com"> I've tried write path from rails root and from system root, but with no success. I use Savon 3 to deal with WSDL in rails. SoapUI works with this schemas normally. So, what is the right way to write this path? 来源: https://stackoverflow.com