Enviar imagen al servicio web asp.net desde IOS

En mi aplicación IOS necesito enviar una imagen al servicio web ASP.NET. Estoy tratando de crear la imagen en forma de bytes y luego volver a convertirla en forma de imagen en el lado del servidor. Ahora estoy usando estas líneas para convertir imágenes a bytes en iOS:

 NSData *imageData=UIImagePNGRepresentation([Mybutton currentBackgroundImage]);

esta línea da un byte de 734,775 palabras, que es demasiado, por lo que no se puede enviar una solicitud de jabón. Entonces, ¿cómo puedo lograr este objetivo ??????

cuando llamo al servicio usando la solicitud de jabón, me da este error:

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body><soap:Fault>
<faultcode>soap:Server</faultcode>
<faultstring>      System.Web.Services.Protocols.SoapException:
   There was an exception running the extensions specified in the config file. ---&gt; System.Web.HttpException: Maximum request length exceeded.
           at System.Web.HttpRequest.GetEntireRawContent()
          at System.Web.HttpRequest.get_InputStream()
         at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
         --- End of inner exception stack trace ---
       at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
         at    System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type,             HttpContext context, HttpRequest request, HttpResponse              response, Boolean&amp; abortProcessing)
</faultstring>
<detail />
</soap:Fault>
</soap:Body>
</soap:Envelope>

Estoy creando una aplicación para chatear, así que al registrar el usuario, tengo que cargar la imagen del usuario en el servidor web y cuando busca personas a su alrededor, también quiero devolver imágenes del servicio web, ¿cómo puedo hacer esto? dos cosas ? Primero coloque la imagen en el servidor web y luego recupérela desde el servidor web. Muchas gracias

Respuestas a la pregunta(1)

Su respuesta a la pregunta