I am trying to consume Java Web Service consumer via LS2J and it does not seem to work with LS2J.
I have created Java Web Service consumer from a WSDL file that was created by Apache Axis version 1.4 (outside of Domino). I then wrote a Java class, in a Java library, to call the Web Service, as well as a LotusScript (LS2J) library as a wrapper class to the Java class that calls the Web Service. When I run this from the LotusScript Agent is returning an error message that looks like this :
lotus.domino.axis.InternalException: lotus.domino.axis.ConfigurationException: lotus.domino.axis.ConfigurationException: No engine configuration file - aborting!
lotus.domino.axis.ConfigurationException: No engine configuration file - aborting!
at lotus.domino.axis.configuration.FileProvider.configureEngine(Unknown Source)
at lotus.domino.axis.AxisEngine.init(Unknown Source)
at lotus.domino.axis.AxisEngine.<init>(Unknown Source)
at lotus.domino.axis.client.Service.getAxisClient(Unknown Source)
at lotus.domino.axis.client.Service.<init>(Unknown Source)
at za.co.aesir.mfc.adobe.action.PDFRenderActionServiceLocator.<init>(PDFRenderActionServiceLocator.java:6)
at PDFRenderActionWrapper.methodCallService(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:599)
at lotus.domino.JavaConnectInvoker.invoke(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:599)
at lotus.domino.JavaConnectLoader.invoke(Unknown Source)
When I call the same Java Web Service class (in Java library) from the Java Agent everything works fine. .
I am running version 8.5.1 Lotus Notes running on Windows XP.