Hmm, I don't see how WS fits into the picture, I think you should be looking for some Java SFTP implementations and use that server-side. Or?
OK. I don't even know why I worte down WS. I will probably made it as a WS because I will call it from my BPEL process.
And I don't know any other way to call some java code as realize it as a WS.
But that's not important. We can look it as a JAVA implementation ...
I didn't fount any existing SFTP library in JBoss. That why i installed the Chilkat library. As an application i works well, but when i deployed it through Axis2 (I had to import chilkat.jar when creating an Axis2 archive) i get: native library already loaded in another classloader. To solve that must be very complicated and I don't have this time... writing my own classloader?
That's why I'm looking for a built-in SFTP library!!!
I'm trying now the Jsch library, but don't get it even to work in a application. I think it doens't work with putty generated keys....
There are no built-in libs for that. And this issue is not that much AS-dependent at all, perhaps you should check out the JavaRanch forums for more assistance?
OK. That means I got to import a SFTP library like chilkat, which works running as an application and not deployed on JBoss.
Any idea how to tell JBoss that he should load every libary just once or how to change the classloader so that i avoid the :
native libraby already loaded in another classloader ...
Post a full stack trace, relevant code, where you have the dll:s etc.