This forum is closed to new posts and responses. New discussions are now taking place in the IBM Developer Answers forum.

Nov 10, 2017, 7:02 AM
6 Posts

PUT method doesn't working.

  • Category: Configuring
  • Platform: Windows
  • Release: 9.0.1
  • Role: Administrator
  • Tags:
  • Replies: 4

I have problem with aplication uses PUT method to HTTP domino server.
I get message:  HTTP Web Server: The HTTP method is not allowed for the specified URL [/mail/jsikora.nsf/ical.ics] CN=Jan Sikora/O=epk
on the server console.
I have enabled both "Load Internet configuration from Server/Internet sites documents"
and  PUT methods as described in IBM technote
in the web site document.
Thanks in advance.


Nov 10, 2017, 9:29 AM
203 Posts
Not sure what you're trying to do
is not a valid Domino request.  Unless maybe you have a view called ical.ics ?
Nov 10, 2017, 11:27 AM
196 Posts
ICS import without the use of the UI

Several email and calendar programs such as IBM Notes, Microsoft Outlook, Google Calendar, and Apple Calendar can export and import ICS files. While I can export a calendar entry in my Notes calendar as ICS, it is not stored that way within the NSF. A put could place it on the file system but a separate task would be to do the import of ical.ics to the NSF. Perhaps someone can suggest a means of doing so without the UI (for example, open the ICS, parse it and ingest it).   An example of code from a few years ago is available here:  

Nov 13, 2017, 1:11 AM
35 Posts
3+ options
From the URI I assume you are trying to create a calendar entry from iCalendar data.  You can do that one of 3 ways:

1: Use the C&S APIs that were published in 9.0.  Creating an entry from iCalendar data is as simple as calling the CalCreateEntry() API call and giving it the iCalendar data.

2: Use the REST API.  These have been out there for a while but I have not used them so I cannot give you a specific call to make.  Use your Google-fu to find an example or useful article by one of the REST API developers.

3: Use the File / Import... menu on your Notes client to import iCalendar (Calendar file (.ics)).  You can also save the ICS file to your client system and simply open it from the OS's file explorer.   If you do that I recommend you pick the Import option over the Add option.

You could also get creative and bundle your iCalendar up in a properly formatted RFC 2446 MIME message and send it using SMTP.  However this is not for the faint of heart (or those that do not grok MIME well).

Nov 13, 2017, 4:54 AM
6 Posts
Notes and Thunderbird

OK generally you are right I need this for iCalendar transmit/receving calendar entry.
Our users use both Thunderbird e-mail/calendar and Traveler and IBM iNotes. E-mails work ok but I have problems with calendar.
I have created ical.icl page with embeded calendar view. This feed sends me calendar to Thunderbird OK. In the other side is problem.
I use the  template mail modification of Mat Newman

Thank you for advice. Idea with C&S Api seems OK so I will try to use.


This forum is closed to new posts and responses. New discussions are now taking place in the IBM Developer Answers forum.