07-11-2017 02:35 PM
Hi,
Would anyone had successfully implemented callback URL from alfresco server? I'm connecting through either SAML or PingFederate to get to document residing on Alfresco server, and am partially successful so far.
What I meant by partially successful is that it opens successfully only after I fail for the first time. Second click and so forth (without closing the browser) successfully opens. The testing was done on IE11.
Here's the message I get when I click for the first time:
The Web Script /alfresco/wcservice/api/node/content/workspace/SpacesStore/<alfresco node>/file.txt has responded with a status of 405 - Method Not Allowed.
405 Description: The method specified in the Request-Line is not allowed for the resource identified by the Request-URI.
Message: 06111704 Script url /api/node/content/workspace/SpacesStore/<alfresco node>/file.txt does not support the method POST
Here's similar thread in alfresco community.
Thanks.
07-12-2017 07:50 AM
Hi,
to get to document residing on Alfresco server
That webscript does not support http method POST by default ... you should use http method GET http: Content | Alfresco Documentation
Alternatively, have a look at: Tunneling HTTP methods | Alfresco Documentation
Regards,
Jan
07-12-2017 07:50 AM
Hi,
to get to document residing on Alfresco server
That webscript does not support http method POST by default ... you should use http method GET http: Content | Alfresco Documentation
Alternatively, have a look at: Tunneling HTTP methods | Alfresco Documentation
Regards,
Jan
07-17-2017 07:54 AM
Thanks Jan for the response, and noticing that 'Post' method was being used.
We've actually tried 'Get' method as well, but it also couldn't resolve our ultimate issue of not being able to retrieve the document successfully in first try. Same logic, same code works really well with second click and so forth (within same session, and same browser, of course). Initially, I was leaning toward blaming IE11 thinking that it may have been preventing preservation of session/cache within first click. But could this whole issue really be happening because 'Get' method was not used?
07-17-2017 09:14 AM
No worries. Have you also tested & debugged with latest Chrome &/or Firefox (to compare with IE 11) ?
Regards,
Jan
08-07-2017 02:51 PM
Hello, sorry for late response as I was carried away with another project. So, with other integration we had earlier for 4.2 Alfresco, Chrome & Firefox worked fine interestingly. I'll probably need to dig down from both end, IE 11 & Webscript, to see what is really going on. Thanks for all your inputs!
Explore our Alfresco products with the links below. Use labels to filter content by product module.