KanikaVarma / sudzc

Automatically exported from code.google.com/p/sudzc
0 stars 0 forks source link

can not send or receive large files... #58

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
My system:
Server: Java Soap Web Service generated by JAX WS 2.2.3 (-wsgen)
Client: iOS - Soap Web Service generated by SudzC

I am using SudzC on iOS to communicate with a Java web service. I want to 
upload NSData files from the iOS client to the Java Server or download byte[] 
files from the Java server to the client. For small amounts of data the web 
service runs fine, but when the data is greater than 4MB, there are problems. 
If i send a file which is greater than 4MB a HTTP Internal Error 500 occurred 
or everything get stuck and my application crashes.

Any suggestions?

I know, that to send and receive large files, SOAP has an opportunity called 
MTOM. This extracts the base64Binary data from the SOAP message and packages it 
as separate binary http attachments within the MIME message, in a similar 
manner to e-mail attachments. So my problem is, how can i implement this option 
on the iOS client SudzC generated objective-C program code? On the java server 
side the MTOM option is activated, but on the iOS client i have to implement 
this option?!

Perhaps someone can help?

Original issue reported on code.google.com by Giallo...@gmail.com on 12 Sep 2012 at 2:35