Author |
Message
|
MizukiYamato |
Posted: Mon Jun 25, 2012 4:51 pm Post subject: How to know maximum size of SOAP/HTTP message |
|
|
 Apprentice
Joined: 16 Dec 2009 Posts: 45 Location: Japan
|
Hi All,
We need to know maximum size of SOAP/HTTP message with Web Service binding export/import.
How can I know/change it?
Regards for any comment. |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Jun 25, 2012 6:09 pm Post subject: Re: How to know maximum size of SOAP/HTTP message |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
MizukiYamato wrote: |
Hi All,
We need to know maximum size of SOAP/HTTP message with Web Service binding export/import.
How can I know/change it?
Regards for any comment. |
What kind of a max are you hitting? _________________ MQ & Broker admin |
|
Back to top |
|
 |
MizukiYamato |
Posted: Mon Jun 25, 2012 11:12 pm Post subject: |
|
|
 Apprentice
Joined: 16 Dec 2009 Posts: 45 Location: Japan
|
Thank you for youy reply, fjb_saper.
We want to know the max of HTTP Message length.
# Especially, if the maximum of SOAP envelope length or SOAP attachment exist,
# We want to know them also. |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Jun 26, 2012 4:43 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
MizukiYamato wrote: |
Thank you for youy reply, fjb_saper.
We want to know the max of HTTP Message length.
# Especially, if the maximum of SOAP envelope length or SOAP attachment exist,
# We want to know them also. |
AFAIK the max for the HTTP Message length is whatever YOUR resources can handle...
Again what have you tried and what failed?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Jun 26, 2012 4:46 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
MizukiYamato |
Posted: Tue Jul 03, 2012 8:03 pm Post subject: |
|
|
 Apprentice
Joined: 16 Dec 2009 Posts: 45 Location: Japan
|
Thank you.
I want to know how to limitate HTTP Body length(or SOAP envelope length).
(I tried to send 1, 10, 20, 30MB SOAP/HTTP Message.
As default heap size, it goes well about 1, 10, 20MB, but an OutOfMemoryException occured at 30MB.) |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Jul 04, 2012 11:08 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Did you review the link I posted? Did it provide a specific fixed maximum size of an HTML document?
Yes. the bigger an HTML document is, the more memory you will need to parse it fully.
Yes, if you try to read a big document, you can try to use more memory than you have available.
No, I don't believe that HTTP allows you to say that you can only receive messages of a certain length or less.
There is no strict contract between HTTP client and HTTP server.
There might be configuration that can be done at your HTTP servers - not your WAS/WPS servers, your IHS or edge servers. Talk to your IHS/edge server admins. |
|
Back to top |
|
 |
MizukiYamato |
Posted: Wed Jul 04, 2012 7:07 pm Post subject: |
|
|
 Apprentice
Joined: 16 Dec 2009 Posts: 45 Location: Japan
|
Thank you, mqjeff.
Quote: |
Did you review the link I posted? |
Yes, I have read it before.
I expect that WAS(or IHS) returns "HTTP/1.1 413 Request Entity Too Large" when I set some property on WAS(or IHS).
Quote: |
Yes. the bigger an HTML document is, the more memory you will need to parse it fully.
Yes, if you try to read a big document, you can try to use more memory than you have available.
No, I don't believe that HTTP allows you to say that you can only receive messages of a certain length or less.
There is no strict contract between HTTP client and HTTP server.
|
Yes, I think so, too. HTTP specification will not restrict HTTP Body size.
Quote: |
There might be configuration that can be done at your HTTP servers - not your WAS/WPS servers, your IHS or edge servers. Talk to your IHS/edge server admins. |
I found a WAS property that limitate HTTP Body size.
("Limit request body buffer size" and "Maximum request body buffer size")
But I'll also talk to HTTP server admins to limitate HTTP Body size at best timing.
When I set the properties and send large size HTTP message than the property's value, I received "HTTP/1.1 413 Request Entity Too Large" from WAS. |
|
Back to top |
|
 |
mqjeff |
Posted: Thu Jul 05, 2012 3:06 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
MizukiYamato wrote: |
Quote: |
There might be configuration that can be done at your HTTP servers - not your WAS/WPS servers, your IHS or edge servers. Talk to your IHS/edge server admins. |
I found a WAS property that limitate HTTP Body size.
("Limit request body buffer size" and "Maximum request body buffer size")
But I'll also talk to HTTP server admins to limitate HTTP Body size at best timing.
When I set the properties and send large size HTTP message than the property's value, I received "HTTP/1.1 413 Request Entity Too Large" from WAS. |
I did not know about that WAS property.... but then again, it's been a *while* since I've done WAS admin.
Good info for future readers! |
|
Back to top |
|
 |
|