Using ASMX upload web service containing DIME (WSE) attachments (cocoa/Obj C)
I have asp.NET web service which uploads files to the server using DIME attachment. I have .NET/C# implementation which is as below. Upload happens in chunked manner using WSE.
//-------------
UploadSer filService = new UploadSer();//ASMX Service initialization
Microsoft.Web.Services2.Dime.DimeAttachment dmAttachment = new Microsoft.Web.Services2.Dime.DimeAttachment("pdf", Microsoft.Web.Services2.Dime.TypeFormat.MediaType, fileStreamchunk);//Filestream contains stream of data in that chunk
filService.RequestSoapContext.Attachments.Add(dmAttachment);//Add attachment to the service call
filService.UploadFileChunked();
//---------------
I need to consume the same service in cocoa/Obj C code. Please let me know, how to achieve the same.
OS X Mavericks (10.9.1)