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.
Solved! Go to Solution.
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
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
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?
No worries. Have you also tested & debugged with latest Chrome &/or Firefox (to compare with IE 11) ?
Regards,
Jan
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!
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.