axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From axis-c-...@ws.apache.org
Subject [jira] Commented: (AXISCPP-89) Message Larger than 2048 bytes fails.
Date Fri, 08 Oct 2004 08:15:50 GMT
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


Mime
View raw message