You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by ji...@apache.org on 2004/05/12 00:08:56 UTC

[jira] Created: (AXISCPP-89) Message Larger than 2048 bytes fails.

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXISCPP-89

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXISCPP-89
    Summary: Message Larger than 2048 bytes fails.
       Type: Bug

     Status: Unassigned
   Priority: Critical

    Project: Axis-C++
 Components: 
             Transport (Client)
   Versions:
             1.1 Final

   Assignee: 
   Reporter: Glenn Everitt

    Created: Tue, 11 May 2004 3:08 PM
    Updated: Tue, 11 May 2004 3:08 PM
Environment: windows xp 

Description:
It looks like when a larger payload is sent a buffer is reallocated larger and fails.  I'm not sure why.  I'm calling a web service hosted in JBoss with java Axis. Smaller payloads are successful.

 	ntdll.dll!77f75a58() 	
 	ntdll.dll!77f9cb5e() 	
 	ntdll.dll!77f9cfc4() 	
 	ntdll.dll!77f8c366() 	
 	kernel32.dll!77e75b6c() 	
 	kernel32.dll!77e6c75a() 	
 	msvcr71d.dll!_CrtIsValidHeapPointer(const void * pUserData=0x003af0f8)  Line 1807	C
>	msvcr71d.dll!_free_dbg_lk(void * pUserData=0x003af0f8, int nBlockUse=1)  Line 1132 + 0x9	C
 	msvcr71d.dll!_free_dbg(void * pUserData=0x003af0f8, int nBlockUse=1)  Line 1070 + 0xd	C
 	msvcr71d.dll!operator delete(void * pUserData=0x003af0f8)  Line 54 + 0x10	C++
 	msvcp71d.dll!std::allocator<char>::deallocate(char * _Ptr=0x003af0f8, unsigned int __formal=2048)  Line 138 + 0x9	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Tidy(bool _Built=true, unsigned int _Newsize=0)  Line 1519	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Copy(unsigned int _Newsize=3071, unsigned int _Oldlen=4)  Line 1468	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Grow(unsigned int _Newsize=3071, bool _Trim=false)  Line 1485	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::assign(const char * _Ptr=0x06ca73a8, unsigned int _Num=3071)  Line 612 + 0xe	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::assign(const char * _Ptr=0x06ca73a8)  Line 623	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::operator=(const char * _Ptr=0x06ca73a8)  Line 473	C++
 	AxisClient_D.dll!BasicTypeSerializer::SerializeAsElement(const char * pName=0x003afafc, const void * pValue=0x003afad0, XSDTYPETag type=XSD_STRING)  Line 123 + 0x12	C++
 	AxisClient_D.dll!SoapSerializer::SerializeAsElement(const char * pName=0x003afafc, void * pValue=0x003afad0, XSDTYPETag type=XSD_STRING)  Line 656 + 0x17	C++
 	AxisClient_D.dll!Param::serialize(SoapSerializer & pSZ={...})  Line 185 + 0x32	C++
 	AxisClient_D.dll!SoapMethod::serializeOutputParam(SoapSerializer & pSZ={...})  Line 182 + 0x13	C++
 	AxisClient_D.dll!SoapMethod::serialize(SoapSerializer & pSZ={...})  Line 97 + 0xc	C++
 	AxisClient_D.dll!SoapBody::serialize(SoapSerializer & pSZ={...}, SOAP_VERSIONTag eSoapVersion=SOAP_VER_1_1)  Line 85 + 0xf	C++
 	AxisClient_D.dll!SoapEnvelope::serialize(SoapSerializer & pSZ={...}, SOAP_VERSIONTag eSoapVersion=SOAP_VER_1_1)  Line 107 + 0x13	C++
 	AxisClient_D.dll!SoapSerializer::SetOutputStream(const Ax_soapstream * pStream=0x06ca2c9c)  Line 222 + 0x16	C++
 	AxisClient_D.dll!ClientAxisEngine::Invoke(MessageData * pMsg=0x003abfe8)  Line 160 + 0x12	C++
 	AxisClient_D.dll!ClientAxisEngine::Process(Ax_soapstream * pSoap=0x06ca2c9c)  Line 98 + 0x14	C++
 	AxisClient_D.dll!Call::Invoke()  Line 98 + 0x1a	C++
 	mscorwks.dll!7925c098() 	
 	COSMRWebServicesClient.exe!COSMRWebServices::publish(char* Value0 = 0x0042201c, char* Value1 = 0x00422014, char* Value2 = 0x06ca73a8) Line 195 + 0x20 bytes	C++
 	COSMRWebServicesClient.exe!main(__int32 argc = 3, char** argv = 0x06ca3978) Line 55	C++
 	COSMRWebServicesClient.exe!mainCRTStartup()  Line 259 + 0x19	C



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXISCPP-89) Message Larger than 2048 bytes fails.

Posted by ax...@ws.apache.org.
The following comment has been added to this issue:

     Author: sanjaya singharage
    Created: Wed, 20 Oct 2004 3:00 AM
       Body:
There are some problems in windows for this issue.

with AxisTransport 2

Server - Xerces parser
Client - Xerces parser 
No problems. I managed to send a payload of 10M. takes about 2-3 seconds to finish invocation

Server - Xerces parser
Client - Expat parser
The client works for even 10M but takes almost 4 minutes to finish the invocation


Sever - Expat parser
Client - Expat parser
A payload of 1M can be sent. When 2M is used the client crashes. Did not check exactly at size payload the crashing starts (because of bug 209)


Server - Expat parser
Client - Xerces parse
A payload of 1M can be sent. When 2M is used the client crashes. Did not check exactly at size payload the crashing starts (because of bug 209)

---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/AXISCPP-89?page=comments#action_54380

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXISCPP-89

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXISCPP-89
    Summary: Message Larger than 2048 bytes fails.
       Type: Bug

     Status: Unassigned
   Priority: Critical

    Project: Axis-C++
 Components: 
             Transport (Client)
   Versions:
             1.1 Final

   Assignee: 
   Reporter: Glenn Everitt

    Created: Tue, 11 May 2004 3:08 PM
    Updated: Wed, 20 Oct 2004 3:00 AM
Environment: windows xp 

Description:
It looks like when a larger payload is sent a buffer is reallocated larger and fails.  I'm not sure why.  I'm calling a web service hosted in JBoss with java Axis. Smaller payloads are successful.

 	ntdll.dll!77f75a58() 	
 	ntdll.dll!77f9cb5e() 	
 	ntdll.dll!77f9cfc4() 	
 	ntdll.dll!77f8c366() 	
 	kernel32.dll!77e75b6c() 	
 	kernel32.dll!77e6c75a() 	
 	msvcr71d.dll!_CrtIsValidHeapPointer(const void * pUserData=0x003af0f8)  Line 1807	C
>	msvcr71d.dll!_free_dbg_lk(void * pUserData=0x003af0f8, int nBlockUse=1)  Line 1132 + 0x9	C
 	msvcr71d.dll!_free_dbg(void * pUserData=0x003af0f8, int nBlockUse=1)  Line 1070 + 0xd	C
 	msvcr71d.dll!operator delete(void * pUserData=0x003af0f8)  Line 54 + 0x10	C++
 	msvcp71d.dll!std::allocator<char>::deallocate(char * _Ptr=0x003af0f8, unsigned int __formal=2048)  Line 138 + 0x9	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Tidy(bool _Built=true, unsigned int _Newsize=0)  Line 1519	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Copy(unsigned int _Newsize=3071, unsigned int _Oldlen=4)  Line 1468	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Grow(unsigned int _Newsize=3071, bool _Trim=false)  Line 1485	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::assign(const char * _Ptr=0x06ca73a8, unsigned int _Num=3071)  Line 612 + 0xe	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::assign(const char * _Ptr=0x06ca73a8)  Line 623	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::operator=(const char * _Ptr=0x06ca73a8)  Line 473	C++
 	AxisClient_D.dll!BasicTypeSerializer::SerializeAsElement(const char * pName=0x003afafc, const void * pValue=0x003afad0, XSDTYPETag type=XSD_STRING)  Line 123 + 0x12	C++
 	AxisClient_D.dll!SoapSerializer::SerializeAsElement(const char * pName=0x003afafc, void * pValue=0x003afad0, XSDTYPETag type=XSD_STRING)  Line 656 + 0x17	C++
 	AxisClient_D.dll!Param::serialize(SoapSerializer & pSZ={...})  Line 185 + 0x32	C++
 	AxisClient_D.dll!SoapMethod::serializeOutputParam(SoapSerializer & pSZ={...})  Line 182 + 0x13	C++
 	AxisClient_D.dll!SoapMethod::serialize(SoapSerializer & pSZ={...})  Line 97 + 0xc	C++
 	AxisClient_D.dll!SoapBody::serialize(SoapSerializer & pSZ={...}, SOAP_VERSIONTag eSoapVersion=SOAP_VER_1_1)  Line 85 + 0xf	C++
 	AxisClient_D.dll!SoapEnvelope::serialize(SoapSerializer & pSZ={...}, SOAP_VERSIONTag eSoapVersion=SOAP_VER_1_1)  Line 107 + 0x13	C++
 	AxisClient_D.dll!SoapSerializer::SetOutputStream(const Ax_soapstream * pStream=0x06ca2c9c)  Line 222 + 0x16	C++
 	AxisClient_D.dll!ClientAxisEngine::Invoke(MessageData * pMsg=0x003abfe8)  Line 160 + 0x12	C++
 	AxisClient_D.dll!ClientAxisEngine::Process(Ax_soapstream * pSoap=0x06ca2c9c)  Line 98 + 0x14	C++
 	AxisClient_D.dll!Call::Invoke()  Line 98 + 0x1a	C++
 	mscorwks.dll!7925c098() 	
 	COSMRWebServicesClient.exe!COSMRWebServices::publish(char* Value0 = 0x0042201c, char* Value1 = 0x00422014, char* Value2 = 0x06ca73a8) Line 195 + 0x20 bytes	C++
 	COSMRWebServicesClient.exe!main(__int32 argc = 3, char** argv = 0x06ca3978) Line 55	C++
 	COSMRWebServicesClient.exe!mainCRTStartup()  Line 259 + 0x19	C



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Re: [jira] Commented: (AXISCPP-89) Message Larger than 2048 bytes fails.

Posted by Samisa Abeysinghe <sa...@yahoo.com>.
Hi,
    m_iBytesLeft is used to track if we have bytes left to be read by client from the buffer we
previously read from channel.

Once we receive from channel we set:
        m_iBytesLeft = strlen( m_pcReceived );

Then we have this logic:
        int iToCopy = ( *pSize < m_iBytesLeft ) ? *pSize : m_iBytesLeft;
        strncpy( pcBuffer, m_pcReceived, iToCopy );
        m_iBytesLeft -= iToCopy;
        m_pcReceived += iToCopy;
Here we update the m_iBytesLeft to indicate how many bytes are left in the m_pcReceived buffer to
be read by the user. Hence next time when the user tries to read, we first check
       if (0<=m_iBytesLeft)
to see if there are stuff left in the buffer. If so we do not read from the channel, rather return
the reamining buffer. If not we go and read from the channel.

Hence I do not think there is something wrong here.

Samisa...

--- Valentin Kuznetsov <vk...@yahoo.com> wrote:

