iOS 5:Sending an image from iPhone to Java Webservice using POST and reading the data in a Java+Jersey web service
===

I am trying to POST an image along with text data to a web service using POST.
The code I have used for sending an image is the same as given in the following link:

http://stackoverflow.com/questions/8564833/ios-upload-image-and-text-using-http-post

The data gets sent correctly, but the moment the image is added the web service is not called.Also how to read the data in the web service which is created using java and jersey.

Can anyone suggest.