Question: Please suggest any solution?
I'm new to android.I'm getting error while invoking web service

```
W/System.err﹕ java.io.IOException: Method Not Allowed

```

Here is my activity which calls a web service(method) which takes one string parameter and gives output. I'd be glad if anybody posts code snippet using asynctask becos it is most preferred way to call service in android.... 

```
public class closingBalance extends ActionBarActivity {
    protected final String NAMESPACE = "http://xxxxx/";

    protected final String METHOD_NAME = "getReportDetails";
    protected final String URL = "http://xxxxx?wsdl?shop_num=12345";

    HttpClient client = new DefaultHttpClient();
    try {
        HttpResponse res = client.execute(new HttpGet(URL));
        StatusLine line  = res.getStatusLine();
        if(line.getStatusCode() == HttpStatus.SC_OK){
            ByteArrayOutputStream out = new ByteArrayOutputStream();
            res.getEntity().writeTo(out);
            String response = out.toString();
            System.out.println(response);
            out.close();

        }else{
            res.getEntity().getContent().close();
            throw  new IOException(line.getReasonPhrase());
        }
    } catch (IOException e) {
        e.printStackTrace();
    }
}

```

Answer: 
As I'm new to programming, I can't tell you why this happens, but I was having the exact same problem. If you install a package using meteor add (package) while you have your app open in a code editor, it causes the app to break. Try closing the editor and refreshing everything. It worked for me.
Kill the meteor processes and reset the project.

```
ps aux | grep meteor
kill -1 [PID_OF_METEOR_PROC]
cd /path/to/project/
meteor reset

```

Replace [PID\_OF\_METEOR\_PROC] with the actual PID or run once for each PID, and use the correct path to your meteor project