Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
XML
data.xmlanalysis
mappoint.webservice
msf
msxml-webrelease
netmyservices.sdk
passport.sdk
soap
soapsdk
uddi.general
uddi.programming
uddi.specification
xml
xmlsqlwebrelease
xsl
  
 
date: Thu, 13 Mar 2008 00:36:01 -0700 (PDT),    group: microsoft.public.xml.soap        back       


ISOAPReader::Load method failing for large XML's   
I am trying to access a function via SOAP call, sending a data in XML
format of size exceeding 5 MB. The load method is failing with return
value E_INVALIDARG.
Is there some limitation on the size of data that can be passed via a
SOAP call ?
There is also a property method for ISOAPConnector which can be used
to set certain properties for the same. Is there any property which
places a limit on the amount of data being passed through the SOAP
call ?
date: Thu, 13 Mar 2008 00:36:01 -0700 (PDT)   author:   Sumir

Re: ISOAPReader::Load method failing for large XML's   
Sumir wrote:
> I am trying to access a function via SOAP call, sending a data in XML
> format of size exceeding 5 MB. The load method is failing with return
> value E_INVALIDARG.
> Is there some limitation on the size of data that can be passed via a
> SOAP call ?
> There is also a property method for ISOAPConnector which can be used
> to set certain properties for the same. Is there any property which
> places a limit on the amount of data being passed through the SOAP
> call ?

From SOAP toolkit3 help:


Specifying an ISAPI Listener
If specifying the ISAPI handler, you can use the registry key, 
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSOAP\30\SOAPISAP, to change the 
default values of the following configuration variables:

  a.. MaxPostSize - the maximum size of the SOAP message that you can POST 
to the ISAPI handler; the default is 100 KB. While this setting helps keep 
hackers from tying up your service by posting extremely large messages, you 
may need to increase the default size if your service accepts large SOAP 
messages.

-- 
News Microsoft
date: Thu, 13 Mar 2008 11:40:51 +0100   author:   Villi Bernaroli lid

Re: ISOAPReader::Load method failing for large XML's   
On Mar 13, 3:40 pm, "Villi Bernaroli" <a...@b.invalid> wrote:
> Sumir wrote:
> > I am trying to access a function via SOAP call, sending a data in XML
> > format of size exceeding 5 MB. The load method is failing with return
> > value E_INVALIDARG.
> > Is there some limitation on the size of data that can be passed via a
> > SOAP call ?
> > There is also a property method for ISOAPConnector which can be used
> > to set certain properties for the same. Is there any property which
> > places a limit on the amount of data being passed through the SOAP
> > call ?
>
> From SOAP toolkit3 help:
>
> Specifying an ISAPI Listener
> If specifying the ISAPI handler, you can use the registry key,
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSOAP\30\SOAPISAP, to change the
> default values of the following configuration variables:
>
>   a.. MaxPostSize - the maximum size of the SOAP message that you can POST
> to the ISAPI handler; the default is 100 KB. While this setting helps keep
> hackers from tying up your service by posting extremely large messages, you
> may need to increase the default size if your service accepts large SOAP
> messages.
>
> --
> News Microsoft

Hi Villi,

Thanks for the reply.
But it does not seem to work. I changed the reg. value to correspond
to 10MB of message size, but the error still comes.

I also happened to notice that in ISOAPSerializer, there is some write
method where the XML string to be passed is attached to the stream.
Does this need some kind of setting to work with large message sizes ?

Is there some general limit on the size of XML/data which can be
transmitted over SOAP using the MS SOAP 3.0 Toolkit ?
date: Thu, 13 Mar 2008 06:29:47 -0700 (PDT)   author:   Sumir

Re: ISOAPReader::Load method failing for large XML's   
Sumir wrote:

> Hi Villi,
>
> Thanks for the reply.
> But it does not seem to work. I changed the reg. value to correspond
> to 10MB of message size, but the error still comes.

Strange. Are you sure you're not reaching the connectortimeout time? Well, 
looks you're getting a different error, so it's probably not the timeout.

> I also happened to notice that in ISOAPSerializer, there is some write
> method where the XML string to be passed is attached to the stream.
> Does this need some kind of setting to work with large message sizes ?

Never used that, sorry.

> Is there some general limit on the size of XML/data which can be
> transmitted over SOAP using the MS SOAP 3.0 Toolkit ?

I believe not, I have seen XML files in the range of the 70MB goin' in & out 
flawlessly.
I can't figure out what else it may be.
-- 
News Microsoft
date: Thu, 13 Mar 2008 14:59:04 +0100   author:   Villi Bernaroli lid

Re: ISOAPReader::Load method failing for large XML's   
Hi,

I am trying to find this: 
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSOAP\30\SOAPISAP,   in my laptop 
(which is from where I connet to the server).  The inly one i see is: 
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSOSOAP\30.

Where do I make the change???  on the server???

please advise.

thx.

"Villi Bernaroli" wrote:

> Sumir wrote:
> > I am trying to access a function via SOAP call, sending a data in XML
> > format of size exceeding 5 MB. The load method is failing with return
> > value E_INVALIDARG.
> > Is there some limitation on the size of data that can be passed via a
> > SOAP call ?
> > There is also a property method for ISOAPConnector which can be used
> > to set certain properties for the same. Is there any property which
> > places a limit on the amount of data being passed through the SOAP
> > call ?
> 
> From SOAP toolkit3 help:
> 
> 
> Specifying an ISAPI Listener
> If specifying the ISAPI handler, you can use the registry key, 
> HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSOAP\30\SOAPISAP, to change the 
> default values of the following configuration variables:
> 
>   a.. MaxPostSize - the maximum size of the SOAP message that you can POST 
> to the ISAPI handler; the default is 100 KB. While this setting helps keep 
> hackers from tying up your service by posting extremely large messages, you 
> may need to increase the default size if your service accepts large SOAP 
> messages.
> 
> -- 
> News Microsoft 
> 
> 
>
date: Wed, 23 Apr 2008 08:28:00 -0700   author:   PedroJose

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us