> Hi,
> that's what exactly my patch was for axis transport.
> The if statement actually need to be
> if(0>=m_iBytesLeft)
> 
> this is already in CVS.
> 
> I found that axis2 transport use still
> if(0<=m_iBytesLeft)
> 
> and I left decision to developers.
> Valentin.
> 
> 
> 
> --- axis-c-dev@ws.apache.org wrote:
> 
> > The following comment has been added to this issue:
> > 
> >      Author: Clinton Chen
> >     Created: Tue, 19 Oct 2004 10:59 AM
> >        Body:
> > I thought the problem is in the AxisTransport.cpp in
> > funciton
> > getBytes:
> > 
> > AXIS_TRANSPORT_STATUS AxisTransport::getBytes(char*
> > pcBuffer, int* pSize)
> > {
> >     if (0 <= m_iBytesLeft)
> >     {
> >         try
> >         {
> >             m_pcReceived = m_pReceiver->Recv();
> >             if (m_pcReceived)
> > 
> > It seems that the line "if (0 == m_iBytesLeft)" is
> > incorrent,
> > if there is still bytes left from previous call, you
> > don't want
> > to recv() additional data, instead just copy the
> > data.  I was able
> > to get my code to work by modifying the line to
> > 
> > if (0 == m_iBytesLeft)
> > 
> > so, the only time I want to read in data is when
> > there is not
> > bytes left from previous call.
> >
> ---------------------------------------------------------------------
> > View this comment:
> >  
> >
> http://issues.apache.org/jira/browse/AXISCPP-89?page=comments#action_54353
> > 
> >
> ---------------------------------------------------------------------
> > View the issue:
> >   http://issues.apache.org/jira/browse/AXISCPP-89
> > 
> > Here is an overview of the issue:
> >
> ---------------------------------------------------------------------
> >         Key: AXISCPP-89
> >     Summary: Message Larger than 2048 bytes fails.
> >        Type: Bug
> > 
> >      Status: Unassigned
> >    Priority: Critical
> > 
> >     Project: Axis-C++
> >  Components: 
> >              Transport (Client)
> >    Versions:
> >              1.1 Final
> > 
> >    Assignee: 
> >    Reporter: Glenn Everitt
> > 
> >     Created: Tue, 11 May 2004 3:08 PM
> >     Updated: Tue, 19 Oct 2004 10:59 AM
> > Environment: windows xp 
> > 
> > Description:
> > It looks like when a larger payload is sent a buffer
> > is reallocated larger and fails.  I'm not sure why. 
> > I'm calling a web service hosted in JBoss with java
> > Axis. Smaller payloads are successful.
> > 
> >  	ntdll.dll!77f75a58() 	
> >  	ntdll.dll!77f9cb5e() 	
> >  	ntdll.dll!77f9cfc4() 	
> >  	ntdll.dll!77f8c366() 	
> >  	kernel32.dll!77e75b6c() 	
> >  	kernel32.dll!77e6c75a() 	
> >  	msvcr71d.dll!_CrtIsValidHeapPointer(const void *
> > pUserData=0x003af0f8)  Line 1807	C
> > >	msvcr71d.dll!_free_dbg_lk(void *
> > pUserData=0x003af0f8, int nBlockUse=1)  Line 1132 +
> > 0x9	C
> >  	msvcr71d.dll!_free_dbg(void *
> > pUserData=0x003af0f8, int nBlockUse=1)  Line 1070 +
> > 0xd	C
> >  	msvcr71d.dll!operator delete(void *
> > pUserData=0x003af0f8)  Line 54 + 0x10	C++
> >  	msvcp71d.dll!std::allocator<char>::deallocate(char
> > * _Ptr=0x003af0f8, unsigned int __formal=2048)  Line
> > 138 + 0x9	C++
> >  
> >
> msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char>
> > >::_Tidy(bool _Built=true, unsigned int _Newsize=0) 
> > Line 1519	C++
> >  
> >
> msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char>
> > >::_Copy(unsigned int _Newsize=3071, unsigned int
> > _Oldlen=4)  Line 1468	C++
> >  
> >
> msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char>
> > >::_Grow(unsigned int _Newsize=3071, bool
> > _Trim=false)  Line 1485	C++
> >  
> >
> msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char>
> > >::assign(const char * _Ptr=0x06ca73a8, unsigned int
> > _Num=3071)  Line 612 + 0xe	C++
> >  
> >
> msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char>
> > >::assign(const char * _Ptr=0x06ca73a8)  Line 623
> > C++
> >  
> >
> msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char>
> > >::operator=(const char * _Ptr=0x06ca73a8)  Line 473
> > C++
> >  
> >
> AxisClient_D.dll!BasicTypeSerializer::SerializeAsElement(const
> > char * pName=0x003afafc, const void *
> > pValue=0x003afad0, XSDTYPETag type=XSD_STRING)  Line
> > 123 + 0x12	C++
> >  
> >
> AxisClient_D.dll!SoapSerializer::SerializeAsElement(const
> > char * pName=0x003afafc, void * pValue=0x003afad0,
> > XSDTYPETag type=XSD_STRING)  Line 656 + 0x17	C++
> >  	AxisClient_D.dll!Param::serialize(SoapSerializer &
> > pSZ={...})  Line 185 + 0x32	C++
> >  
> >
> AxisClient_D.dll!SoapMethod::serializeOutputParam(SoapSerializer
> > & pSZ={...})  Line 182 + 0x13	C++
> >  
> >
> AxisClient_D.dll!SoapMethod::serialize(SoapSerializer
> > & pSZ={...})  Line 97 + 0xc	C++
> >  
> > AxisClient_D.dll!SoapBody::serialize(SoapSerializer
> > & pSZ={...}, SOAP_VERSIONTag
> > eSoapVersion=SOAP_VER_1_1)  Line 85 + 0xf	C++
> >  
> >
> AxisClient_D.dll!SoapEnvelope::serialize(SoapSerializer
> > & pSZ={...}, SOAP_VERSIONTag
> > eSoapVersion=SOAP_VER_1_1)  Line 107 + 0x13	C++
> >  
> >
> AxisClient_D.dll!SoapSerializer::SetOutputStream(const
> > Ax_soapstream * pStream=0x06ca2c9c)  Line 222 + 0x16
> > C++
> >  
> >
> AxisClient_D.dll!ClientAxisEngine::Invoke(MessageData
> > * pMsg=0x003abfe8)  Line 160 + 0x12	C++
> >  
> >
> AxisClient_D.dll!ClientAxisEngine::Process(Ax_soapstream
> > * pSoap=0x06ca2c9c)  Line 98 + 0x14	C++
> >  	AxisClient_D.dll!Call::Invoke()  Line 98 + 0x1a
> > C++
> >  	mscorwks.dll!7925c098() 	
> >  
> >
> COSMRWebServicesClient.exe!COSMRWebServices::publish(char*
> > Value0 = 0x0042201c, char* Value1 = 0x00422014,
> > char* Value2 = 0x06ca73a8) Line 195 + 0x20 bytes	C++
> >  	COSMRWebServicesClient.exe!main(__int32 argc = 3,
> > char** argv = 0x06ca3978) Line 55	C++
> >  	COSMRWebServicesClient.exe!mainCRTStartup()  Line
> > 259 + 0x19	C
> > 
> > 
> > 
> >
> ---------------------------------------------------------------------
> > JIRA INFORMATION:
> > This message is automatically generated by JIRA.
> 
=== message truncated ===



		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

Re: [jira] Commented: (AXISCPP-89) Message Larger than 2048 bytes fails.

Posted by Valentin Kuznetsov <vk...@yahoo.com>.
Hi,
that's what exactly my patch was for axis transport.
The if statement actually need to be
if(0>=m_iBytesLeft)

this is already in CVS.

I found that axis2 transport use still
if(0<=m_iBytesLeft)

and I left decision to developers.
Valentin.



--- axis-c-dev@ws.apache.org wrote:

> The following comment has been added to this issue:
> 
>      Author: Clinton Chen
>     Created: Tue, 19 Oct 2004 10:59 AM
>        Body:
> I thought the problem is in the AxisTransport.cpp in
> funciton
> getBytes:
> 
> AXIS_TRANSPORT_STATUS AxisTransport::getBytes(char*
> pcBuffer, int* pSize)
> {
>     if (0 <= m_iBytesLeft)
>     {
>         try
>         {
>             m_pcReceived = m_pReceiver->Recv();
>             if (m_pcReceived)
> 
> It seems that the line "if (0 == m_iBytesLeft)" is
> incorrent,
> if there is still bytes left from previous call, you
> don't want
> to recv() additional data, instead just copy the
> data.  I was able
> to get my code to work by modifying the line to
> 
> if (0 == m_iBytesLeft)
> 
> so, the only time I want to read in data is when
> there is not
> bytes left from previous call.
>
---------------------------------------------------------------------
> View this comment:
>  
>
http://issues.apache.org/jira/browse/AXISCPP-89?page=comments#action_54353
> 
>
---------------------------------------------------------------------
> View the issue:
>   http://issues.apache.org/jira/browse/AXISCPP-89
> 
> Here is an overview of the issue:
>
---------------------------------------------------------------------
>         Key: AXISCPP-89
>     Summary: Message Larger than 2048 bytes fails.
>        Type: Bug
> 
>      Status: Unassigned
>    Priority: Critical
> 
>     Project: Axis-C++
>  Components: 
>              Transport (Client)
>    Versions:
>              1.1 Final
> 
>    Assignee: 
>    Reporter: Glenn Everitt
> 
>     Created: Tue, 11 May 2004 3:08 PM
>     Updated: Tue, 19 Oct 2004 10:59 AM
> Environment: windows xp 
> 
> Description:
> It looks like when a larger payload is sent a buffer
> is reallocated larger and fails.  I'm not sure why. 
> I'm calling a web service hosted in JBoss with java
> Axis. Smaller payloads are successful.
> 
>  	ntdll.dll!77f75a58() 	
>  	ntdll.dll!77f9cb5e() 	
>  	ntdll.dll!77f9cfc4() 	
>  	ntdll.dll!77f8c366() 	
>  	kernel32.dll!77e75b6c() 	
>  	kernel32.dll!77e6c75a() 	
>  	msvcr71d.dll!_CrtIsValidHeapPointer(const void *
> pUserData=0x003af0f8)  Line 1807	C
> >	msvcr71d.dll!_free_dbg_lk(void *
> pUserData=0x003af0f8, int nBlockUse=1)  Line 1132 +
> 0x9	C
>  	msvcr71d.dll!_free_dbg(void *
> pUserData=0x003af0f8, int nBlockUse=1)  Line 1070 +
> 0xd	C
>  	msvcr71d.dll!operator delete(void *
> pUserData=0x003af0f8)  Line 54 + 0x10	C++
>  	msvcp71d.dll!std::allocator<char>::deallocate(char
> * _Ptr=0x003af0f8, unsigned int __formal=2048)  Line
> 138 + 0x9	C++
>  
>
msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char>
> >::_Tidy(bool _Built=true, unsigned int _Newsize=0) 
> Line 1519	C++
>  
>
msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char>
> >::_Copy(unsigned int _Newsize=3071, unsigned int
> _Oldlen=4)  Line 1468	C++
>  
>
msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char>
> >::_Grow(unsigned int _Newsize=3071, bool
> _Trim=false)  Line 1485	C++
>  
>
msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char>
> >::assign(const char * _Ptr=0x06ca73a8, unsigned int
> _Num=3071)  Line 612 + 0xe	C++
>  
>
msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char>
> >::assign(const char * _Ptr=0x06ca73a8)  Line 623
> C++
>  
>
msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char>
> >::operator=(const char * _Ptr=0x06ca73a8)  Line 473
> C++
>  
>
AxisClient_D.dll!BasicTypeSerializer::SerializeAsElement(const
> char * pName=0x003afafc, const void *
> pValue=0x003afad0, XSDTYPETag type=XSD_STRING)  Line
> 123 + 0x12	C++
>  
>
AxisClient_D.dll!SoapSerializer::SerializeAsElement(const
> char * pName=0x003afafc, void * pValue=0x003afad0,
> XSDTYPETag type=XSD_STRING)  Line 656 + 0x17	C++
>  	AxisClient_D.dll!Param::serialize(SoapSerializer &
> pSZ={...})  Line 185 + 0x32	C++
>  
>
AxisClient_D.dll!SoapMethod::serializeOutputParam(SoapSerializer
> & pSZ={...})  Line 182 + 0x13	C++
>  
>
AxisClient_D.dll!SoapMethod::serialize(SoapSerializer
> & pSZ={...})  Line 97 + 0xc	C++
>  
> AxisClient_D.dll!SoapBody::serialize(SoapSerializer
> & pSZ={...}, SOAP_VERSIONTag
> eSoapVersion=SOAP_VER_1_1)  Line 85 + 0xf	C++
>  
>
AxisClient_D.dll!SoapEnvelope::serialize(SoapSerializer
> & pSZ={...}, SOAP_VERSIONTag
> eSoapVersion=SOAP_VER_1_1)  Line 107 + 0x13	C++
>  
>
AxisClient_D.dll!SoapSerializer::SetOutputStream(const
> Ax_soapstream * pStream=0x06ca2c9c)  Line 222 + 0x16
> C++
>  
>
AxisClient_D.dll!ClientAxisEngine::Invoke(MessageData
> * pMsg=0x003abfe8)  Line 160 + 0x12	C++
>  
>
AxisClient_D.dll!ClientAxisEngine::Process(Ax_soapstream
> * pSoap=0x06ca2c9c)  Line 98 + 0x14	C++
>  	AxisClient_D.dll!Call::Invoke()  Line 98 + 0x1a
> C++
>  	mscorwks.dll!7925c098() 	
>  
>
COSMRWebServicesClient.exe!COSMRWebServices::publish(char*
> Value0 = 0x0042201c, char* Value1 = 0x00422014,
> char* Value2 = 0x06ca73a8) Line 195 + 0x20 bytes	C++
>  	COSMRWebServicesClient.exe!main(__int32 argc = 3,
> char** argv = 0x06ca3978) Line 55	C++
>  	COSMRWebServicesClient.exe!mainCRTStartup()  Line
> 259 + 0x19	C
> 
> 
> 
>
---------------------------------------------------------------------
> JIRA INFORMATION:
> 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
> 
> If you want more information on JIRA, or have a bug
> to report see:
>    http://www.atlassian.com/software/jira
> 
> 



		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

[jira] Commented: (AXISCPP-89) Message Larger than 2048 bytes fails.

Posted by ax...@ws.apache.org.
The following comment has been added to this issue:

     Author: Clinton Chen
    Created: Tue, 19 Oct 2004 10:59 AM
       Body:
I thought the problem is in the AxisTransport.cpp in funciton
getBytes:

AXIS_TRANSPORT_STATUS AxisTransport::getBytes(char* pcBuffer, int* pSize)
{
    if (0 <= m_iBytesLeft)
    {
        try
        {
            m_pcReceived = m_pReceiver->Recv();
            if (m_pcReceived)

It seems that the line "if (0 == m_iBytesLeft)" is incorrent,
if there is still bytes left from previous call, you don't want
to recv() additional data, instead just copy the data.  I was able
to get my code to work by modifying the line to

if (0 == m_iBytesLeft)

so, the only time I want to read in data is when there is not
bytes left from previous call.
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/AXISCPP-89?page=comments#action_54353

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXISCPP-89

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXISCPP-89
    Summary: Message Larger than 2048 bytes fails.
       Type: Bug

     Status: Unassigned
   Priority: Critical

    Project: Axis-C++
 Components: 
             Transport (Client)
   Versions:
             1.1 Final

   Assignee: 
   Reporter: Glenn Everitt

    Created: Tue, 11 May 2004 3:08 PM
    Updated: Tue, 19 Oct 2004 10:59 AM
Environment: windows xp 

Description:
It looks like when a larger payload is sent a buffer is reallocated larger and fails.  I'm not sure why.  I'm calling a web service hosted in JBoss with java Axis. Smaller payloads are successful.

 	ntdll.dll!77f75a58() 	
 	ntdll.dll!77f9cb5e() 	
 	ntdll.dll!77f9cfc4() 	
 	ntdll.dll!77f8c366() 	
 	kernel32.dll!77e75b6c() 	
 	kernel32.dll!77e6c75a() 	
 	msvcr71d.dll!_CrtIsValidHeapPointer(const void * pUserData=0x003af0f8)  Line 1807	C
>	msvcr71d.dll!_free_dbg_lk(void * pUserData=0x003af0f8, int nBlockUse=1)  Line 1132 + 0x9	C
 	msvcr71d.dll!_free_dbg(void * pUserData=0x003af0f8, int nBlockUse=1)  Line 1070 + 0xd	C
 	msvcr71d.dll!operator delete(void * pUserData=0x003af0f8)  Line 54 + 0x10	C++
 	msvcp71d.dll!std::allocator<char>::deallocate(char * _Ptr=0x003af0f8, unsigned int __formal=2048)  Line 138 + 0x9	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Tidy(bool _Built=true, unsigned int _Newsize=0)  Line 1519	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Copy(unsigned int _Newsize=3071, unsigned int _Oldlen=4)  Line 1468	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Grow(unsigned int _Newsize=3071, bool _Trim=false)  Line 1485	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::assign(const char * _Ptr=0x06ca73a8, unsigned int _Num=3071)  Line 612 + 0xe	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::assign(const char * _Ptr=0x06ca73a8)  Line 623	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::operator=(const char * _Ptr=0x06ca73a8)  Line 473	C++
 	AxisClient_D.dll!BasicTypeSerializer::SerializeAsElement(const char * pName=0x003afafc, const void * pValue=0x003afad0, XSDTYPETag type=XSD_STRING)  Line 123 + 0x12	C++
 	AxisClient_D.dll!SoapSerializer::SerializeAsElement(const char * pName=0x003afafc, void * pValue=0x003afad0, XSDTYPETag type=XSD_STRING)  Line 656 + 0x17	C++
 	AxisClient_D.dll!Param::serialize(SoapSerializer & pSZ={...})  Line 185 + 0x32	C++
 	AxisClient_D.dll!SoapMethod::serializeOutputParam(SoapSerializer & pSZ={...})  Line 182 + 0x13	C++
 	AxisClient_D.dll!SoapMethod::serialize(SoapSerializer & pSZ={...})  Line 97 + 0xc	C++
 	AxisClient_D.dll!SoapBody::serialize(SoapSerializer & pSZ={...}, SOAP_VERSIONTag eSoapVersion=SOAP_VER_1_1)  Line 85 + 0xf	C++
 	AxisClient_D.dll!SoapEnvelope::serialize(SoapSerializer & pSZ={...}, SOAP_VERSIONTag eSoapVersion=SOAP_VER_1_1)  Line 107 + 0x13	C++
 	AxisClient_D.dll!SoapSerializer::SetOutputStream(const Ax_soapstream * pStream=0x06ca2c9c)  Line 222 + 0x16	C++
 	AxisClient_D.dll!ClientAxisEngine::Invoke(MessageData * pMsg=0x003abfe8)  Line 160 + 0x12	C++
 	AxisClient_D.dll!ClientAxisEngine::Process(Ax_soapstream * pSoap=0x06ca2c9c)  Line 98 + 0x14	C++
 	AxisClient_D.dll!Call::Invoke()  Line 98 + 0x1a	C++
 	mscorwks.dll!7925c098() 	
 	COSMRWebServicesClient.exe!COSMRWebServices::publish(char* Value0 = 0x0042201c, char* Value1 = 0x00422014, char* Value2 = 0x06ca73a8) Line 195 + 0x20 bytes	C++
 	COSMRWebServicesClient.exe!main(__int32 argc = 3, char** argv = 0x06ca3978) Line 55	C++
 	COSMRWebServicesClient.exe!mainCRTStartup()  Line 259 + 0x19	C



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Re: [jira] Commented: (AXISCPP-89) Message Larger than 2048 bytes fails.

Posted by John Hawkins <HA...@uk.ibm.com>.



+1


John Hawkins




                                                                           
             Samisa Abeysinghe                                             
             <samisa_abeysingh                                             
             e@yahoo.com>                                               To 
                                       Apache AXIS C Developers List       
             20/10/2004 11:41          <ax...@ws.apache.org>          
                                                                        cc 
                                                                           
             Please respond to                                     Subject 
              "Apache AXIS C           Re: [jira] Commented: (AXISCPP-89)  
             Developers List"          Message Larger than 2048 bytes      
                                       fails.                              
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




Are we happy with the solution that we have for this issues (and if so
close this out)?

Samisa...

--- axis-c-dev@ws.apache.org wrote:

> The following comment has been added to this issue:
>
>      Author: Samisa Abeysinghe
>     Created: Wed, 20 Oct 2004 3:05 AM
>        Body:
> Problem with Expat parser is known and reported in AXISCPP-178. This is
Expat specific (and
> nothing wrong with transport I guess) and need to solved by fixing the
Expat based parser lib.
> ---------------------------------------------------------------------
> View this comment:
>
http://issues.apache.org/jira/browse/AXISCPP-89?page=comments#action_54381
>
> ---------------------------------------------------------------------
> View the issue:
>   http://issues.apache.org/jira/browse/AXISCPP-89
>
> Here is an overview of the issue:
> ---------------------------------------------------------------------
>         Key: AXISCPP-89
>     Summary: Message Larger than 2048 bytes fails.
>        Type: Bug
>
>      Status: Unassigned
>    Priority: Critical
>
>     Project: Axis-C++
>  Components:
>              Transport (Client)
>    Versions:
>              1.1 Final
>
>    Assignee:
>    Reporter: Glenn Everitt
>
>     Created: Tue, 11 May 2004 3:08 PM
>     Updated: Wed, 20 Oct 2004 3:05 AM
> Environment: windows xp
>
> Description:
> It looks like when a larger payload is sent a buffer is reallocated
larger and fails.  I'm not
> sure why.  I'm calling a web service hosted in JBoss with java Axis.
Smaller payloads are
> successful.
>
>            ntdll.dll!77f75a58()
>            ntdll.dll!77f9cb5e()
>            ntdll.dll!77f9cfc4()
>            ntdll.dll!77f8c366()
>            kernel32.dll!77e75b6c()
>            kernel32.dll!77e6c75a()
>            msvcr71d.dll!_CrtIsValidHeapPointer(const void *
pUserData=0x003af0f8)  Line 1807           C
> >          msvcr71d.dll!_free_dbg_lk(void * pUserData=0x003af0f8, int
nBlockUse=1)  Line 1132 + 0x9        C
>            msvcr71d.dll!_free_dbg(void * pUserData=0x003af0f8, int
nBlockUse=1)  Line 1070 + 0xd        C
>            msvcr71d.dll!operator delete(void * pUserData=0x003af0f8)
Line 54 + 0x10           C++
>            msvcp71d.dll!std::allocator<char>::deallocate(char *
_Ptr=0x003af0f8, unsigned int
> __formal=2048)  Line 138 + 0x9           C++
>
msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char>
 >::_Tidy(bool
> _Built=true, unsigned int _Newsize=0)  Line 1519           C++
>
msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char>

> >::_Copy(unsigned int _Newsize=3071, unsigned int _Oldlen=4)  Line 1468
       C++
>
msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char>

> >::_Grow(unsigned int _Newsize=3071, bool _Trim=false)  Line 1485
 C++
>
msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char>

> >::assign(const char * _Ptr=0x06ca73a8, unsigned int _Num=3071)  Line 612
+ 0xe        C++
>
msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char>

> >::assign(const char * _Ptr=0x06ca73a8)  Line 623          C++
>
msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char>

> >::operator=(const char * _Ptr=0x06ca73a8)  Line 473             C++
>            AxisClient_D.dll!BasicTypeSerializer::SerializeAsElement(const
char * pName=0x003afafc, const
> void * pValue=0x003afad0, XSDTYPETag type=XSD_STRING)  Line 123 + 0x12
       C++
>            AxisClient_D.dll!SoapSerializer::SerializeAsElement(const char
* pName=0x003afafc, void *
> pValue=0x003afad0, XSDTYPETag type=XSD_STRING)  Line 656 + 0x17
C++
>            AxisClient_D.dll!Param::serialize(SoapSerializer & pSZ={...})
Line 185 + 0x32          C++
>
AxisClient_D.dll!SoapMethod::serializeOutputParam(SoapSerializer &
pSZ={...})  Line 182 + 0x13
> C++
>            AxisClient_D.dll!SoapMethod::serialize(SoapSerializer &
pSZ={...})  Line 97 + 0xc            C++
>            AxisClient_D.dll!SoapBody::serialize(SoapSerializer &
pSZ={...}, SOAP_VERSIONTag
> eSoapVersion=SOAP_VER_1_1)  Line 85 + 0xf            C++
>            AxisClient_D.dll!SoapEnvelope::serialize(SoapSerializer &
pSZ={...}, SOAP_VERSIONTag
> eSoapVersion=SOAP_VER_1_1)  Line 107 + 0x13          C++
>            AxisClient_D.dll!SoapSerializer::SetOutputStream(const
Ax_soapstream * pStream=0x06ca2c9c)
> Line 222 + 0x16        C++
>            AxisClient_D.dll!ClientAxisEngine::Invoke(MessageData *
pMsg=0x003abfe8)  Line 160 + 0x12          C++
>            AxisClient_D.dll!ClientAxisEngine::Process(Ax_soapstream *
pSoap=0x06ca2c9c)  Line 98 + 0x14
> C++
>            AxisClient_D.dll!Call::Invoke()  Line 98 + 0x1a
C++
>            mscorwks.dll!7925c098()
>            COSMRWebServicesClient.exe!COSMRWebServices::publish(char*
Value0 = 0x0042201c, char* Value1 =
> 0x00422014, char* Value2 = 0x06ca73a8) Line 195 + 0x20 bytes
C++
>            COSMRWebServicesClient.exe!main(__int32 argc = 3, char** argv
= 0x06ca3978) Line 55          C++
>            COSMRWebServicesClient.exe!mainCRTStartup()  Line 259 + 0x19
       C
>
>
>
> ---------------------------------------------------------------------
> JIRA INFORMATION:
> 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
>
> If you want more information on JIRA, or have a bug to report see:
>    http://www.atlassian.com/software/jira
>
>




_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com



Re: [jira] Commented: (AXISCPP-89) Message Larger than 2048 bytes fails.

Posted by Samisa Abeysinghe <sa...@yahoo.com>.
Are we happy with the solution that we have for this issues (and if so close this out)?

Samisa...

--- axis-c-dev@ws.apache.org wrote:

> The following comment has been added to this issue:
> 
>      Author: Samisa Abeysinghe
>     Created: Wed, 20 Oct 2004 3:05 AM
>        Body:
> Problem with Expat parser is known and reported in AXISCPP-178. This is Expat specific (and
> nothing wrong with transport I guess) and need to solved by fixing the Expat based parser lib.
> ---------------------------------------------------------------------
> View this comment:
>   http://issues.apache.org/jira/browse/AXISCPP-89?page=comments#action_54381
> 
> ---------------------------------------------------------------------
> View the issue:
>   http://issues.apache.org/jira/browse/AXISCPP-89
> 
> Here is an overview of the issue:
> ---------------------------------------------------------------------
>         Key: AXISCPP-89
>     Summary: Message Larger than 2048 bytes fails.
>        Type: Bug
> 
>      Status: Unassigned
>    Priority: Critical
> 
>     Project: Axis-C++
>  Components: 
>              Transport (Client)
>    Versions:
>              1.1 Final
> 
>    Assignee: 
>    Reporter: Glenn Everitt
> 
>     Created: Tue, 11 May 2004 3:08 PM
>     Updated: Wed, 20 Oct 2004 3:05 AM
> Environment: windows xp 
> 
> Description:
> It looks like when a larger payload is sent a buffer is reallocated larger and fails.  I'm not
> sure why.  I'm calling a web service hosted in JBoss with java Axis. Smaller payloads are
> successful.
> 
>  	ntdll.dll!77f75a58() 	
>  	ntdll.dll!77f9cb5e() 	
>  	ntdll.dll!77f9cfc4() 	
>  	ntdll.dll!77f8c366() 	
>  	kernel32.dll!77e75b6c() 	
>  	kernel32.dll!77e6c75a() 	
>  	msvcr71d.dll!_CrtIsValidHeapPointer(const void * pUserData=0x003af0f8)  Line 1807	C
> >	msvcr71d.dll!_free_dbg_lk(void * pUserData=0x003af0f8, int nBlockUse=1)  Line 1132 + 0x9	C
>  	msvcr71d.dll!_free_dbg(void * pUserData=0x003af0f8, int nBlockUse=1)  Line 1070 + 0xd	C
>  	msvcr71d.dll!operator delete(void * pUserData=0x003af0f8)  Line 54 + 0x10	C++
>  	msvcp71d.dll!std::allocator<char>::deallocate(char * _Ptr=0x003af0f8, unsigned int
> __formal=2048)  Line 138 + 0x9	C++
>  	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Tidy(bool
> _Built=true, unsigned int _Newsize=0)  Line 1519	C++
>  	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char>
> >::_Copy(unsigned int _Newsize=3071, unsigned int _Oldlen=4)  Line 1468	C++
>  	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char>
> >::_Grow(unsigned int _Newsize=3071, bool _Trim=false)  Line 1485	C++
>  	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char>
> >::assign(const char * _Ptr=0x06ca73a8, unsigned int _Num=3071)  Line 612 + 0xe	C++
>  	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char>
> >::assign(const char * _Ptr=0x06ca73a8)  Line 623	C++
>  	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char>
> >::operator=(const char * _Ptr=0x06ca73a8)  Line 473	C++
>  	AxisClient_D.dll!BasicTypeSerializer::SerializeAsElement(const char * pName=0x003afafc, const
> void * pValue=0x003afad0, XSDTYPETag type=XSD_STRING)  Line 123 + 0x12	C++
>  	AxisClient_D.dll!SoapSerializer::SerializeAsElement(const char * pName=0x003afafc, void *
> pValue=0x003afad0, XSDTYPETag type=XSD_STRING)  Line 656 + 0x17	C++
>  	AxisClient_D.dll!Param::serialize(SoapSerializer & pSZ={...})  Line 185 + 0x32	C++
>  	AxisClient_D.dll!SoapMethod::serializeOutputParam(SoapSerializer & pSZ={...})  Line 182 + 0x13
> C++
>  	AxisClient_D.dll!SoapMethod::serialize(SoapSerializer & pSZ={...})  Line 97 + 0xc	C++
>  	AxisClient_D.dll!SoapBody::serialize(SoapSerializer & pSZ={...}, SOAP_VERSIONTag
> eSoapVersion=SOAP_VER_1_1)  Line 85 + 0xf	C++
>  	AxisClient_D.dll!SoapEnvelope::serialize(SoapSerializer & pSZ={...}, SOAP_VERSIONTag
> eSoapVersion=SOAP_VER_1_1)  Line 107 + 0x13	C++
>  	AxisClient_D.dll!SoapSerializer::SetOutputStream(const Ax_soapstream * pStream=0x06ca2c9c) 
> Line 222 + 0x16	C++
>  	AxisClient_D.dll!ClientAxisEngine::Invoke(MessageData * pMsg=0x003abfe8)  Line 160 + 0x12	C++
>  	AxisClient_D.dll!ClientAxisEngine::Process(Ax_soapstream * pSoap=0x06ca2c9c)  Line 98 + 0x14
> C++
>  	AxisClient_D.dll!Call::Invoke()  Line 98 + 0x1a	C++
>  	mscorwks.dll!7925c098() 	
>  	COSMRWebServicesClient.exe!COSMRWebServices::publish(char* Value0 = 0x0042201c, char* Value1 =
> 0x00422014, char* Value2 = 0x06ca73a8) Line 195 + 0x20 bytes	C++
>  	COSMRWebServicesClient.exe!main(__int32 argc = 3, char** argv = 0x06ca3978) Line 55	C++
>  	COSMRWebServicesClient.exe!mainCRTStartup()  Line 259 + 0x19	C
> 
> 
> 
> ---------------------------------------------------------------------
> JIRA INFORMATION:
> 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
> 
> If you want more information on JIRA, or have a bug to report see:
>    http://www.atlassian.com/software/jira
> 
> 



		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

[jira] Commented: (AXISCPP-89) Message Larger than 2048 bytes fails.

Posted by ax...@ws.apache.org.
The following comment has been added to this issue:

     Author: Samisa Abeysinghe
    Created: Wed, 20 Oct 2004 3:05 AM
       Body:
Problem with Expat parser is known and reported in AXISCPP-178. This is Expat specific (and nothing wrong with transport I guess) and need to solved by fixing the Expat based parser lib.
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/AXISCPP-89?page=comments#action_54381

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXISCPP-89

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXISCPP-89
    Summary: Message Larger than 2048 bytes fails.
       Type: Bug

     Status: Unassigned
   Priority: Critical

    Project: Axis-C++
 Components: 
             Transport (Client)
   Versions:
             1.1 Final

   Assignee: 
   Reporter: Glenn Everitt

    Created: Tue, 11 May 2004 3:08 PM
    Updated: Wed, 20 Oct 2004 3:05 AM
Environment: windows xp 

Description:
It looks like when a larger payload is sent a buffer is reallocated larger and fails.  I'm not sure why.  I'm calling a web service hosted in JBoss with java Axis. Smaller payloads are successful.

 	ntdll.dll!77f75a58() 	
 	ntdll.dll!77f9cb5e() 	
 	ntdll.dll!77f9cfc4() 	
 	ntdll.dll!77f8c366() 	
 	kernel32.dll!77e75b6c() 	
 	kernel32.dll!77e6c75a() 	
 	msvcr71d.dll!_CrtIsValidHeapPointer(const void * pUserData=0x003af0f8)  Line 1807	C
>	msvcr71d.dll!_free_dbg_lk(void * pUserData=0x003af0f8, int nBlockUse=1)  Line 1132 + 0x9	C
 	msvcr71d.dll!_free_dbg(void * pUserData=0x003af0f8, int nBlockUse=1)  Line 1070 + 0xd	C
 	msvcr71d.dll!operator delete(void * pUserData=0x003af0f8)  Line 54 + 0x10	C++
 	msvcp71d.dll!std::allocator<char>::deallocate(char * _Ptr=0x003af0f8, unsigned int __formal=2048)  Line 138 + 0x9	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Tidy(bool _Built=true, unsigned int _Newsize=0)  Line 1519	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Copy(unsigned int _Newsize=3071, unsigned int _Oldlen=4)  Line 1468	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Grow(unsigned int _Newsize=3071, bool _Trim=false)  Line 1485	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::assign(const char * _Ptr=0x06ca73a8, unsigned int _Num=3071)  Line 612 + 0xe	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::assign(const char * _Ptr=0x06ca73a8)  Line 623	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::operator=(const char * _Ptr=0x06ca73a8)  Line 473	C++
 	AxisClient_D.dll!BasicTypeSerializer::SerializeAsElement(const char * pName=0x003afafc, const void * pValue=0x003afad0, XSDTYPETag type=XSD_STRING)  Line 123 + 0x12	C++
 	AxisClient_D.dll!SoapSerializer::SerializeAsElement(const char * pName=0x003afafc, void * pValue=0x003afad0, XSDTYPETag type=XSD_STRING)  Line 656 + 0x17	C++
 	AxisClient_D.dll!Param::serialize(SoapSerializer & pSZ={...})  Line 185 + 0x32	C++
 	AxisClient_D.dll!SoapMethod::serializeOutputParam(SoapSerializer & pSZ={...})  Line 182 + 0x13	C++
 	AxisClient_D.dll!SoapMethod::serialize(SoapSerializer & pSZ={...})  Line 97 + 0xc	C++
 	AxisClient_D.dll!SoapBody::serialize(SoapSerializer & pSZ={...}, SOAP_VERSIONTag eSoapVersion=SOAP_VER_1_1)  Line 85 + 0xf	C++
 	AxisClient_D.dll!SoapEnvelope::serialize(SoapSerializer & pSZ={...}, SOAP_VERSIONTag eSoapVersion=SOAP_VER_1_1)  Line 107 + 0x13	C++
 	AxisClient_D.dll!SoapSerializer::SetOutputStream(const Ax_soapstream * pStream=0x06ca2c9c)  Line 222 + 0x16	C++
 	AxisClient_D.dll!ClientAxisEngine::Invoke(MessageData * pMsg=0x003abfe8)  Line 160 + 0x12	C++
 	AxisClient_D.dll!ClientAxisEngine::Process(Ax_soapstream * pSoap=0x06ca2c9c)  Line 98 + 0x14	C++
 	AxisClient_D.dll!Call::Invoke()  Line 98 + 0x1a	C++
 	mscorwks.dll!7925c098() 	
 	COSMRWebServicesClient.exe!COSMRWebServices::publish(char* Value0 = 0x0042201c, char* Value1 = 0x00422014, char* Value2 = 0x06ca73a8) Line 195 + 0x20 bytes	C++
 	COSMRWebServicesClient.exe!main(__int32 argc = 3, char** argv = 0x06ca3978) Line 55	C++
 	COSMRWebServicesClient.exe!mainCRTStartup()  Line 259 + 0x19	C



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Re: [jira] Commented: (AXISCPP-89) Message Larger than 2048 bytes fails.

Posted by Valentin Kuznetsov <vk...@yahoo.com>.
Hi,
as I find out one of my earlier patches didn't
applied.
I experienced the same problem before with messages
larger then 2048. I commit my patch now again to CVS
tree to fix this problem. Could you please update your
src/transport/axis/AxisTransport.cpp from cvs tree and
verify if problems still exists.
Valentin.

--- axis-c-dev@ws.apache.org wrote:

> The following comment has been added to this issue:
> 
>      Author: Andrew Perry
>     Created: Wed, 13 Oct 2004 7:59 AM
>        Body:
> There still seems to be an issue with this using the
> axis2 transport. I've written a test client which
> calls a request to send a large string then calls
> another request to get the large string previously
> sent.
> 
> Messages approaching 2MB work correctly, but
> messages approaching 4MB do not return the full
> message. For example I send a 4190208 byte message,
> I only receive 4182069 bytes.
>
---------------------------------------------------------------------
> View this comment:
>  
>
http://issues.apache.org/jira/browse/AXISCPP-89?page=comments#action_53996
> 
>
---------------------------------------------------------------------
> View the issue:
>   http://issues.apache.org/jira/browse/AXISCPP-89
> 
> Here is an overview of the issue:
>
---------------------------------------------------------------------
>         Key: AXISCPP-89
>     Summary: Message Larger than 2048 bytes fails.
>        Type: Bug
> 
>      Status: Unassigned
>    Priority: Critical
> 
>     Project: Axis-C++
>  Components: 
>              Transport (Client)
>    Versions:
>              1.1 Final
> 
>    Assignee: 
>    Reporter: Glenn Everitt
> 
>     Created: Tue, 11 May 2004 3:08 PM
>     Updated: Wed, 13 Oct 2004 7:59 AM
> Environment: windows xp 
> 
> Description:
> It looks like when a larger payload is sent a buffer
> is reallocated larger and fails.  I'm not sure why. 
> I'm calling a web service hosted in JBoss with java
> Axis. Smaller payloads are successful.
> 
>  	ntdll.dll!77f75a58() 	
>  	ntdll.dll!77f9cb5e() 	
>  	ntdll.dll!77f9cfc4() 	
>  	ntdll.dll!77f8c366() 	
>  	kernel32.dll!77e75b6c() 	
>  	kernel32.dll!77e6c75a() 	
>  	msvcr71d.dll!_CrtIsValidHeapPointer(const void *
> pUserData=0x003af0f8)  Line 1807	C
> >	msvcr71d.dll!_free_dbg_lk(void *
> pUserData=0x003af0f8, int nBlockUse=1)  Line 1132 +
> 0x9	C
>  	msvcr71d.dll!_free_dbg(void *
> pUserData=0x003af0f8, int nBlockUse=1)  Line 1070 +
> 0xd	C
>  	msvcr71d.dll!operator delete(void *
> pUserData=0x003af0f8)  Line 54 + 0x10	C++
>  	msvcp71d.dll!std::allocator<char>::deallocate(char
> * _Ptr=0x003af0f8, unsigned int __formal=2048)  Line
> 138 + 0x9	C++
>  
>
msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char>
> >::_Tidy(bool _Built=true, unsigned int _Newsize=0) 
> Line 1519	C++
>  
>
msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char>
> >::_Copy(unsigned int _Newsize=3071, unsigned int
> _Oldlen=4)  Line 1468	C++
>  
>
msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char>
> >::_Grow(unsigned int _Newsize=3071, bool
> _Trim=false)  Line 1485	C++
>  
>
msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char>
> >::assign(const char * _Ptr=0x06ca73a8, unsigned int
> _Num=3071)  Line 612 + 0xe	C++
>  
>
msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char>
> >::assign(const char * _Ptr=0x06ca73a8)  Line 623
> C++
>  
>
msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char>
> >::operator=(const char * _Ptr=0x06ca73a8)  Line 473
> C++
>  
>
AxisClient_D.dll!BasicTypeSerializer::SerializeAsElement(const
> char * pName=0x003afafc, const void *
> pValue=0x003afad0, XSDTYPETag type=XSD_STRING)  Line
> 123 + 0x12	C++
>  
>
AxisClient_D.dll!SoapSerializer::SerializeAsElement(const
> char * pName=0x003afafc, void * pValue=0x003afad0,
> XSDTYPETag type=XSD_STRING)  Line 656 + 0x17	C++
>  	AxisClient_D.dll!Param::serialize(SoapSerializer &
> pSZ={...})  Line 185 + 0x32	C++
>  
>
AxisClient_D.dll!SoapMethod::serializeOutputParam(SoapSerializer
> & pSZ={...})  Line 182 + 0x13	C++
>  
>
AxisClient_D.dll!SoapMethod::serialize(SoapSerializer
> & pSZ={...})  Line 97 + 0xc	C++
>  
> AxisClient_D.dll!SoapBody::serialize(SoapSerializer
> & pSZ={...}, SOAP_VERSIONTag
> eSoapVersion=SOAP_VER_1_1)  Line 85 + 0xf	C++
>  
>
AxisClient_D.dll!SoapEnvelope::serialize(SoapSerializer
> & pSZ={...}, SOAP_VERSIONTag
> eSoapVersion=SOAP_VER_1_1)  Line 107 + 0x13	C++
>  
>
AxisClient_D.dll!SoapSerializer::SetOutputStream(const
> Ax_soapstream * pStream=0x06ca2c9c)  Line 222 + 0x16
> C++
>  
>
AxisClient_D.dll!ClientAxisEngine::Invoke(MessageData
> * pMsg=0x003abfe8)  Line 160 + 0x12	C++
>  
>
AxisClient_D.dll!ClientAxisEngine::Process(Ax_soapstream
> * pSoap=0x06ca2c9c)  Line 98 + 0x14	C++
>  	AxisClient_D.dll!Call::Invoke()  Line 98 + 0x1a
> C++
>  	mscorwks.dll!7925c098() 	
>  
>
COSMRWebServicesClient.exe!COSMRWebServices::publish(char*
> Value0 = 0x0042201c, char* Value1 = 0x00422014,
> char* Value2 = 0x06ca73a8) Line 195 + 0x20 bytes	C++
>  	COSMRWebServicesClient.exe!main(__int32 argc = 3,
> char** argv = 0x06ca3978) Line 55	C++
>  	COSMRWebServicesClient.exe!mainCRTStartup()  Line
> 259 + 0x19	C
> 
> 
> 
>
---------------------------------------------------------------------
> JIRA INFORMATION:
> 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
> 
> If you want more information on JIRA, or have a bug
> to report see:
>    http://www.atlassian.com/software/jira
> 
> 



		
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 

[jira] Commented: (AXISCPP-89) Message Larger than 2048 bytes fails.

Posted by ax...@ws.apache.org.
The following comment has been added to this issue:

     Author: Andrew Perry
    Created: Wed, 13 Oct 2004 7:59 AM
       Body:
There still seems to be an issue with this using the axis2 transport. I've written a test client which calls a request to send a large string then calls another request to get the large string previously sent.

Messages approaching 2MB work correctly, but messages approaching 4MB do not return the full message. For example I send a 4190208 byte message, I only receive 4182069 bytes.
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/AXISCPP-89?page=comments#action_53996

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXISCPP-89

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXISCPP-89
    Summary: Message Larger than 2048 bytes fails.
       Type: Bug

     Status: Unassigned
   Priority: Critical

    Project: Axis-C++
 Components: 
             Transport (Client)
   Versions:
             1.1 Final

   Assignee: 
   Reporter: Glenn Everitt

    Created: Tue, 11 May 2004 3:08 PM
    Updated: Wed, 13 Oct 2004 7:59 AM
Environment: windows xp 

Description:
It looks like when a larger payload is sent a buffer is reallocated larger and fails.  I'm not sure why.  I'm calling a web service hosted in JBoss with java Axis. Smaller payloads are successful.

 	ntdll.dll!77f75a58() 	
 	ntdll.dll!77f9cb5e() 	
 	ntdll.dll!77f9cfc4() 	
 	ntdll.dll!77f8c366() 	
 	kernel32.dll!77e75b6c() 	
 	kernel32.dll!77e6c75a() 	
 	msvcr71d.dll!_CrtIsValidHeapPointer(const void * pUserData=0x003af0f8)  Line 1807	C
>	msvcr71d.dll!_free_dbg_lk(void * pUserData=0x003af0f8, int nBlockUse=1)  Line 1132 + 0x9	C
 	msvcr71d.dll!_free_dbg(void * pUserData=0x003af0f8, int nBlockUse=1)  Line 1070 + 0xd	C
 	msvcr71d.dll!operator delete(void * pUserData=0x003af0f8)  Line 54 + 0x10	C++
 	msvcp71d.dll!std::allocator<char>::deallocate(char * _Ptr=0x003af0f8, unsigned int __formal=2048)  Line 138 + 0x9	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Tidy(bool _Built=true, unsigned int _Newsize=0)  Line 1519	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Copy(unsigned int _Newsize=3071, unsigned int _Oldlen=4)  Line 1468	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Grow(unsigned int _Newsize=3071, bool _Trim=false)  Line 1485	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::assign(const char * _Ptr=0x06ca73a8, unsigned int _Num=3071)  Line 612 + 0xe	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::assign(const char * _Ptr=0x06ca73a8)  Line 623	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::operator=(const char * _Ptr=0x06ca73a8)  Line 473	C++
 	AxisClient_D.dll!BasicTypeSerializer::SerializeAsElement(const char * pName=0x003afafc, const void * pValue=0x003afad0, XSDTYPETag type=XSD_STRING)  Line 123 + 0x12	C++
 	AxisClient_D.dll!SoapSerializer::SerializeAsElement(const char * pName=0x003afafc, void * pValue=0x003afad0, XSDTYPETag type=XSD_STRING)  Line 656 + 0x17	C++
 	AxisClient_D.dll!Param::serialize(SoapSerializer & pSZ={...})  Line 185 + 0x32	C++
 	AxisClient_D.dll!SoapMethod::serializeOutputParam(SoapSerializer & pSZ={...})  Line 182 + 0x13	C++
 	AxisClient_D.dll!SoapMethod::serialize(SoapSerializer & pSZ={...})  Line 97 + 0xc	C++
 	AxisClient_D.dll!SoapBody::serialize(SoapSerializer & pSZ={...}, SOAP_VERSIONTag eSoapVersion=SOAP_VER_1_1)  Line 85 + 0xf	C++
 	AxisClient_D.dll!SoapEnvelope::serialize(SoapSerializer & pSZ={...}, SOAP_VERSIONTag eSoapVersion=SOAP_VER_1_1)  Line 107 + 0x13	C++
 	AxisClient_D.dll!SoapSerializer::SetOutputStream(const Ax_soapstream * pStream=0x06ca2c9c)  Line 222 + 0x16	C++
 	AxisClient_D.dll!ClientAxisEngine::Invoke(MessageData * pMsg=0x003abfe8)  Line 160 + 0x12	C++
 	AxisClient_D.dll!ClientAxisEngine::Process(Ax_soapstream * pSoap=0x06ca2c9c)  Line 98 + 0x14	C++
 	AxisClient_D.dll!Call::Invoke()  Line 98 + 0x1a	C++
 	mscorwks.dll!7925c098() 	
 	COSMRWebServicesClient.exe!COSMRWebServices::publish(char* Value0 = 0x0042201c, char* Value1 = 0x00422014, char* Value2 = 0x06ca73a8) Line 195 + 0x20 bytes	C++
 	COSMRWebServicesClient.exe!main(__int32 argc = 3, char** argv = 0x06ca3978) Line 55	C++
 	COSMRWebServicesClient.exe!mainCRTStartup()  Line 259 + 0x19	C



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXISCPP-89) Message Larger than 2048 bytes fails.

Posted by ax...@ws.apache.org.
The following comment has been added to this issue:

     Author: Samisa Abeysinghe
    Created: Fri, 8 Oct 2004 6:22 AM
       Body:
Sanjaya ->

Actually its a false alarm. I had sent the string without being null
terminated after being memset. I managed to send upto 5000 bytes with 
the
new transport.

Samisa:
Looks like new transport solves this. Please test beyond 5000 if possible on Windows.
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/AXISCPP-89?page=comments#action_53846

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXISCPP-89

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXISCPP-89
    Summary: Message Larger than 2048 bytes fails.
       Type: Bug

     Status: Unassigned
   Priority: Critical

    Project: Axis-C++
 Components: 
             Transport (Client)
   Versions:
             1.1 Final

   Assignee: 
   Reporter: Glenn Everitt

    Created: Tue, 11 May 2004 3:08 PM
    Updated: Fri, 8 Oct 2004 6:22 AM
Environment: windows xp 

Description:
It looks like when a larger payload is sent a buffer is reallocated larger and fails.  I'm not sure why.  I'm calling a web service hosted in JBoss with java Axis. Smaller payloads are successful.

 	ntdll.dll!77f75a58() 	
 	ntdll.dll!77f9cb5e() 	
 	ntdll.dll!77f9cfc4() 	
 	ntdll.dll!77f8c366() 	
 	kernel32.dll!77e75b6c() 	
 	kernel32.dll!77e6c75a() 	
 	msvcr71d.dll!_CrtIsValidHeapPointer(const void * pUserData=0x003af0f8)  Line 1807	C
>	msvcr71d.dll!_free_dbg_lk(void * pUserData=0x003af0f8, int nBlockUse=1)  Line 1132 + 0x9	C
 	msvcr71d.dll!_free_dbg(void * pUserData=0x003af0f8, int nBlockUse=1)  Line 1070 + 0xd	C
 	msvcr71d.dll!operator delete(void * pUserData=0x003af0f8)  Line 54 + 0x10	C++
 	msvcp71d.dll!std::allocator<char>::deallocate(char * _Ptr=0x003af0f8, unsigned int __formal=2048)  Line 138 + 0x9	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Tidy(bool _Built=true, unsigned int _Newsize=0)  Line 1519	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Copy(unsigned int _Newsize=3071, unsigned int _Oldlen=4)  Line 1468	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Grow(unsigned int _Newsize=3071, bool _Trim=false)  Line 1485	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::assign(const char * _Ptr=0x06ca73a8, unsigned int _Num=3071)  Line 612 + 0xe	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::assign(const char * _Ptr=0x06ca73a8)  Line 623	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::operator=(const char * _Ptr=0x06ca73a8)  Line 473	C++
 	AxisClient_D.dll!BasicTypeSerializer::SerializeAsElement(const char * pName=0x003afafc, const void * pValue=0x003afad0, XSDTYPETag type=XSD_STRING)  Line 123 + 0x12	C++
 	AxisClient_D.dll!SoapSerializer::SerializeAsElement(const char * pName=0x003afafc, void * pValue=0x003afad0, XSDTYPETag type=XSD_STRING)  Line 656 + 0x17	C++
 	AxisClient_D.dll!Param::serialize(SoapSerializer & pSZ={...})  Line 185 + 0x32	C++
 	AxisClient_D.dll!SoapMethod::serializeOutputParam(SoapSerializer & pSZ={...})  Line 182 + 0x13	C++
 	AxisClient_D.dll!SoapMethod::serialize(SoapSerializer & pSZ={...})  Line 97 + 0xc	C++
 	AxisClient_D.dll!SoapBody::serialize(SoapSerializer & pSZ={...}, SOAP_VERSIONTag eSoapVersion=SOAP_VER_1_1)  Line 85 + 0xf	C++
 	AxisClient_D.dll!SoapEnvelope::serialize(SoapSerializer & pSZ={...}, SOAP_VERSIONTag eSoapVersion=SOAP_VER_1_1)  Line 107 + 0x13	C++
 	AxisClient_D.dll!SoapSerializer::SetOutputStream(const Ax_soapstream * pStream=0x06ca2c9c)  Line 222 + 0x16	C++
 	AxisClient_D.dll!ClientAxisEngine::Invoke(MessageData * pMsg=0x003abfe8)  Line 160 + 0x12	C++
 	AxisClient_D.dll!ClientAxisEngine::Process(Ax_soapstream * pSoap=0x06ca2c9c)  Line 98 + 0x14	C++
 	AxisClient_D.dll!Call::Invoke()  Line 98 + 0x1a	C++
 	mscorwks.dll!7925c098() 	
 	COSMRWebServicesClient.exe!COSMRWebServices::publish(char* Value0 = 0x0042201c, char* Value1 = 0x00422014, char* Value2 = 0x06ca73a8) Line 195 + 0x20 bytes	C++
 	COSMRWebServicesClient.exe!main(__int32 argc = 3, char** argv = 0x06ca3978) Line 55	C++
 	COSMRWebServicesClient.exe!mainCRTStartup()  Line 259 + 0x19	C



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (AXISCPP-89) Message Larger than 2048 bytes fails.

Posted by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-89?page=history ]
     
Samisa Abeysinghe resolved AXISCPP-89:
--------------------------------------

     Resolution: Fixed
    Fix Version: 1.3 Final

We have gone well above 2048 clar limit.
Tests for echoing strings of 4M chars were successful.

> Message Larger than 2048 bytes fails.
> -------------------------------------
>
>          Key: AXISCPP-89
>          URL: http://issues.apache.org/jira/browse/AXISCPP-89
>      Project: Axis-C++
>         Type: Bug
>   Components: Transport (Client)
>     Versions: 1.1 Final
>  Environment: windows xp 
>     Reporter: Glenn Everitt
>     Priority: Critical
>      Fix For: 1.3 Final

>
> It looks like when a larger payload is sent a buffer is reallocated larger and fails.  I'm not sure why.  I'm calling a web service hosted in JBoss with java Axis. Smaller payloads are successful.
>  	ntdll.dll!77f75a58() 	
>  	ntdll.dll!77f9cb5e() 	
>  	ntdll.dll!77f9cfc4() 	
>  	ntdll.dll!77f8c366() 	
>  	kernel32.dll!77e75b6c() 	
>  	kernel32.dll!77e6c75a() 	
>  	msvcr71d.dll!_CrtIsValidHeapPointer(const void * pUserData=0x003af0f8)  Line 1807	C
> >	msvcr71d.dll!_free_dbg_lk(void * pUserData=0x003af0f8, int nBlockUse=1)  Line 1132 + 0x9	C
>  	msvcr71d.dll!_free_dbg(void * pUserData=0x003af0f8, int nBlockUse=1)  Line 1070 + 0xd	C
>  	msvcr71d.dll!operator delete(void * pUserData=0x003af0f8)  Line 54 + 0x10	C++
>  	msvcp71d.dll!std::allocator<char>::deallocate(char * _Ptr=0x003af0f8, unsigned int __formal=2048)  Line 138 + 0x9	C++
>  	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Tidy(bool _Built=true, unsigned int _Newsize=0)  Line 1519	C++
>  	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Copy(unsigned int _Newsize=3071, unsigned int _Oldlen=4)  Line 1468	C++
>  	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Grow(unsigned int _Newsize=3071, bool _Trim=false)  Line 1485	C++
>  	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::assign(const char * _Ptr=0x06ca73a8, unsigned int _Num=3071)  Line 612 + 0xe	C++
>  	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::assign(const char * _Ptr=0x06ca73a8)  Line 623	C++
>  	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::operator=(const char * _Ptr=0x06ca73a8)  Line 473	C++
>  	AxisClient_D.dll!BasicTypeSerializer::SerializeAsElement(const char * pName=0x003afafc, const void * pValue=0x003afad0, XSDTYPETag type=XSD_STRING)  Line 123 + 0x12	C++
>  	AxisClient_D.dll!SoapSerializer::SerializeAsElement(const char * pName=0x003afafc, void * pValue=0x003afad0, XSDTYPETag type=XSD_STRING)  Line 656 + 0x17	C++
>  	AxisClient_D.dll!Param::serialize(SoapSerializer & pSZ={...})  Line 185 + 0x32	C++
>  	AxisClient_D.dll!SoapMethod::serializeOutputParam(SoapSerializer & pSZ={...})  Line 182 + 0x13	C++
>  	AxisClient_D.dll!SoapMethod::serialize(SoapSerializer & pSZ={...})  Line 97 + 0xc	C++
>  	AxisClient_D.dll!SoapBody::serialize(SoapSerializer & pSZ={...}, SOAP_VERSIONTag eSoapVersion=SOAP_VER_1_1)  Line 85 + 0xf	C++
>  	AxisClient_D.dll!SoapEnvelope::serialize(SoapSerializer & pSZ={...}, SOAP_VERSIONTag eSoapVersion=SOAP_VER_1_1)  Line 107 + 0x13	C++
>  	AxisClient_D.dll!SoapSerializer::SetOutputStream(const Ax_soapstream * pStream=0x06ca2c9c)  Line 222 + 0x16	C++
>  	AxisClient_D.dll!ClientAxisEngine::Invoke(MessageData * pMsg=0x003abfe8)  Line 160 + 0x12	C++
>  	AxisClient_D.dll!ClientAxisEngine::Process(Ax_soapstream * pSoap=0x06ca2c9c)  Line 98 + 0x14	C++
>  	AxisClient_D.dll!Call::Invoke()  Line 98 + 0x1a	C++
>  	mscorwks.dll!7925c098() 	
>  	COSMRWebServicesClient.exe!COSMRWebServices::publish(char* Value0 = 0x0042201c, char* Value1 = 0x00422014, char* Value2 = 0x06ca73a8) Line 195 + 0x20 bytes	C++
>  	COSMRWebServicesClient.exe!main(__int32 argc = 3, char** argv = 0x06ca3978) Line 55	C++
>  	COSMRWebServicesClient.exe!mainCRTStartup()  Line 259 + 0x19	C

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXISCPP-89) Message Larger than 2048 bytes fails.

Posted by ax...@ws.apache.org.
The following comment has been added to this issue:

     Author: Samisa Abeysinghe
    Created: Wed, 29 Sep 2004 2:40 AM
       Body:
This problem still exists on Windows platform in 1.3 beta (tested by Lahiru)
Need to test this with new transport lib on windows and see if the problem has gone away (see issue AXISCPP-175)
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/AXISCPP-89?page=comments#action_53487

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXISCPP-89

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXISCPP-89
    Summary: Message Larger than 2048 bytes fails.
       Type: Bug

     Status: Unassigned
   Priority: Critical

    Project: Axis-C++
 Components: 
             Transport (Client)
   Versions:
             1.1 Final

   Assignee: 
   Reporter: Glenn Everitt

    Created: Tue, 11 May 2004 3:08 PM
    Updated: Wed, 29 Sep 2004 2:40 AM
Environment: windows xp 

Description:
It looks like when a larger payload is sent a buffer is reallocated larger and fails.  I'm not sure why.  I'm calling a web service hosted in JBoss with java Axis. Smaller payloads are successful.

 	ntdll.dll!77f75a58() 	
 	ntdll.dll!77f9cb5e() 	
 	ntdll.dll!77f9cfc4() 	
 	ntdll.dll!77f8c366() 	
 	kernel32.dll!77e75b6c() 	
 	kernel32.dll!77e6c75a() 	
 	msvcr71d.dll!_CrtIsValidHeapPointer(const void * pUserData=0x003af0f8)  Line 1807	C
>	msvcr71d.dll!_free_dbg_lk(void * pUserData=0x003af0f8, int nBlockUse=1)  Line 1132 + 0x9	C
 	msvcr71d.dll!_free_dbg(void * pUserData=0x003af0f8, int nBlockUse=1)  Line 1070 + 0xd	C
 	msvcr71d.dll!operator delete(void * pUserData=0x003af0f8)  Line 54 + 0x10	C++
 	msvcp71d.dll!std::allocator<char>::deallocate(char * _Ptr=0x003af0f8, unsigned int __formal=2048)  Line 138 + 0x9	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Tidy(bool _Built=true, unsigned int _Newsize=0)  Line 1519	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Copy(unsigned int _Newsize=3071, unsigned int _Oldlen=4)  Line 1468	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Grow(unsigned int _Newsize=3071, bool _Trim=false)  Line 1485	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::assign(const char * _Ptr=0x06ca73a8, unsigned int _Num=3071)  Line 612 + 0xe	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::assign(const char * _Ptr=0x06ca73a8)  Line 623	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::operator=(const char * _Ptr=0x06ca73a8)  Line 473	C++
 	AxisClient_D.dll!BasicTypeSerializer::SerializeAsElement(const char * pName=0x003afafc, const void * pValue=0x003afad0, XSDTYPETag type=XSD_STRING)  Line 123 + 0x12	C++
 	AxisClient_D.dll!SoapSerializer::SerializeAsElement(const char * pName=0x003afafc, void * pValue=0x003afad0, XSDTYPETag type=XSD_STRING)  Line 656 + 0x17	C++
 	AxisClient_D.dll!Param::serialize(SoapSerializer & pSZ={...})  Line 185 + 0x32	C++
 	AxisClient_D.dll!SoapMethod::serializeOutputParam(SoapSerializer & pSZ={...})  Line 182 + 0x13	C++
 	AxisClient_D.dll!SoapMethod::serialize(SoapSerializer & pSZ={...})  Line 97 + 0xc	C++
 	AxisClient_D.dll!SoapBody::serialize(SoapSerializer & pSZ={...}, SOAP_VERSIONTag eSoapVersion=SOAP_VER_1_1)  Line 85 + 0xf	C++
 	AxisClient_D.dll!SoapEnvelope::serialize(SoapSerializer & pSZ={...}, SOAP_VERSIONTag eSoapVersion=SOAP_VER_1_1)  Line 107 + 0x13	C++
 	AxisClient_D.dll!SoapSerializer::SetOutputStream(const Ax_soapstream * pStream=0x06ca2c9c)  Line 222 + 0x16	C++
 	AxisClient_D.dll!ClientAxisEngine::Invoke(MessageData * pMsg=0x003abfe8)  Line 160 + 0x12	C++
 	AxisClient_D.dll!ClientAxisEngine::Process(Ax_soapstream * pSoap=0x06ca2c9c)  Line 98 + 0x14	C++
 	AxisClient_D.dll!Call::Invoke()  Line 98 + 0x1a	C++
 	mscorwks.dll!7925c098() 	
 	COSMRWebServicesClient.exe!COSMRWebServices::publish(char* Value0 = 0x0042201c, char* Value1 = 0x00422014, char* Value2 = 0x06ca73a8) Line 195 + 0x20 bytes	C++
 	COSMRWebServicesClient.exe!main(__int32 argc = 3, char** argv = 0x06ca3978) Line 55	C++
 	COSMRWebServicesClient.exe!mainCRTStartup()  Line 259 + 0x19	C



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXISCPP-89) Message Larger than 2048 bytes fails.

Posted by ax...@ws.apache.org.
The following comment has been added to this issue:

     Author: Samisa Abeysinghe
    Created: Fri, 8 Oct 2004 1:15 AM
       Body:
This is not really a bug with transport.

It is a bug with serialization process.

The problem happens in BasicTypeSerializer::serializeAsElement()
To be precise, when it does:
   m_AuxStr = pStr;
where pStr is constructed using:
   pStr = *((char**)(pValue));

I got the gut feel that somewhere in this section of the code, we need 
a cast to std string.
And I guess if we use
m_AuxStr = std::basic_string<char> (pStr);
it would be better.

Also it is worth looking at if Windows handle union used in Param class properly.

---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/AXISCPP-89?page=comments#action_53831

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXISCPP-89

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXISCPP-89
    Summary: Message Larger than 2048 bytes fails.
       Type: Bug

     Status: Unassigned
   Priority: Critical

    Project: Axis-C++
 Components: 
             Transport (Client)
   Versions:
             1.1 Final

   Assignee: 
   Reporter: Glenn Everitt

    Created: Tue, 11 May 2004 3:08 PM
    Updated: Fri, 8 Oct 2004 1:15 AM
Environment: windows xp 

Description:
It looks like when a larger payload is sent a buffer is reallocated larger and fails.  I'm not sure why.  I'm calling a web service hosted in JBoss with java Axis. Smaller payloads are successful.

 	ntdll.dll!77f75a58() 	
 	ntdll.dll!77f9cb5e() 	
 	ntdll.dll!77f9cfc4() 	
 	ntdll.dll!77f8c366() 	
 	kernel32.dll!77e75b6c() 	
 	kernel32.dll!77e6c75a() 	
 	msvcr71d.dll!_CrtIsValidHeapPointer(const void * pUserData=0x003af0f8)  Line 1807	C
>	msvcr71d.dll!_free_dbg_lk(void * pUserData=0x003af0f8, int nBlockUse=1)  Line 1132 + 0x9	C
 	msvcr71d.dll!_free_dbg(void * pUserData=0x003af0f8, int nBlockUse=1)  Line 1070 + 0xd	C
 	msvcr71d.dll!operator delete(void * pUserData=0x003af0f8)  Line 54 + 0x10	C++
 	msvcp71d.dll!std::allocator<char>::deallocate(char * _Ptr=0x003af0f8, unsigned int __formal=2048)  Line 138 + 0x9	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Tidy(bool _Built=true, unsigned int _Newsize=0)  Line 1519	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Copy(unsigned int _Newsize=3071, unsigned int _Oldlen=4)  Line 1468	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Grow(unsigned int _Newsize=3071, bool _Trim=false)  Line 1485	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::assign(const char * _Ptr=0x06ca73a8, unsigned int _Num=3071)  Line 612 + 0xe	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::assign(const char * _Ptr=0x06ca73a8)  Line 623	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::operator=(const char * _Ptr=0x06ca73a8)  Line 473	C++
 	AxisClient_D.dll!BasicTypeSerializer::SerializeAsElement(const char * pName=0x003afafc, const void * pValue=0x003afad0, XSDTYPETag type=XSD_STRING)  Line 123 + 0x12	C++
 	AxisClient_D.dll!SoapSerializer::SerializeAsElement(const char * pName=0x003afafc, void * pValue=0x003afad0, XSDTYPETag type=XSD_STRING)  Line 656 + 0x17	C++
 	AxisClient_D.dll!Param::serialize(SoapSerializer & pSZ={...})  Line 185 + 0x32	C++
 	AxisClient_D.dll!SoapMethod::serializeOutputParam(SoapSerializer & pSZ={...})  Line 182 + 0x13	C++
 	AxisClient_D.dll!SoapMethod::serialize(SoapSerializer & pSZ={...})  Line 97 + 0xc	C++
 	AxisClient_D.dll!SoapBody::serialize(SoapSerializer & pSZ={...}, SOAP_VERSIONTag eSoapVersion=SOAP_VER_1_1)  Line 85 + 0xf	C++
 	AxisClient_D.dll!SoapEnvelope::serialize(SoapSerializer & pSZ={...}, SOAP_VERSIONTag eSoapVersion=SOAP_VER_1_1)  Line 107 + 0x13	C++
 	AxisClient_D.dll!SoapSerializer::SetOutputStream(const Ax_soapstream * pStream=0x06ca2c9c)  Line 222 + 0x16	C++
 	AxisClient_D.dll!ClientAxisEngine::Invoke(MessageData * pMsg=0x003abfe8)  Line 160 + 0x12	C++
 	AxisClient_D.dll!ClientAxisEngine::Process(Ax_soapstream * pSoap=0x06ca2c9c)  Line 98 + 0x14	C++
 	AxisClient_D.dll!Call::Invoke()  Line 98 + 0x1a	C++
 	mscorwks.dll!7925c098() 	
 	COSMRWebServicesClient.exe!COSMRWebServices::publish(char* Value0 = 0x0042201c, char* Value1 = 0x00422014, char* Value2 = 0x06ca73a8) Line 195 + 0x20 bytes	C++
 	COSMRWebServicesClient.exe!main(__int32 argc = 3, char** argv = 0x06ca3978) Line 55	C++
 	COSMRWebServicesClient.exe!mainCRTStartup()  Line 259 + 0x19	C



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXISCPP-89) Message Larger than 2048 bytes fails.

Posted by ax...@ws.apache.org.
The following comment has been added to this issue:

     Author: Samisa Abeysinghe
    Created: Mon, 18 Oct 2004 8:27 PM
       Body:
When I run C++ client with 5242880 chars, I get "Internal Server Error" from Axis Java and the Tomcat log reads 

2004-10-19 15:18:48 StandardWrapperValve[AxisServlet]: Servlet.service() for servlet AxisServlet threw exception
java.lang.OutOfMemoryError

Hence not the problem is more or less a Java problem (I guess) and not something wrong with C++ client.
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/AXISCPP-89?page=comments#action_54331

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXISCPP-89

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXISCPP-89
    Summary: Message Larger than 2048 bytes fails.
       Type: Bug

     Status: Unassigned
   Priority: Critical

    Project: Axis-C++
 Components: 
             Transport (Client)
   Versions:
             1.1 Final

   Assignee: 
   Reporter: Glenn Everitt

    Created: Tue, 11 May 2004 3:08 PM
    Updated: Mon, 18 Oct 2004 8:27 PM
Environment: windows xp 

Description:
It looks like when a larger payload is sent a buffer is reallocated larger and fails.  I'm not sure why.  I'm calling a web service hosted in JBoss with java Axis. Smaller payloads are successful.

 	ntdll.dll!77f75a58() 	
 	ntdll.dll!77f9cb5e() 	
 	ntdll.dll!77f9cfc4() 	
 	ntdll.dll!77f8c366() 	
 	kernel32.dll!77e75b6c() 	
 	kernel32.dll!77e6c75a() 	
 	msvcr71d.dll!_CrtIsValidHeapPointer(const void * pUserData=0x003af0f8)  Line 1807	C
>	msvcr71d.dll!_free_dbg_lk(void * pUserData=0x003af0f8, int nBlockUse=1)  Line 1132 + 0x9	C
 	msvcr71d.dll!_free_dbg(void * pUserData=0x003af0f8, int nBlockUse=1)  Line 1070 + 0xd	C
 	msvcr71d.dll!operator delete(void * pUserData=0x003af0f8)  Line 54 + 0x10	C++
 	msvcp71d.dll!std::allocator<char>::deallocate(char * _Ptr=0x003af0f8, unsigned int __formal=2048)  Line 138 + 0x9	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Tidy(bool _Built=true, unsigned int _Newsize=0)  Line 1519	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Copy(unsigned int _Newsize=3071, unsigned int _Oldlen=4)  Line 1468	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Grow(unsigned int _Newsize=3071, bool _Trim=false)  Line 1485	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::assign(const char * _Ptr=0x06ca73a8, unsigned int _Num=3071)  Line 612 + 0xe	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::assign(const char * _Ptr=0x06ca73a8)  Line 623	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::operator=(const char * _Ptr=0x06ca73a8)  Line 473	C++
 	AxisClient_D.dll!BasicTypeSerializer::SerializeAsElement(const char * pName=0x003afafc, const void * pValue=0x003afad0, XSDTYPETag type=XSD_STRING)  Line 123 + 0x12	C++
 	AxisClient_D.dll!SoapSerializer::SerializeAsElement(const char * pName=0x003afafc, void * pValue=0x003afad0, XSDTYPETag type=XSD_STRING)  Line 656 + 0x17	C++
 	AxisClient_D.dll!Param::serialize(SoapSerializer & pSZ={...})  Line 185 + 0x32	C++
 	AxisClient_D.dll!SoapMethod::serializeOutputParam(SoapSerializer & pSZ={...})  Line 182 + 0x13	C++
 	AxisClient_D.dll!SoapMethod::serialize(SoapSerializer & pSZ={...})  Line 97 + 0xc	C++
 	AxisClient_D.dll!SoapBody::serialize(SoapSerializer & pSZ={...}, SOAP_VERSIONTag eSoapVersion=SOAP_VER_1_1)  Line 85 + 0xf	C++
 	AxisClient_D.dll!SoapEnvelope::serialize(SoapSerializer & pSZ={...}, SOAP_VERSIONTag eSoapVersion=SOAP_VER_1_1)  Line 107 + 0x13	C++
 	AxisClient_D.dll!SoapSerializer::SetOutputStream(const Ax_soapstream * pStream=0x06ca2c9c)  Line 222 + 0x16	C++
 	AxisClient_D.dll!ClientAxisEngine::Invoke(MessageData * pMsg=0x003abfe8)  Line 160 + 0x12	C++
 	AxisClient_D.dll!ClientAxisEngine::Process(Ax_soapstream * pSoap=0x06ca2c9c)  Line 98 + 0x14	C++
 	AxisClient_D.dll!Call::Invoke()  Line 98 + 0x1a	C++
 	mscorwks.dll!7925c098() 	
 	COSMRWebServicesClient.exe!COSMRWebServices::publish(char* Value0 = 0x0042201c, char* Value1 = 0x00422014, char* Value2 = 0x06ca73a8) Line 195 + 0x20 bytes	C++
 	COSMRWebServicesClient.exe!main(__int32 argc = 3, char** argv = 0x06ca3978) Line 55	C++
 	COSMRWebServicesClient.exe!mainCRTStartup()  Line 259 + 0x19	C



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXISCPP-89) Message Larger than 2048 bytes fails.

Posted by ax...@ws.apache.org.
The following comment has been added to this issue:

     Author: Samisa Abeysinghe
    Created: Fri, 8 Oct 2004 1:08 AM
       Body:
By Sanjaya ->

bug 89 still seems to exist on windows with the new transport.

I simply used a string 2047 bytes long and a 2048 one in the echoString 
from
interop base sample. For 2047 it succeeds. For 2048 it fails.

When 2048 bytes are sent.....

The SOAP Request

POST /axis/base HTTP/1.1
Host: 127.0.0.1:5555
Content-Type: text/xml; charset=UTF-8
SOAPAction: "base#echoString"
Content-Length: 2437

<?xml version='1.0' encoding='utf-8' ?><SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><SOAP-ENV:Body><ns1:ec
hoString xmlns:ns1="http://soapinterop.org/"><inputString
xsi:type="xsd:string">wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
wwwwwwwwwwwwwwwwww8</inputString></ns1:echoString></SOAP-ENV:Body></SOAP-
ENV:Envelope>


The SOAP Response

HTTP/1.1 200 OK
Date: Fri, 08 Oct 2004 05:56:36 GMT
Server: Apache/1.3.28 (Win32)
Transfer-Encoding: chunked
Content-Type: text/xml

211
<?xml version='1.0' encoding='utf-8' ?><SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><SOAP-ENV:Body><SOAP-E
NV:Fault><faultcode>SOAP-ENV:Server</faultcode><faultstring>XML_STATUS_ERROR
thrown from parser</faultstring><faultactor>server name:listen
port</faultactor><faultdetail>AxisParseException:XML_STATUS_ERROR 
thrown
from
parser</faultdetail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
0
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/AXISCPP-89?page=comments#action_53830

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXISCPP-89

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXISCPP-89
    Summary: Message Larger than 2048 bytes fails.
       Type: Bug

     Status: Unassigned
   Priority: Critical

    Project: Axis-C++
 Components: 
             Transport (Client)
   Versions:
             1.1 Final

   Assignee: 
   Reporter: Glenn Everitt

    Created: Tue, 11 May 2004 3:08 PM
    Updated: Fri, 8 Oct 2004 1:08 AM
Environment: windows xp 

Description:
It looks like when a larger payload is sent a buffer is reallocated larger and fails.  I'm not sure why.  I'm calling a web service hosted in JBoss with java Axis. Smaller payloads are successful.

 	ntdll.dll!77f75a58() 	
 	ntdll.dll!77f9cb5e() 	
 	ntdll.dll!77f9cfc4() 	
 	ntdll.dll!77f8c366() 	
 	kernel32.dll!77e75b6c() 	
 	kernel32.dll!77e6c75a() 	
 	msvcr71d.dll!_CrtIsValidHeapPointer(const void * pUserData=0x003af0f8)  Line 1807	C
>	msvcr71d.dll!_free_dbg_lk(void * pUserData=0x003af0f8, int nBlockUse=1)  Line 1132 + 0x9	C
 	msvcr71d.dll!_free_dbg(void * pUserData=0x003af0f8, int nBlockUse=1)  Line 1070 + 0xd	C
 	msvcr71d.dll!operator delete(void * pUserData=0x003af0f8)  Line 54 + 0x10	C++
 	msvcp71d.dll!std::allocator<char>::deallocate(char * _Ptr=0x003af0f8, unsigned int __formal=2048)  Line 138 + 0x9	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Tidy(bool _Built=true, unsigned int _Newsize=0)  Line 1519	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Copy(unsigned int _Newsize=3071, unsigned int _Oldlen=4)  Line 1468	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Grow(unsigned int _Newsize=3071, bool _Trim=false)  Line 1485	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::assign(const char * _Ptr=0x06ca73a8, unsigned int _Num=3071)  Line 612 + 0xe	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::assign(const char * _Ptr=0x06ca73a8)  Line 623	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::operator=(const char * _Ptr=0x06ca73a8)  Line 473	C++
 	AxisClient_D.dll!BasicTypeSerializer::SerializeAsElement(const char * pName=0x003afafc, const void * pValue=0x003afad0, XSDTYPETag type=XSD_STRING)  Line 123 + 0x12	C++
 	AxisClient_D.dll!SoapSerializer::SerializeAsElement(const char * pName=0x003afafc, void * pValue=0x003afad0, XSDTYPETag type=XSD_STRING)  Line 656 + 0x17	C++
 	AxisClient_D.dll!Param::serialize(SoapSerializer & pSZ={...})  Line 185 + 0x32	C++
 	AxisClient_D.dll!SoapMethod::serializeOutputParam(SoapSerializer & pSZ={...})  Line 182 + 0x13	C++
 	AxisClient_D.dll!SoapMethod::serialize(SoapSerializer & pSZ={...})  Line 97 + 0xc	C++
 	AxisClient_D.dll!SoapBody::serialize(SoapSerializer & pSZ={...}, SOAP_VERSIONTag eSoapVersion=SOAP_VER_1_1)  Line 85 + 0xf	C++
 	AxisClient_D.dll!SoapEnvelope::serialize(SoapSerializer & pSZ={...}, SOAP_VERSIONTag eSoapVersion=SOAP_VER_1_1)  Line 107 + 0x13	C++
 	AxisClient_D.dll!SoapSerializer::SetOutputStream(const Ax_soapstream * pStream=0x06ca2c9c)  Line 222 + 0x16	C++
 	AxisClient_D.dll!ClientAxisEngine::Invoke(MessageData * pMsg=0x003abfe8)  Line 160 + 0x12	C++
 	AxisClient_D.dll!ClientAxisEngine::Process(Ax_soapstream * pSoap=0x06ca2c9c)  Line 98 + 0x14	C++
 	AxisClient_D.dll!Call::Invoke()  Line 98 + 0x1a	C++
 	mscorwks.dll!7925c098() 	
 	COSMRWebServicesClient.exe!COSMRWebServices::publish(char* Value0 = 0x0042201c, char* Value1 = 0x00422014, char* Value2 = 0x06ca73a8) Line 195 + 0x20 bytes	C++
 	COSMRWebServicesClient.exe!main(__int32 argc = 3, char** argv = 0x06ca3978) Line 55	C++
 	COSMRWebServicesClient.exe!mainCRTStartup()  Line 259 + 0x19	C



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXISCPP-89) Message Larger than 2048 bytes fails.

Posted by ax...@ws.apache.org.
The following comment has been added to this issue:

     Author: Samisa Abeysinghe
    Created: Mon, 18 Oct 2004 6:40 PM
       Body:
I tried 5242880 char message with C++ client and Java service and it failed. But when I had a look at the Tomcat log to see what went wrong I found that the request with 5242880 chars had failed because it ran out of memory.
    Hence I ran the tests again with Asis Java service and C++ client 
with all of your message 4MB+ sizes and 5242880 chars; with Axis Java service and none of them failed. This means that there is no chunking logic problems for 5MB message. 

     I guess we can call this issue fixed!


---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/AXISCPP-89?page=comments#action_54324

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXISCPP-89

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXISCPP-89
    Summary: Message Larger than 2048 bytes fails.
       Type: Bug

     Status: Unassigned
   Priority: Critical

    Project: Axis-C++
 Components: 
             Transport (Client)
   Versions:
             1.1 Final

   Assignee: 
   Reporter: Glenn Everitt

    Created: Tue, 11 May 2004 3:08 PM
    Updated: Mon, 18 Oct 2004 6:40 PM
Environment: windows xp 

Description:
It looks like when a larger payload is sent a buffer is reallocated larger and fails.  I'm not sure why.  I'm calling a web service hosted in JBoss with java Axis. Smaller payloads are successful.

 	ntdll.dll!77f75a58() 	
 	ntdll.dll!77f9cb5e() 	
 	ntdll.dll!77f9cfc4() 	
 	ntdll.dll!77f8c366() 	
 	kernel32.dll!77e75b6c() 	
 	kernel32.dll!77e6c75a() 	
 	msvcr71d.dll!_CrtIsValidHeapPointer(const void * pUserData=0x003af0f8)  Line 1807	C
>	msvcr71d.dll!_free_dbg_lk(void * pUserData=0x003af0f8, int nBlockUse=1)  Line 1132 + 0x9	C
 	msvcr71d.dll!_free_dbg(void * pUserData=0x003af0f8, int nBlockUse=1)  Line 1070 + 0xd	C
 	msvcr71d.dll!operator delete(void * pUserData=0x003af0f8)  Line 54 + 0x10	C++
 	msvcp71d.dll!std::allocator<char>::deallocate(char * _Ptr=0x003af0f8, unsigned int __formal=2048)  Line 138 + 0x9	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Tidy(bool _Built=true, unsigned int _Newsize=0)  Line 1519	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Copy(unsigned int _Newsize=3071, unsigned int _Oldlen=4)  Line 1468	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Grow(unsigned int _Newsize=3071, bool _Trim=false)  Line 1485	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::assign(const char * _Ptr=0x06ca73a8, unsigned int _Num=3071)  Line 612 + 0xe	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::assign(const char * _Ptr=0x06ca73a8)  Line 623	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::operator=(const char * _Ptr=0x06ca73a8)  Line 473	C++
 	AxisClient_D.dll!BasicTypeSerializer::SerializeAsElement(const char * pName=0x003afafc, const void * pValue=0x003afad0, XSDTYPETag type=XSD_STRING)  Line 123 + 0x12	C++
 	AxisClient_D.dll!SoapSerializer::SerializeAsElement(const char * pName=0x003afafc, void * pValue=0x003afad0, XSDTYPETag type=XSD_STRING)  Line 656 + 0x17	C++
 	AxisClient_D.dll!Param::serialize(SoapSerializer & pSZ={...})  Line 185 + 0x32	C++
 	AxisClient_D.dll!SoapMethod::serializeOutputParam(SoapSerializer & pSZ={...})  Line 182 + 0x13	C++
 	AxisClient_D.dll!SoapMethod::serialize(SoapSerializer & pSZ={...})  Line 97 + 0xc	C++
 	AxisClient_D.dll!SoapBody::serialize(SoapSerializer & pSZ={...}, SOAP_VERSIONTag eSoapVersion=SOAP_VER_1_1)  Line 85 + 0xf	C++
 	AxisClient_D.dll!SoapEnvelope::serialize(SoapSerializer & pSZ={...}, SOAP_VERSIONTag eSoapVersion=SOAP_VER_1_1)  Line 107 + 0x13	C++
 	AxisClient_D.dll!SoapSerializer::SetOutputStream(const Ax_soapstream * pStream=0x06ca2c9c)  Line 222 + 0x16	C++
 	AxisClient_D.dll!ClientAxisEngine::Invoke(MessageData * pMsg=0x003abfe8)  Line 160 + 0x12	C++
 	AxisClient_D.dll!ClientAxisEngine::Process(Ax_soapstream * pSoap=0x06ca2c9c)  Line 98 + 0x14	C++
 	AxisClient_D.dll!Call::Invoke()  Line 98 + 0x1a	C++
 	mscorwks.dll!7925c098() 	
 	COSMRWebServicesClient.exe!COSMRWebServices::publish(char* Value0 = 0x0042201c, char* Value1 = 0x00422014, char* Value2 = 0x06ca73a8) Line 195 + 0x20 bytes	C++
 	COSMRWebServicesClient.exe!main(__int32 argc = 3, char** argv = 0x06ca3978) Line 55	C++
 	COSMRWebServicesClient.exe!mainCRTStartup()  Line 259 + 0x19	C



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Closed: (AXISCPP-89) Message Larger than 2048 bytes fails.

Posted by "Samisa Abeysinghe (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-89?page=history ]
     
Samisa Abeysinghe closed AXISCPP-89:
------------------------------------


> Message Larger than 2048 bytes fails.
> -------------------------------------
>
>          Key: AXISCPP-89
>          URL: http://issues.apache.org/jira/browse/AXISCPP-89
>      Project: Axis-C++
>         Type: Bug
>   Components: Transport (Client)
>     Versions: 1.1 Final
>  Environment: windows xp 
>     Reporter: Glenn Everitt
>     Priority: Critical
>      Fix For: 1.3 Final

>
> It looks like when a larger payload is sent a buffer is reallocated larger and fails.  I'm not sure why.  I'm calling a web service hosted in JBoss with java Axis. Smaller payloads are successful.
>  	ntdll.dll!77f75a58() 	
>  	ntdll.dll!77f9cb5e() 	
>  	ntdll.dll!77f9cfc4() 	
>  	ntdll.dll!77f8c366() 	
>  	kernel32.dll!77e75b6c() 	
>  	kernel32.dll!77e6c75a() 	
>  	msvcr71d.dll!_CrtIsValidHeapPointer(const void * pUserData=0x003af0f8)  Line 1807	C
> >	msvcr71d.dll!_free_dbg_lk(void * pUserData=0x003af0f8, int nBlockUse=1)  Line 1132 + 0x9	C
>  	msvcr71d.dll!_free_dbg(void * pUserData=0x003af0f8, int nBlockUse=1)  Line 1070 + 0xd	C
>  	msvcr71d.dll!operator delete(void * pUserData=0x003af0f8)  Line 54 + 0x10	C++
>  	msvcp71d.dll!std::allocator<char>::deallocate(char * _Ptr=0x003af0f8, unsigned int __formal=2048)  Line 138 + 0x9	C++
>  	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Tidy(bool _Built=true, unsigned int _Newsize=0)  Line 1519	C++
>  	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Copy(unsigned int _Newsize=3071, unsigned int _Oldlen=4)  Line 1468	C++
>  	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Grow(unsigned int _Newsize=3071, bool _Trim=false)  Line 1485	C++
>  	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::assign(const char * _Ptr=0x06ca73a8, unsigned int _Num=3071)  Line 612 + 0xe	C++
>  	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::assign(const char * _Ptr=0x06ca73a8)  Line 623	C++
>  	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::operator=(const char * _Ptr=0x06ca73a8)  Line 473	C++
>  	AxisClient_D.dll!BasicTypeSerializer::SerializeAsElement(const char * pName=0x003afafc, const void * pValue=0x003afad0, XSDTYPETag type=XSD_STRING)  Line 123 + 0x12	C++
>  	AxisClient_D.dll!SoapSerializer::SerializeAsElement(const char * pName=0x003afafc, void * pValue=0x003afad0, XSDTYPETag type=XSD_STRING)  Line 656 + 0x17	C++
>  	AxisClient_D.dll!Param::serialize(SoapSerializer & pSZ={...})  Line 185 + 0x32	C++
>  	AxisClient_D.dll!SoapMethod::serializeOutputParam(SoapSerializer & pSZ={...})  Line 182 + 0x13	C++
>  	AxisClient_D.dll!SoapMethod::serialize(SoapSerializer & pSZ={...})  Line 97 + 0xc	C++
>  	AxisClient_D.dll!SoapBody::serialize(SoapSerializer & pSZ={...}, SOAP_VERSIONTag eSoapVersion=SOAP_VER_1_1)  Line 85 + 0xf	C++
>  	AxisClient_D.dll!SoapEnvelope::serialize(SoapSerializer & pSZ={...}, SOAP_VERSIONTag eSoapVersion=SOAP_VER_1_1)  Line 107 + 0x13	C++
>  	AxisClient_D.dll!SoapSerializer::SetOutputStream(const Ax_soapstream * pStream=0x06ca2c9c)  Line 222 + 0x16	C++
>  	AxisClient_D.dll!ClientAxisEngine::Invoke(MessageData * pMsg=0x003abfe8)  Line 160 + 0x12	C++
>  	AxisClient_D.dll!ClientAxisEngine::Process(Ax_soapstream * pSoap=0x06ca2c9c)  Line 98 + 0x14	C++
>  	AxisClient_D.dll!Call::Invoke()  Line 98 + 0x1a	C++
>  	mscorwks.dll!7925c098() 	
>  	COSMRWebServicesClient.exe!COSMRWebServices::publish(char* Value0 = 0x0042201c, char* Value1 = 0x00422014, char* Value2 = 0x06ca73a8) Line 195 + 0x20 bytes	C++
>  	COSMRWebServicesClient.exe!main(__int32 argc = 3, char** argv = 0x06ca3978) Line 55	C++
>  	COSMRWebServicesClient.exe!mainCRTStartup()  Line 259 + 0x19	C

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXISCPP-89) Message Larger than 2048 bytes fails.

Posted by ax...@ws.apache.org.
The following comment has been added to this issue:

     Author: Andrew Perry
    Created: Thu, 14 Oct 2004 2:11 AM
       Body:
Valentin,

Your patch is for the original Axis transport layer and we are now using the Axis2 transport layer. Can you see how easy it would be to apply the same logic in you fix to the Axis2 transport layer?
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/AXISCPP-89?page=comments#action_54037

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXISCPP-89

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXISCPP-89
    Summary: Message Larger than 2048 bytes fails.
       Type: Bug

     Status: Unassigned
   Priority: Critical

    Project: Axis-C++
 Components: 
             Transport (Client)
   Versions:
             1.1 Final

   Assignee: 
   Reporter: Glenn Everitt

    Created: Tue, 11 May 2004 3:08 PM
    Updated: Thu, 14 Oct 2004 2:11 AM
Environment: windows xp 

Description:
It looks like when a larger payload is sent a buffer is reallocated larger and fails.  I'm not sure why.  I'm calling a web service hosted in JBoss with java Axis. Smaller payloads are successful.

 	ntdll.dll!77f75a58() 	
 	ntdll.dll!77f9cb5e() 	
 	ntdll.dll!77f9cfc4() 	
 	ntdll.dll!77f8c366() 	
 	kernel32.dll!77e75b6c() 	
 	kernel32.dll!77e6c75a() 	
 	msvcr71d.dll!_CrtIsValidHeapPointer(const void * pUserData=0x003af0f8)  Line 1807	C
>	msvcr71d.dll!_free_dbg_lk(void * pUserData=0x003af0f8, int nBlockUse=1)  Line 1132 + 0x9	C
 	msvcr71d.dll!_free_dbg(void * pUserData=0x003af0f8, int nBlockUse=1)  Line 1070 + 0xd	C
 	msvcr71d.dll!operator delete(void * pUserData=0x003af0f8)  Line 54 + 0x10	C++
 	msvcp71d.dll!std::allocator<char>::deallocate(char * _Ptr=0x003af0f8, unsigned int __formal=2048)  Line 138 + 0x9	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Tidy(bool _Built=true, unsigned int _Newsize=0)  Line 1519	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Copy(unsigned int _Newsize=3071, unsigned int _Oldlen=4)  Line 1468	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Grow(unsigned int _Newsize=3071, bool _Trim=false)  Line 1485	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::assign(const char * _Ptr=0x06ca73a8, unsigned int _Num=3071)  Line 612 + 0xe	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::assign(const char * _Ptr=0x06ca73a8)  Line 623	C++
 	msvcp71d.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char> >::operator=(const char * _Ptr=0x06ca73a8)  Line 473	C++
 	AxisClient_D.dll!BasicTypeSerializer::SerializeAsElement(const char * pName=0x003afafc, const void * pValue=0x003afad0, XSDTYPETag type=XSD_STRING)  Line 123 + 0x12	C++
 	AxisClient_D.dll!SoapSerializer::SerializeAsElement(const char * pName=0x003afafc, void * pValue=0x003afad0, XSDTYPETag type=XSD_STRING)  Line 656 + 0x17	C++
 	AxisClient_D.dll!Param::serialize(SoapSerializer & pSZ={...})  Line 185 + 0x32	C++
 	AxisClient_D.dll!SoapMethod::serializeOutputParam(SoapSerializer & pSZ={...})  Line 182 + 0x13	C++
 	AxisClient_D.dll!SoapMethod::serialize(SoapSerializer & pSZ={...})  Line 97 + 0xc	C++
 	AxisClient_D.dll!SoapBody::serialize(SoapSerializer & pSZ={...}, SOAP_VERSIONTag eSoapVersion=SOAP_VER_1_1)  Line 85 + 0xf	C++
 	AxisClient_D.dll!SoapEnvelope::serialize(SoapSerializer & pSZ={...}, SOAP_VERSIONTag eSoapVersion=SOAP_VER_1_1)  Line 107 + 0x13	C++
 	AxisClient_D.dll!SoapSerializer::SetOutputStream(const Ax_soapstream * pStream=0x06ca2c9c)  Line 222 + 0x16	C++
 	AxisClient_D.dll!ClientAxisEngine::Invoke(MessageData * pMsg=0x003abfe8)  Line 160 + 0x12	C++
 	AxisClient_D.dll!ClientAxisEngine::Process(Ax_soapstream * pSoap=0x06ca2c9c)  Line 98 + 0x14	C++
 	AxisClient_D.dll!Call::Invoke()  Line 98 + 0x1a	C++
 	mscorwks.dll!7925c098() 	
 	COSMRWebServicesClient.exe!COSMRWebServices::publish(char* Value0 = 0x0042201c, char* Value1 = 0x00422014, char* Value2 = 0x06ca73a8) Line 195 + 0x20 bytes	C++
 	COSMRWebServicesClient.exe!main(__int32 argc = 3, char** argv = 0x06ca3978) Line 55	C++
 	COSMRWebServicesClient.exe!mainCRTStartup()  Line 259 + 0x19	C



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira