You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Andreas Veithen (JIRA)" <ji...@apache.org> on 2016/05/28 20:15:12 UTC
[jira] [Resolved] (AXIS2-4764) Axis 2 Admin Console generates HTTP
414 Request Too Large
[ https://issues.apache.org/jira/browse/AXIS2-4764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Veithen resolved AXIS2-4764.
------------------------------------
Resolution: Fixed
Fix Version/s: 1.8.0
> 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
> Fix For: 1.8.0
>
> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org