ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Process Server (WID/WPS/WAS+) » How to know maximum size of SOAP/HTTP message

Post new topic  Reply to topic
 How to know maximum size of SOAP/HTTP message « View previous topic :: View next topic » 
Author Message
MizukiYamato
PostPosted: Mon Jun 25, 2012 4:51 pm    Post subject: How to know maximum size of SOAP/HTTP message Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Mon Jun 25, 2012 6:09 pm    Post subject: Re: How to know maximum size of SOAP/HTTP message Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
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
View user's profile Send private message Send e-mail
MizukiYamato
PostPosted: Mon Jun 25, 2012 11:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Tue Jun 26, 2012 4:43 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
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
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Tue Jun 26, 2012 4:46 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Well, there's this.
Back to top
View user's profile Send private message
MizukiYamato
PostPosted: Tue Jul 03, 2012 8:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Wed Jul 04, 2012 11:08 am    Post subject: Reply with quote

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
View user's profile Send private message
MizukiYamato
PostPosted: Wed Jul 04, 2012 7:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Thu Jul 05, 2012 3:06 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Process Server (WID/WPS/WAS+) » How to know maximum size of SOAP/HTTP message
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.