Skip to Content
0
Former Member
Nov 16, 2004 at 05:11 PM

Webservice using AXIS & Tomcat Can never connect using Jco

62 Views

I know I must be doing something wrong. I wrote a Webservice to to create a sales order in SAP. OK testing outside Tomcat/AXIS it works great. However when I deploy as a webservice the same code causes java.lang.reflect.InvocationTargetException

Has anyone seen this before. With debug prints I see the the failure occurs right at the call to createClient.

mConnection = JCO.createClient(SAPCLIENT,

SAPUSER,

PASSWORD,

LANGUAGE,

APPSERVER,

SYSTEMNUMBER);

I'm using AXIS 1.1 and tomcat provided by java web services development pack 1.3 and JCO 2.0.9

Thanks in advance