Service Desk Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Webapi AttachmentServer

Highlighted
Stefan Stroebel
Acclaimed Contributor

Webapi AttachmentServer

Oringinally I was receivng this error when running a command line version or an HTTP servlet version. (error bwlow).

I added libftp.jar from
C:\Program Files\Hewlett-Packard\OpenView\service desk 4.5\client\lib to my server class path and can sucesfully run the command line version but I still receive the error when running the HTTP VERSION.


Exception in thread "main" java.lang.NoClassDefFoundError: com/hp/ftpclient/FtpException
at com.hp.ifc.attachments.ftp.FTP.openAttachmentServer(Unknown Source)
at com.hp.ifc.attachments.AttachmentServer.openAttachmentServer(Unknown Source)
at com.hermes.si.SDWebApiExample.main(SDWebApiExample.java:77)


My webserver where the http servlet is running is on a different server than Service Desk.
//Add this to "OnDomLoad" event