And your client is one of .NET WCF or is it Axis2/Java or what is it?

 

Be warned – 

if you have somewhere C Pointers of 16 bit length you can only handle strings 
with a maximal length of  65536. 

This is true independent if your serialized data carries body and/or header and 
body. (especially on C for OpenVMS)

 

Using 32 bit, but better 64 bit C Pointers lifts this limit. 

But once you i.e. return long strings back to a ASP.NET or MS WCF Client then 
the Client will start claiming if you approach the 65536 boundary, that it is 
unable to handle so much data. In this case you should think about transferring 
in Junks, either by axis2 or by the underlying  transport system, and if this 
still does not help, think about a streaming transfer mode or MTOM.

 

In heterogeneous environments you will see that i.e. a .NET WCF Client is able 
to send much longer data sizes then 65536 to its axis2 server, but it is just 
not able to receive a similar long answer.

 

And yes – it will lead to the described problems. Given your response seen is 
just one which has the expected end dropped. We are not talking about miss 
formed xml middle in the string.

 

Josef

 

Von: ramesh Gopal [mailto:[email protected]] 
Gesendet: Dienstag, 25. Januar 2011 10:15
An: Apache AXIS C User List
Betreff: Is there a limit to SOAP message in Axis2c ? Namespace is getting 
over-written

 


Hello,

Is there a maximum limit to SOAP message from Axis2C ?

I am returning a response more than 45 K.

I see that in my response the opening and closing tags are not the same.

<tns:int_arr_retrec1_char_value>
=A0=A0=A0 i=3D181 dec=3D182.81
</_in:int_arr_retrec1_char_value>

can somebody explain the reason for this strange behaviour ?

Even though I pass the namespace as an argument, why should it use some jun=
k value ?

Ramesh.

 

Reply via email to