AnsweredAssumed Answered

EndPointProxyServlet with POST method

Question asked by dhalupa on May 2, 2009
Latest reply on Jun 15, 2009 by dhalupa
Hi,
yesterday I was playing with an idea to embed Jibe based application within Share page and make it shown inside of site, just as document library application is shown.
After arming myself with basic Share and Surf overview using this excellent tutorial this turned out to be easier than expected. Besides some icons and css issues, jibe repository browser seem to be working nicely embedded into the site page. No cheat with iframe was used :)

However, I faced one issue.. I am not able to invoke web script through proxy using POST method. Looking at the firebug I can see that processing seems to be blocked for about 20sec and after that 302 is returned. Changing the method to GET makes the same request go smoothly.  

Did anybody else has face this issue with EndPointProxyServlet when using POST method?

Small part of log where relevant POST request is processed is shown bellow.

Kind regards,

Denis


41:06,887  DEBUG [scripts.servlet.EndPointProxyServlet] EndPointProxyServlet preparing to proxy:
14:41:06,887  DEBUG [scripts.servlet.EndPointProxyServlet]  - endpointId: alfresco
14:41:06,887  DEBUG [scripts.servlet.EndPointProxyServlet]  - userId: admin
14:41:06,887  DEBUG [scripts.servlet.EndPointProxyServlet]  - connector: http://localhost:8080/alfresco/s - {cleartextUsername=admin, cleartextPassword=admin}
14:41:06,887  DEBUG [scripts.servlet.EndPointProxyServlet]  - method: GET
14:41:06,887  DEBUG [scripts.servlet.EndPointProxyServlet]  - url: /jibe/resource/resources/images/default/layout/mini-top.gif
14:41:06,918  DEBUG [scripts.servlet.EndPointProxyServlet] EndPointProxyServlet preparing to proxy:
14:41:06,934  DEBUG [scripts.servlet.EndPointProxyServlet]  - endpointId: alfresco
14:41:06,934  DEBUG [scripts.servlet.EndPointProxyServlet]  - userId: admin
14:41:06,934  DEBUG [scripts.servlet.EndPointProxyServlet]  - connector: http://localhost:8080/alfresco/s - {cleartextUsername=admin, cleartextPassword=admin}
14:41:06,934  DEBUG [scripts.servlet.EndPointProxyServlet]  - method: POST
14:41:06,934  DEBUG [scripts.servlet.EndPointProxyServlet]  - url: /jibe/dispatch
14:41:06,918  DEBUG [scripts.servlet.EndPointProxyServlet] EndPointProxyServlet preparing to proxy:
14:41:06,918  DEBUG [scripts.servlet.EndPointProxyServlet] EndPointProxyServlet preparing to proxy:
14:41:06,918  DEBUG [scripts.servlet.EndPointProxyServlet] EndPointProxyServlet preparing to proxy:
14:41:06,934  DEBUG [scripts.servlet.EndPointProxyServlet]  - endpointId: alfresco
14:41:06,934  DEBUG [scripts.servlet.EndPointProxyServlet]  - userId: admin
14:41:06,934  DEBUG [scripts.servlet.EndPointProxyServlet]  - connector: http://localhost:8080/alfresco/s - {cleartextUsername=admin, cleartextPassword=admin}
14:41:06,934  DEBUG [scripts.servlet.EndPointProxyServlet]  - method: GET
14:41:06,934  DEBUG [scripts.servlet.EndPointProxyServlet]  - url: /jibe/resource/resources/images/default/s.gif
14:41:06,902  DEBUG [scripts.servlet.EndPointProxyServlet] EndPointProxyServlet preparing to proxy:
14:41:06,934  DEBUG [scripts.servlet.EndPointProxyServlet]  - endpointId: alfresco
14:41:06,934  DEBUG [scripts.servlet.EndPointProxyServlet]  - userId: admin
14:41:06,934  DEBUG [scripts.servlet.EndPointProxyServlet]  - connector: http://localhost:8080/alfresco/s - {cleartextUsername=admin, cleartextPassword=admin}
14:41:06,934  DEBUG [scripts.servlet.EndPointProxyServlet]  - method: GET
14:41:06,934  DEBUG [scripts.servlet.EndPointProxyServlet]  - url: /jibe/resource/resources/images/default/dd/drop-no.gif
14:41:06,934  DEBUG [alfresco.connector.AuthenticatingConnector] Received 200 on first call to: /jibe/resource/resources/images/default/s.gif
14:41:06,934  DEBUG [alfresco.connector.AuthenticatingConnector] Received 200 on secondcall to: /jibe/resource/resources/images/default/s.gif
14:41:06,934  DEBUG [scripts.servlet.EndPointProxyServlet] Return code: 200
14:41:06,934  DEBUG [scripts.servlet.EndPointProxyServlet]  - endpointId: alfresco

Outcomes