Is the message > 20kBytes properly placed to the wire by the WCF
service? Can you check this by a TCP Monitor or a Wireshark Network
Monitor? Just to know that all is on the wire and that in fact the axis2
client is the bad boy.

 

You need to know that WCF Services do very likely send more than 65536
bytes, but they are claiming if you intend to send them close to 65536
bytes.

(After we where nearly close to project end we found out that Microsoft
said somewhere in the forums that WCF is not made for large messages.
Thank you MS. A service (without MTOM) starts claiming if you are
nearing the 65536 byte boundary.  Just to be warned. Also UTF and
SOAP-XML has considerable overhead !!!

 

The next you need to care about is what type of pointers to strings or
buffers you are using passing data-strings to Axiom/C routines.

 

If you use 16 bit sized pointers somewhere then you can expect problems
too; (we just had problems to pass long strings through the JNI from
JAVA (WS) forward to a C Wrapper via IPC/JNI)  then back the same way to
a WCF Client. The message left the WCF client well over 65536 bytes
sometimes 96xxx or more. But was then almost cut somewhere on the way to
the axiom routines in the C-wrapper. And the reason was that we have use
somewhere after the JNI in a wrapper 16 but sized pointers to strings.
The problem was fixed with 32bit or 64bit sized pointers. 

 

Josef

 

Von: Naldo Alcalde [mailto:[email protected]] 
Gesendet: Dienstag, 6. September 2011 15:31
An: [email protected]
Betreff: Error in client receiving files with size > 20K

 

Hello,

 

I developed an Axis2 1.6 client consuming a WCF service. It works ok
(without MTOM) receiving small binary files, but when the file size
increments to more than 20K, it receives a NULL content node with the
same function axis2_svc_client_send_receive.

 

Is there some parameter/option to configure to increment this size? Or
another solution?

 

Please help me with that and thanks a lot in advance.

 

Regards,

Naldo Alcalde 

 

 

Reply via email to