title: Getting anytype{} fron soapobject
body: <p>I am getting anytype{} in response from soapobject. I am trying to pass username and password using web services but can't getting same username and password. Please any body help.</p>
  
  <pre><code>private static final String NAMESPACE = "http://tempuri.org/";
  private static final String URL = "http://***.***.*.*/MObile/Logics.asmx";
  private static final String LOGIN_METHOD = "CheckLogin";
  private static final String SOAP_ACTION_LOGIN = "http://tempuri.org/CheckLogin";
  
  
  @Override
  public void onCreate(Bundle savedInstanceState)
  {
      super.onCreate(savedInstanceState);
      StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build(); 
      StrictMode.setThreadPolicy(policy);
      setContentView(R.layout.login_layout);
  
      Button signin = (Button) findViewById(R.id.btn_login);
      signin.setOnClickListener(this);
  
  }   
          public void onClick(View v) {
  
              try {
  
              etxt_user = (EditText) findViewById(R.id.txt_username);
              etxt_password = (EditText)  findViewById(R.id.txt_password);
  
             String username = etxt_user.getText().toString();
             String password = etxt_password.getText().toString();
  
              result = (TextView)findViewById(R.id.tv);
  
              SoapObject request = new SoapObject(NAMESPACE, LOGIN_METHOD);
  
              request.addProperty("username",username);
              request.addProperty("password",password);
  
              SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11);
              envelope.dotNet = true; 
              envelope.setOutputSoapObject(request);
  
              Log.i("LoginDetail", "Username " + username + "Password " + password);
  
              HttpTransportSE androidHttpTransport = new HttpTransportSE(URL);
              androidHttpTransport.debug = true;
  
                   androidHttpTransport.call(SOAP_ACTION_LOGIN, envelope);
  
                   SoapObject resultString = (SoapObject)envelope.getResponse();
  
                   Log.i("OUTPUT", resultString.toString());
                   // getting output anytype{}
  
                  if(){
  
                       }
  
                    else{
  
                        Toast.makeText(getApplicationContext(), "Wrong U &amp; P", Toast.LENGTH_SHORT).show();
  
                    }*/
  
              }
              catch (Exception e) {
  
                  e.printStackTrace();
                  Toast.makeText(getApplicationContext(), " Network Exception : " + e
                                  + "Please check network connectivity.", Toast.LENGTH_LONG).show();
  
              } 
  
          }
  </code></pre>
  
  <p>}</p>
  
  <p>I am stuck with this issue. I want if username password is correct move to next activity and if wrong then toast.show().</p>
  
  <p>How can I verify that username &amp; password is correct?</p>