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

web api errors after regenerating web-api.jar

Highlighted
Deakin_1
Occasional Advisor

web api errors after regenerating web-api.jar

Hello all,
I recently posted a query about what I thought were missing methods in the java API (http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1290375).
The solution to that problem was to regenerate the API based on the following document: doc/itsm008292

I've done that, and my API and javadoc looks up-to-date now. I'm getting sporadic "Failed communicating with the server." errors in my code now when I use the regenerated API.

08/11/24 14:19:25 Failed communicating with the server.
Nested exception is:
com.hp.ifc.io.AppStreamException: Unexpected EOF.


servicedesk 4.5.0588.1805 (SP18)
web api compiled with java j2re.1.4.2_18 and ant 1.7.1
the java version on our application server is 1.4.2_09
2 REPLIES
Deakin_1
Occasional Advisor

Re: web api errors after regenerating web-api.jar

I resolved this issue. I recompiled the web API using java jdk1.4.2_08 instead of j2re1.4.2_18
Deakin_1
Occasional Advisor

Re: web api errors after regenerating web-api.jar

recompiled web api using j2sdk1.4.2_08
//Add this to "OnDomLoad" event