[
https://issues.apache.org/jira/browse/AXIS2-4764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15305534#comment-15305534
]
Hudson commented on AXIS2-4764:
-------------------------------
SUCCESS: Integrated in Axis2 #3533 (See
[https://builds.apache.org/job/Axis2/3533/])
Overhaul of the admin console:
- Separate mutating actions from non mutating actions. Eventually all mutating
actions should become POST requests (see AXIS2-4764) and all non mutating
actions GET requests.
- Modify mutating actions so that instead of returning a view, they redirect to
non mutating actions after completion. This avoids the form resubmission
problem.
- Introduce a mechanism to display status messages after a redirect.
- Improve naming consistency. (veithen: rev 1745912)
* axis2/modules/webapp/conf/web.xml
* axis2/modules/webapp/src/main/java/org/apache/axis2/webapp/AdminActions.java
*
axis2/modules/webapp/src/main/java/org/apache/axis2/webapp/AxisAdminServlet.java
* axis2/modules/webapp/src/main/java/org/apache/axis2/webapp/Redirect.java
* axis2/modules/webapp/src/main/java/org/apache/axis2/webapp/Status.java
* axis2/modules/webapp/src/main/java/org/apache/axis2/webapp/StatusCache.java
* axis2/modules/webapp/src/main/webapp/WEB-INF/include/LeftFrame.jsp
* axis2/modules/webapp/src/main/webapp/WEB-INF/tags
* axis2/modules/webapp/src/main/webapp/WEB-INF/tags/status.tag
* axis2/modules/webapp/src/main/webapp/WEB-INF/views/admin/ActivateService.jsp
*
axis2/modules/webapp/src/main/webapp/WEB-INF/views/admin/EngageToServiceGroup.jsp
* axis2/modules/webapp/src/main/webapp/WEB-INF/views/admin/InActivateService.jsp
* axis2/modules/webapp/src/main/webapp/WEB-INF/views/admin/ListServiceGroup.jsp
* axis2/modules/webapp/src/main/webapp/WEB-INF/views/admin/SelectService.jsp
* axis2/modules/webapp/src/main/webapp/WEB-INF/views/admin/ServiceParaEdit.jsp
* axis2/modules/webapp/src/main/webapp/WEB-INF/views/admin/ViewContexts.jsp
*
axis2/modules/webapp/src/main/webapp/WEB-INF/views/admin/ViewGlobalHandlers.jsp
*
axis2/modules/webapp/src/main/webapp/WEB-INF/views/admin/ViewServiceHandlers.jsp
* axis2/modules/webapp/src/main/webapp/WEB-INF/views/admin/activateService.jsp
* axis2/modules/webapp/src/main/webapp/WEB-INF/views/admin/deactivateService.jsp
* axis2/modules/webapp/src/main/webapp/WEB-INF/views/admin/deleteService.jsp
* axis2/modules/webapp/src/main/webapp/WEB-INF/views/admin/disengage.jsp
*
axis2/modules/webapp/src/main/webapp/WEB-INF/views/admin/editServiceParameters.jsp
* axis2/modules/webapp/src/main/webapp/WEB-INF/views/admin/engageGlobally.jsp
* axis2/modules/webapp/src/main/webapp/WEB-INF/views/admin/engageToOperation.jsp
* axis2/modules/webapp/src/main/webapp/WEB-INF/views/admin/engageToService.jsp
*
axis2/modules/webapp/src/main/webapp/WEB-INF/views/admin/engageToServiceGroup.jsp
* axis2/modules/webapp/src/main/webapp/WEB-INF/views/admin/engagingglobally.jsp
*
axis2/modules/webapp/src/main/webapp/WEB-INF/views/admin/engagingtoanoperation.jsp
*
axis2/modules/webapp/src/main/webapp/WEB-INF/views/admin/engagingtoaservice.jsp
* axis2/modules/webapp/src/main/webapp/WEB-INF/views/admin/listService.jsp
* axis2/modules/webapp/src/main/webapp/WEB-INF/views/admin/listServiceGroups.jsp
* axis2/modules/webapp/src/main/webapp/WEB-INF/views/admin/listServices.jsp
* axis2/modules/webapp/src/main/webapp/WEB-INF/views/admin/upload.jsp
* axis2/modules/webapp/src/main/webapp/WEB-INF/views/admin/viewContexts.jsp
* axis2/modules/webapp/src/main/webapp/WEB-INF/views/admin/viewGlobalChains.jsp
*
axis2/modules/webapp/src/main/webapp/WEB-INF/views/admin/viewOperationSpecificChains.jsp
> Axis 2 Admin Console generates HTTP 414 Request Too Large
> ---------------------------------------------------------
>
> Key: AXIS2-4764
> URL: https://issues.apache.org/jira/browse/AXIS2-4764
> Project: Axis2
> Issue Type: Bug
> Components: admin console
> Affects Versions: 1.5.1
> Reporter: Olivier Vanekem
> Assignee: Andreas Veithen
> Attachments: ServiceParaEdit.jsp
>
>
> We are using Axis 2 and the Admin console to edit some application specific
> parameters.
> However we found out that when the console is located behind a reverse proxy
> server such as Apache HTTP server, we receive a HTTP 414 Request Too Large
> error when trying to modify the parameters.
> This is due to the following :
> Our Web service uses WSDL2Java generated classes (including the skeleton) and
> the console shows a generated parameter called wsdl4jDefinition which is very
> large (up to 12000 characters for one of our services).
> When clicking on the button 'Change' in the console Edit parameters form, the
> actual HTML form method is a GET. This means that all attributes on the form
> will end on the URL and passed by to the axis2-admin/editServicepara servlet.
> This is also not good from a security point of view since all parameters will
> appear appended to the browser url.
> The correct solution is to change the GET into a POST. Attached is the
> ServiceParaEdit.jsp that contains this patch.
> Rgds
> Olivier
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]