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 "Seung Hyun (JIRA)" <ax...@ws.apache.org> on 2005/10/20 20:31:44 UTC
[jira] Created: (AXIS-2265) (400) Bad Request Error When Adding DIME Attachments Larger Than 4M
(400) Bad Request Error When Adding DIME Attachments Larger Than 4M
-------------------------------------------------------------------
Key: AXIS-2265
URL: http://issues.apache.org/jira/browse/AXIS-2265
Project: Apache Axis
Type: Bug
Versions: 1.2.1
Environment: Windows XP Professional with Java SDK 1.5
Reporter: Seung Hyun
I got (400) Bad Request error in AXIS client side when uploading a large file (> 4M) to server using DIME attachment.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (AXIS-2265) (400) Bad Request Error When Adding DIME Attachments Larger Than 4M
Posted by "Seung Hyun (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXIS-2265?page=comments#action_12332635 ]
Seung Hyun commented on AXIS-2265:
----------------------------------
I could upload a large file (> 4Mb) in .NET C# client by add ing the following application settings in .NET client side
<system.web>
<httpRuntime maxRequestLength="2000000" useFullyQualifiedRedirectUrl="true" executionTimeout="120" />
</system.web>
<microsoft.web.services2>
<messaging>
<maxRequestLength>2000000</maxRequestLength>
</messaging>
<diagnostics />
</microsoft.web.services2>
Is there a way to specify the HTTP maximum request length in AXIS Java Client? Is there a way use HTTP Chunking in AXIS Java Client?
> (400) Bad Request Error When Adding DIME Attachments Larger Than 4M
> -------------------------------------------------------------------
>
> Key: AXIS-2265
> URL: http://issues.apache.org/jira/browse/AXIS-2265
> Project: Apache Axis
> Type: Bug
> Versions: 1.2.1
> Environment: Windows XP Professional with Java SDK 1.5
> Reporter: Seung Hyun
>
> I got (400) Bad Request error in AXIS client side when uploading a large file (> 4M) to server using DIME attachment.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (AXIS-2265) (400) Bad Request Error When Adding DIME Attachments Larger Than 4M
Posted by "Seung Hyun (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXIS-2265?page=comments#action_12332619 ]
Seung Hyun commented on AXIS-2265:
----------------------------------
Yes, the server is running .NET and the web.config file is updated to accept a request larger than 4Mb.
<httpRuntime maxRequestLength="2000000"
useFullyQualifiedRedirectUrl="true"
executionTimeout="120" />
I do not see what the error server returned. Only error message I got is 400 Bad Request.
> (400) Bad Request Error When Adding DIME Attachments Larger Than 4M
> -------------------------------------------------------------------
>
> Key: AXIS-2265
> URL: http://issues.apache.org/jira/browse/AXIS-2265
> Project: Apache Axis
> Type: Bug
> Versions: 1.2.1
> Environment: Windows XP Professional with Java SDK 1.5
> Reporter: Seung Hyun
>
> I got (400) Bad Request error in AXIS client side when uploading a large file (> 4M) to server using DIME attachment.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (AXIS-2265) (400) Bad Request Error When Adding DIME Attachments Larger Than 4M
Posted by "Ami Fischman (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXIS-2265?page=comments#action_12356916 ]
Ami Fischman commented on AXIS-2265:
------------------------------------
Using CommonsHTTPSender seems to chunk as necessary. You might try adding to your client wsdd:
<transport name="http" pivot="java:org.apache.axis.transport.http.CommonsHTTPSender"/>
as a direct child of the top-level <deployment> tag and see whether that helps.
> (400) Bad Request Error When Adding DIME Attachments Larger Than 4M
> -------------------------------------------------------------------
>
> Key: AXIS-2265
> URL: http://issues.apache.org/jira/browse/AXIS-2265
> Project: Apache Axis
> Type: Bug
> Versions: 1.2.1
> Environment: Windows XP Professional with Java SDK 1.5
> Reporter: Seung Hyun
>
> I got (400) Bad Request error in AXIS client side when uploading a large file (> 4M) to server using DIME attachment.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (AXIS-2265) (400) Bad Request Error When Adding DIME Attachments Larger Than 4M
Posted by "Simon Fell (JIRA)" <ax...@ws.apache.org>.
[ http://issues.apache.org/jira/browse/AXIS-2265?page=comments#action_12332618 ]
Simon Fell commented on AXIS-2265:
----------------------------------
Is the server running .NET ? by default a .NET server won't accept a request larger than 4Mb, so Axis is correctly reporting what the error the server returned.
> (400) Bad Request Error When Adding DIME Attachments Larger Than 4M
> -------------------------------------------------------------------
>
> Key: AXIS-2265
> URL: http://issues.apache.org/jira/browse/AXIS-2265
> Project: Apache Axis
> Type: Bug
> Versions: 1.2.1
> Environment: Windows XP Professional with Java SDK 1.5
> Reporter: Seung Hyun
>
> I got (400) Bad Request error in AXIS client side when uploading a large file (> 4M) to server using DIME attachment.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira