lotus-domino

How can I call a SOAP 1.2 Web service from a LotusScript agent?

柔情痞子 提交于 2019-12-01 13:06:05
I'm using a Lotus Domino 9 on a windows Server I must call a Soap 1.2 web service that is not maintained anymore The Lotus Web service consumers only accepts Soap 1.1 web services, So I cannot use this nice feature to bind my web services. Is it possible to call a Soap 1.2 web service from my LotusScript agent and if yes, what are the needed steps ? Finally I found a solution using the XMLHTTP object Sub Initialize Dim xmlhttp As Variant dim DOMDocument As Variant Dim soapEnvelope As String Dim webService As String dim username As String Dim password As String Dim strxml As String Set xmlhttp

How can I call a SOAP 1.2 Web service from a LotusScript agent?

倖福魔咒の 提交于 2019-12-01 11:38:52
问题 I'm using a Lotus Domino 9 on a windows Server I must call a Soap 1.2 web service that is not maintained anymore The Lotus Web service consumers only accepts Soap 1.1 web services, So I cannot use this nice feature to bind my web services. Is it possible to call a Soap 1.2 web service from my LotusScript agent and if yes, what are the needed steps ? 回答1: Finally I found a solution using the XMLHTTP object Sub Initialize Dim xmlhttp As Variant dim DOMDocument As Variant Dim soapEnvelope As

How do I setup CORS on Lotus Domino?

a 夏天 提交于 2019-12-01 09:33:43
I'm attempting to communicate with Domino via REST via a cross domain request, but I'm encountering an issue. I've setup an Internet Site document with the IP Address, localhost and a server name listed as the host names. The internet site is working as a redirect rule I've setup on that internet site is working. I've also setup a Web Site Rule with the following: Now when I attempt to hit the rest.xsp page via an html GET request I'm getting this error: XMLHttpRequest cannot load http://192.168.1.104/testing/restService.nsf/rest.xsp/testRest?reqType=UserCanAc…TOP&startId

Remove Lotus Notes design element inheritance programmatically

一个人想着一个人 提交于 2019-12-01 09:33:05
问题 As part of an effort to create a rudimentary revision control system, I would like to programmatically disable design element level inheritance on a Lotus Notes template. I have so far tried the following: DXL export (ForceNoteFormat=true) + XSLT. This failed with a validation problem in the importer, on fields(!). DXL export (ForceNoteFormat=false) + XSLT. Seems to work, but I'd rather not use a DXL solution for something this general. An area I would like to explore: Loop over all (design)

Domino Agent struggling with Java security using third party jar in /jvm/lib/ext

北城以北 提交于 2019-12-01 06:25:42
I am running into a Java security problem. I have an agent which uses the pdfbox-1.7.1.jar to decrypt a PDF whose password I know. The jar has been placed in /jvm/lib/ext on both the server and my client, and I get this little beauty of a stack trace: java.lang.SecurityException at java.lang.SecurityManager.checkPermission(SecurityManager.java:582) at COM.ibm.JEmpower.applet.AppletSecurity.checkSecurityPermission(AppletSecurity.java:1332) at COM.ibm.JEmpower.applet.AppletSecurity.checkPermission(AppletSecurity.java:1613) at COM.ibm.JEmpower.applet.AppletSecurity.checkPermission(AppletSecurity

Is a COMException of 0x80040154 always 'Class not registered'?

依然范特西╮ 提交于 2019-12-01 05:55:37
Does a System.Runtime.InteropServices.COMException of 0x80040154 always mean that the class isn't registered? I'm getting a COMException which says "Retrieving the COM class factory for component with CLSID {29131539-2EED-1069-BF5D-00DD011186B7} failed due to the following error: 80040154." It's trying to load Interop.Domino.dll which is a reference I got from the COM tab of Add Reference called "Lotus Domino Objects" which points to domobj.tlb in the Notes program folder. I wrote the code years ago - it's the only thing I've ever done with interop and it's fair to say that I never really got

Is a COMException of 0x80040154 always 'Class not registered'?

这一生的挚爱 提交于 2019-12-01 03:38:22
问题 Does a System.Runtime.InteropServices.COMException of 0x80040154 always mean that the class isn't registered? I'm getting a COMException which says "Retrieving the COM class factory for component with CLSID {29131539-2EED-1069-BF5D-00DD011186B7} failed due to the following error: 80040154." It's trying to load Interop.Domino.dll which is a reference I got from the COM tab of Add Reference called "Lotus Domino Objects" which points to domobj.tlb in the Notes program folder. I wrote the code

Reading Lotus Notes & Domino Mailbox using Interop.Domino.dll

房东的猫 提交于 2019-12-01 02:10:24
I would like to populate the list of mailboxes from "Mail" folder of Domino using C# and Interop.Domino.dll. I can connect to the Notes database and access all nsf files, but how can I access only the nsf files in the Mail Folder? I am using below code: while (_localDatabase != null) { dbString = _localDatabase.Title; TreeNode objRootNode = new TreeNode(dbString); objForm.tvwExchDomain.Nodes.Add(objRootNode); dbCount = dbCount + 1; _localDatabase = dir.GetNextDatabase(); } Kindly suggest me some links or sample code which will make my work simpler. I am using Domino Server 8.5. To return only

XPages disableOutput tag issue

本小妞迷上赌 提交于 2019-11-30 21:41:51
Has anyone experienced an issue with disableOutputTag property where if you disable output tag for a computed field control inside a repeat control and have ssjs computed content inside that tag, it won't compute the content? Is disableOutputtag property only meant to work with static content inside a repeat control or is it a bug? I don't know whether its a bug or not, but you can emulate the behavior of disableOutputTag by removing the ID attribute from and setting the disableTheme attribute to true. Maybe this helps you in short term. EDIT: You can refer here for more information.

Reading Lotus Notes & Domino Mailbox using Interop.Domino.dll

[亡魂溺海] 提交于 2019-11-30 20:27:54
问题 I would like to populate the list of mailboxes from "Mail" folder of Domino using C# and Interop.Domino.dll. I can connect to the Notes database and access all nsf files, but how can I access only the nsf files in the Mail Folder? I am using below code: while (_localDatabase != null) { dbString = _localDatabase.Title; TreeNode objRootNode = new TreeNode(dbString); objForm.tvwExchDomain.Nodes.Add(objRootNode); dbCount = dbCount + 1; _localDatabase = dir.GetNextDatabase(); } Kindly suggest me