-
Nov 19th, 2010, 03:41 AM
#1
SFTP namespace handler?
We're trying to use the sftp namespace to perform an outbound SFTP file transfer.
If we specify the 2.0 xsd as per the documentation, we get an XML parsing exception: "Attribute 'session-factory' is not allowed to appear in element 'sftp:outbound-channel-adapter'.".
If we leave out the 2.0, we get another XML parsing exception that says the string "SpringSource |" is illegal in a schema element. In this case the server is clearly trying to resolve the XSD by going out to the web, where the URL http://www.springframework.org/schem...ation-sftp.xsd gets redirected to the SpringSource home page.
Even when we do include the 2.0 part of the URL, though, it seems like the server must be trying to resolve the namespace on the web, since the classpath XSD permits (indeed, requires) the session-factory attribute.
We're using the latest (Nov 18) 2.0 snapshot builds for all of Spring Integration. Our server is Virgo 2.1.0-RELEASE. We've made absolutely certain that there's no other version of the SI jars in the Virgo repositories. OS is Ubuntu 10.04.
The spring.handlers and spring.schema files in META-INF inside the sftp jar seem correct.
On an earlier post one of the lead developers said the SFTP and related elements are still undergoing some pretty rapid changes (which is why we're using the nightlies and not just RC2). Is there some other link in the chain that's just not quite there yet?
Thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules