Wednesday, August 6, 2014

Problems with WSDL files in Coldfusion 11 using XSD's or other external files

Another gotcha when using externals WSDL files in Coldfusion 11 webservices: you can not use relative references in the files, all references should be absolute:

Will not work anymore:
<xsd:include schemaLocation="somefile.xsd" />

Should be:
<xsd:include schemaLocation="http://www.somesite.com/somefile.xsd" />

No comments:

Post a Comment