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 ax...@ws.apache.org on 2004/10/08 10:08:52 UTC

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

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
wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww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wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
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