Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8597977
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T01:02:54+00:00 2026-06-12T01:02:54+00:00

I have a web service, which I’m using to upload images to a server.

  • 0

I have a web service, which I’m using to upload images to a server. I consume the service inside an NSOperation. When I call the methods of service synchronously, everything is ok, but when I call the methods asynchronously, the web server never receives the request. The only reason I can think of this happening is that thread was killed even though inside the web service asynchronous call there is loop which keeps the current runloop active until a response is received.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T01:02:55+00:00Added an answer on June 12, 2026 at 1:02 am

    Looking at the documentation for NSOperation, you will see how to implement concurrent NSOperations. In short, instead of implementing main, you implement start, isConcurrent, isExecuting, and isFinished. So typically you would return YES for isConcurrent, start your request in the start method and set isExecuting to YES, and when your request finishes set isFinished to YES. For much more details please see the official Apple NSOperation class documents.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have web service which i want to use to upload image to the
I have a RESTful web service which runs on Glassfish Application Server. When I
I have a web service in which I am manipulating POST and GET methods
I have a web service to which users upload python scripts that are run
I have a web service which allows the users to upload and keep track
I have a simple web service which is hosted inside a console application. It
I have a REST web service which exposes 2 methods- [POST method] Client will
I have a web service running in http://server/abc/service which is being accessed by Flash
We have an ASMX web service which we invoke from our ASP.NET application using
I am using YUI 2 autocomplete , I have my own web service which

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.