[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/excorporate 34827cc 06/93: packages/excorporate: Retrie
From: |
Stefan Monnier |
Subject: |
[elpa] externals/excorporate 34827cc 06/93: packages/excorporate: Retrieve Services.wsdl directly |
Date: |
Sun, 29 Nov 2020 15:42:56 -0500 (EST) |
branch: externals/excorporate
commit 34827cc69036188495101e2f0b40faac557f67cc
Author: Thomas Fitzsimmons <fitzsim@fitzsim.org>
Commit: Thomas Fitzsimmons <fitzsim@fitzsim.org>
packages/excorporate: Retrieve Services.wsdl directly
* packages/excorporate/excorporate.el (exco--fsm): Retrieve
Services.wsdl directly, instead of via the endpoint.
---
excorporate.el | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/excorporate.el b/excorporate.el
index 9b1db7d..c32f798 100644
--- a/excorporate.el
+++ b/excorporate.el
@@ -451,8 +451,10 @@ the FSM should transition to on success."
(:unrecoverable-error
(list :shutting-down-on-error state-data nil))
(:retrieve-xml
- (let ((service-url (plist-get state-data :service-url)))
- (url-retrieve (concat service-url "?wsdl")
+ (let* ((service-url (plist-get state-data :service-url))
+ (wsdl-url (replace-regexp-in-string "/[^/]*$" "/Services.wsdl"
+ service-url)))
+ (url-retrieve wsdl-url
(lambda (status)
(let ((data-buffer (current-buffer)))
(unwind-protect
@@ -460,7 +462,7 @@ the FSM should transition to on success."
(progn
(plist-put state-data :failure-message
(format "Failed to retrieve %s"
- service-url))
+ wsdl-url))
(fsm-send fsm :unrecoverable-error))
(plist-put state-data
:service-xml
- [elpa] externals/excorporate 96a76cd 90/93: Excorporate: Adjust some URLs in the manual, (continued)
- [elpa] externals/excorporate 96a76cd 90/93: Excorporate: Adjust some URLs in the manual, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 47d2698 32/93: packages/excorporate: Support diary on Emacs 24.1, 24.2, 24.3, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 77030b3 37/93: packages/excorporate: Fix generated whitespace issue, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 7849d8f 42/93: excorporate-diary: Add feature idea comment, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate f3888e1 77/93: Excorporate: Require Org 9.0 or newer, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 2f76f57 71/93: Excorporate: Change organizer representation, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 30cc0bd 63/93: Excorporate: Add appointment deletion in Org buffer, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 538e908 68/93: Excorporate: Support cancelling meetings in Org buffer, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 8e7779a 81/93: Excorporate: Expand responses in API usage examples, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 5f81163 88/93: Excorporate: Fix a byte-compilation warning, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 34827cc 06/93: packages/excorporate: Retrieve Services.wsdl directly,
Stefan Monnier <=
- [elpa] externals/excorporate da2b980 08/93: packages/excorporate: Improve exco-get-meetings-for-day, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate da594da 14/93: packages/excorporate: Bump version to 0.7.3, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 68c5585 17/93: packages/excorporate: Interoperate with `save-some-buffers', Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 52d6067 21/93: excorporate.el: Bump version to 0.7.6, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 7e855f7 23/93: excorporate.el: Bump soap-client requirement to 3.1.4, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate a588ff6 27/93: packages/excorporate: Bump version to 0.7.7, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate 23e514f 33/93: packages/excorporate: Mention appt features in documentation, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate e788f73 38/93: Advise icalendar--add-diary-entry conditionally, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate eb2430f 34/93: packages/excorporate: Bump version to 0.8.0, Stefan Monnier, 2020/11/29
- [elpa] externals/excorporate a8ba2d4 30/93: packages/excorporate: Add diary and appt integration, Stefan Monnier, 2020/11/29