we are trying to develop Web Service Consumer in Lotus Notes in Java. We have used the automatic generated source code from Lotus Designer according to the wsdl file.
Calling methods from generated stubs in consumer from Local machine is working fine. But after setting an agent to run on Domino server this exception is screaming in log file:
02.06.2014 17:32:25 AMgr: Agent ('AttachmentDownloadServer' in 'test/AttachmentsDownload2.nsf') error message: No client transport named 'null' found!
02.06.2014 17:32:25 AMgr: Agent ('AttachmentDownloadServer' in 'test/AttachmentsDownload2.nsf') error message: at lotus.domino.axis.client.AxisClient.invoke(Unknown Source)
02.06.2014 17:32:25 AMgr: Agent ('AttachmentDownloadServer' in 'test/AttachmentsDownload2.nsf') error message: at lotus.domino.axis.client.Call.invokeEngine(Unknown Source)
02.06.2014 17:32:25 AMgr: Agent ('AttachmentDownloadServer' in 'test/AttachmentsDownload2.nsf') error message: at lotus.domino.axis.client.Call.invoke(Unknown Source)
02.06.2014 17:32:25 AMgr: Agent ('AttachmentDownloadServer' in 'test/AttachmentsDownload2.nsf') error message: at lotus.domino.axis.client.Call.invoke(Unknown Source)
02.06.2014 17:32:25 AMgr: Agent ('AttachmentDownloadServer' in 'test/AttachmentsDownload2.nsf') error message: at lotus.domino.axis.client.Call.invoke(Unknown Source)
02.06.2014 17:32:25 AMgr: Agent ('AttachmentDownloadServer' in 'test/AttachmentsDownload2.nsf') error message: at lotus.domino.axis.client.Call.invoke(Unknown Source)
02.06.2014 17:32:25 AMgr: Agent ('AttachmentDownloadServer' in 'test/AttachmentsDownload2.nsf') error message: at lotus.domino.websvc.client.Call.invoke(Unknown Source)
We have already tried to append the library websvc.jar to the java library (we are not able to append it to the webservice consumer, because of the error: "The Script Libarary cannot be saved. The changes made to the generated source code would prevent its proper operation"). But it didnt help us.
We are developed it for the 8.5.3FP6 Domino Server in the 9.0.1FP1 Designer. We have tried to run this on 9.0.1 Domino Server as well, but with the same error.
Has anybody already seen this error? Any solution?
Further details:
I'm using the generated source code from Designer, where the lotus.domino.websvc.client.*
classes used.
I thought that the Domino Server has access to that classes. The error is created in calling the invoke method in
lotus.domino.websvc.client.Call _call = createCall("xxx");
java.lang.Object _resp = _call.invoke(new java.lang.Object[] {pInputXml});
So the request isn't sent to Web Service Provider.