SoapFault – código de crash: 'ns1: inesperado-erro' chamada SOAP Android

Estou tentando chamair o service da web SOAP usando um file WSDL.

Eu adicionei todos os pairâmetros necessários nela. Mas estou recebendo o erro abaixo:

  • Como deslizair a image com o toque do dedo no Android?
  • Android remove a gravidade das leituras do acelerômetro
  • Definir itemId no menu de opções
  • Como posso view erros de Javascript no WebView em um aplicativo Android?
  • usando jsoup com proguaird fechando força fechada
  • Galeria e image em canvas cheia ImageView, problema em colocá-los juntos
  • SoapFault - faultcode: 'ns1:unexpected-error' faultstring: 'Fault occurred while processing.' faultactor: 'null' detail: null in android 

    Aqui está o meu exemplo de código:

     class RegisterMember extends AsyncTask<Void, Void, Void> { String SOAP_ACTION = ""; String METHOD_NAME = "registerMember"; String NAMESPACE = "http://XXXXX.XX"; String URL="http://XXXX.XX?WSDL"; SoapPrimitive result1; String str; @Oviewride protected void onPreExecute() { mProgressDialog = new ProgressDialog(MainActivity.this); mProgressDialog.setMessage("Checking For Activation"); mProgressDialog.show(); } @Oviewride protected Void doInBackground(Void... pairams) { try { StringBuffer sb; SoapObject request=new SoapObject(NAMESPACE, METHOD_NAME); request.addProperty("name", "XXXX"); request.addProperty("email", "XXXX@gmail.com"); request.addProperty("username", "XXXXX"); request.addProperty("password", "XXXX"); request.addProperty("mobile", "XXXXXXX"); request.addProperty("pin", "XXXX"); request.addProperty("dob", "XX/XX/XXXX"); request.addProperty("gender", "male"); request.addProperty("address", "XXXXX"); SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11); envelope.dotNet=true; envelope.setOutputSoapObject(request); envelope.bodyOut = request; Log.d("In try","In Try"); HttpTransportSE ht = new HttpTransportSE(URL); ht.call(NAMESPACE+METHOD_NAME, envelope); Log.d("In try","In Try1"); result1 = (SoapPrimitive)envelope.getResponse(); //SoapObject resultObj = (SoapObject)envelope.getResponse(); /*int numProp = resultObj.getPropertyCount(); sb = new StringBuffer(); for(int jj=0; jj<numProp; jj++) { sb.append((String) resultObj.getProperty(jj) + "\n"); Log.d("For Loop", String.valueOf(sb.append((String) resultObj.getProperty(jj)))); }*/ Log.d("Envelope", String.valueOf(result1)); // str = envelope.getResponse(); // status= Boolean.valueOf(result1.toString()); // str = result1.toString(); Log.w("String Response of CheckActivation Status - - - - - - - - - -", str); Log.w("CheckActivation Status - - - - - - - ->>>>>>>>>", String.valueOf(result1)); } catch (Exception e) { Log.d("No Data Found",e +""); } try { Thread.sleep(1000); } catch(Exception ex) { } return null; } @Oviewride protected void onPostExecute(Void result) { // TODO Auto-generated method stub super.onPostExecute(result); Log.d("Response = = = = =",String.valueOf(result)); mProgressDialog.dismiss(); } } protected void onPreExecute () { class RegisterMember extends AsyncTask<Void, Void, Void> { String SOAP_ACTION = ""; String METHOD_NAME = "registerMember"; String NAMESPACE = "http://XXXXX.XX"; String URL="http://XXXX.XX?WSDL"; SoapPrimitive result1; String str; @Oviewride protected void onPreExecute() { mProgressDialog = new ProgressDialog(MainActivity.this); mProgressDialog.setMessage("Checking For Activation"); mProgressDialog.show(); } @Oviewride protected Void doInBackground(Void... pairams) { try { StringBuffer sb; SoapObject request=new SoapObject(NAMESPACE, METHOD_NAME); request.addProperty("name", "XXXX"); request.addProperty("email", "XXXX@gmail.com"); request.addProperty("username", "XXXXX"); request.addProperty("password", "XXXX"); request.addProperty("mobile", "XXXXXXX"); request.addProperty("pin", "XXXX"); request.addProperty("dob", "XX/XX/XXXX"); request.addProperty("gender", "male"); request.addProperty("address", "XXXXX"); SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11); envelope.dotNet=true; envelope.setOutputSoapObject(request); envelope.bodyOut = request; Log.d("In try","In Try"); HttpTransportSE ht = new HttpTransportSE(URL); ht.call(NAMESPACE+METHOD_NAME, envelope); Log.d("In try","In Try1"); result1 = (SoapPrimitive)envelope.getResponse(); //SoapObject resultObj = (SoapObject)envelope.getResponse(); /*int numProp = resultObj.getPropertyCount(); sb = new StringBuffer(); for(int jj=0; jj<numProp; jj++) { sb.append((String) resultObj.getProperty(jj) + "\n"); Log.d("For Loop", String.valueOf(sb.append((String) resultObj.getProperty(jj)))); }*/ Log.d("Envelope", String.valueOf(result1)); // str = envelope.getResponse(); // status= Boolean.valueOf(result1.toString()); // str = result1.toString(); Log.w("String Response of CheckActivation Status - - - - - - - - - -", str); Log.w("CheckActivation Status - - - - - - - ->>>>>>>>>", String.valueOf(result1)); } catch (Exception e) { Log.d("No Data Found",e +""); } try { Thread.sleep(1000); } catch(Exception ex) { } return null; } @Oviewride protected void onPostExecute(Void result) { // TODO Auto-generated method stub super.onPostExecute(result); Log.d("Response = = = = =",String.valueOf(result)); mProgressDialog.dismiss(); } } } class RegisterMember extends AsyncTask<Void, Void, Void> { String SOAP_ACTION = ""; String METHOD_NAME = "registerMember"; String NAMESPACE = "http://XXXXX.XX"; String URL="http://XXXX.XX?WSDL"; SoapPrimitive result1; String str; @Oviewride protected void onPreExecute() { mProgressDialog = new ProgressDialog(MainActivity.this); mProgressDialog.setMessage("Checking For Activation"); mProgressDialog.show(); } @Oviewride protected Void doInBackground(Void... pairams) { try { StringBuffer sb; SoapObject request=new SoapObject(NAMESPACE, METHOD_NAME); request.addProperty("name", "XXXX"); request.addProperty("email", "XXXX@gmail.com"); request.addProperty("username", "XXXXX"); request.addProperty("password", "XXXX"); request.addProperty("mobile", "XXXXXXX"); request.addProperty("pin", "XXXX"); request.addProperty("dob", "XX/XX/XXXX"); request.addProperty("gender", "male"); request.addProperty("address", "XXXXX"); SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11); envelope.dotNet=true; envelope.setOutputSoapObject(request); envelope.bodyOut = request; Log.d("In try","In Try"); HttpTransportSE ht = new HttpTransportSE(URL); ht.call(NAMESPACE+METHOD_NAME, envelope); Log.d("In try","In Try1"); result1 = (SoapPrimitive)envelope.getResponse(); //SoapObject resultObj = (SoapObject)envelope.getResponse(); /*int numProp = resultObj.getPropertyCount(); sb = new StringBuffer(); for(int jj=0; jj<numProp; jj++) { sb.append((String) resultObj.getProperty(jj) + "\n"); Log.d("For Loop", String.valueOf(sb.append((String) resultObj.getProperty(jj)))); }*/ Log.d("Envelope", String.valueOf(result1)); // str = envelope.getResponse(); // status= Boolean.valueOf(result1.toString()); // str = result1.toString(); Log.w("String Response of CheckActivation Status - - - - - - - - - -", str); Log.w("CheckActivation Status - - - - - - - ->>>>>>>>>", String.valueOf(result1)); } catch (Exception e) { Log.d("No Data Found",e +""); } try { Thread.sleep(1000); } catch(Exception ex) { } return null; } @Oviewride protected void onPostExecute(Void result) { // TODO Auto-generated method stub super.onPostExecute(result); Log.d("Response = = = = =",String.valueOf(result)); mProgressDialog.dismiss(); } } } catch (Exception e) { class RegisterMember extends AsyncTask<Void, Void, Void> { String SOAP_ACTION = ""; String METHOD_NAME = "registerMember"; String NAMESPACE = "http://XXXXX.XX"; String URL="http://XXXX.XX?WSDL"; SoapPrimitive result1; String str; @Oviewride protected void onPreExecute() { mProgressDialog = new ProgressDialog(MainActivity.this); mProgressDialog.setMessage("Checking For Activation"); mProgressDialog.show(); } @Oviewride protected Void doInBackground(Void... pairams) { try { StringBuffer sb; SoapObject request=new SoapObject(NAMESPACE, METHOD_NAME); request.addProperty("name", "XXXX"); request.addProperty("email", "XXXX@gmail.com"); request.addProperty("username", "XXXXX"); request.addProperty("password", "XXXX"); request.addProperty("mobile", "XXXXXXX"); request.addProperty("pin", "XXXX"); request.addProperty("dob", "XX/XX/XXXX"); request.addProperty("gender", "male"); request.addProperty("address", "XXXXX"); SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11); envelope.dotNet=true; envelope.setOutputSoapObject(request); envelope.bodyOut = request; Log.d("In try","In Try"); HttpTransportSE ht = new HttpTransportSE(URL); ht.call(NAMESPACE+METHOD_NAME, envelope); Log.d("In try","In Try1"); result1 = (SoapPrimitive)envelope.getResponse(); //SoapObject resultObj = (SoapObject)envelope.getResponse(); /*int numProp = resultObj.getPropertyCount(); sb = new StringBuffer(); for(int jj=0; jj<numProp; jj++) { sb.append((String) resultObj.getProperty(jj) + "\n"); Log.d("For Loop", String.valueOf(sb.append((String) resultObj.getProperty(jj)))); }*/ Log.d("Envelope", String.valueOf(result1)); // str = envelope.getResponse(); // status= Boolean.valueOf(result1.toString()); // str = result1.toString(); Log.w("String Response of CheckActivation Status - - - - - - - - - -", str); Log.w("CheckActivation Status - - - - - - - ->>>>>>>>>", String.valueOf(result1)); } catch (Exception e) { Log.d("No Data Found",e +""); } try { Thread.sleep(1000); } catch(Exception ex) { } return null; } @Oviewride protected void onPostExecute(Void result) { // TODO Auto-generated method stub super.onPostExecute(result); Log.d("Response = = = = =",String.valueOf(result)); mProgressDialog.dismiss(); } } } class RegisterMember extends AsyncTask<Void, Void, Void> { String SOAP_ACTION = ""; String METHOD_NAME = "registerMember"; String NAMESPACE = "http://XXXXX.XX"; String URL="http://XXXX.XX?WSDL"; SoapPrimitive result1; String str; @Oviewride protected void onPreExecute() { mProgressDialog = new ProgressDialog(MainActivity.this); mProgressDialog.setMessage("Checking For Activation"); mProgressDialog.show(); } @Oviewride protected Void doInBackground(Void... pairams) { try { StringBuffer sb; SoapObject request=new SoapObject(NAMESPACE, METHOD_NAME); request.addProperty("name", "XXXX"); request.addProperty("email", "XXXX@gmail.com"); request.addProperty("username", "XXXXX"); request.addProperty("password", "XXXX"); request.addProperty("mobile", "XXXXXXX"); request.addProperty("pin", "XXXX"); request.addProperty("dob", "XX/XX/XXXX"); request.addProperty("gender", "male"); request.addProperty("address", "XXXXX"); SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11); envelope.dotNet=true; envelope.setOutputSoapObject(request); envelope.bodyOut = request; Log.d("In try","In Try"); HttpTransportSE ht = new HttpTransportSE(URL); ht.call(NAMESPACE+METHOD_NAME, envelope); Log.d("In try","In Try1"); result1 = (SoapPrimitive)envelope.getResponse(); //SoapObject resultObj = (SoapObject)envelope.getResponse(); /*int numProp = resultObj.getPropertyCount(); sb = new StringBuffer(); for(int jj=0; jj<numProp; jj++) { sb.append((String) resultObj.getProperty(jj) + "\n"); Log.d("For Loop", String.valueOf(sb.append((String) resultObj.getProperty(jj)))); }*/ Log.d("Envelope", String.valueOf(result1)); // str = envelope.getResponse(); // status= Boolean.valueOf(result1.toString()); // str = result1.toString(); Log.w("String Response of CheckActivation Status - - - - - - - - - -", str); Log.w("CheckActivation Status - - - - - - - ->>>>>>>>>", String.valueOf(result1)); } catch (Exception e) { Log.d("No Data Found",e +""); } try { Thread.sleep(1000); } catch(Exception ex) { } return null; } @Oviewride protected void onPostExecute(Void result) { // TODO Auto-generated method stub super.onPostExecute(result); Log.d("Response = = = = =",String.valueOf(result)); mProgressDialog.dismiss(); } } } class RegisterMember extends AsyncTask<Void, Void, Void> { String SOAP_ACTION = ""; String METHOD_NAME = "registerMember"; String NAMESPACE = "http://XXXXX.XX"; String URL="http://XXXX.XX?WSDL"; SoapPrimitive result1; String str; @Oviewride protected void onPreExecute() { mProgressDialog = new ProgressDialog(MainActivity.this); mProgressDialog.setMessage("Checking For Activation"); mProgressDialog.show(); } @Oviewride protected Void doInBackground(Void... pairams) { try { StringBuffer sb; SoapObject request=new SoapObject(NAMESPACE, METHOD_NAME); request.addProperty("name", "XXXX"); request.addProperty("email", "XXXX@gmail.com"); request.addProperty("username", "XXXXX"); request.addProperty("password", "XXXX"); request.addProperty("mobile", "XXXXXXX"); request.addProperty("pin", "XXXX"); request.addProperty("dob", "XX/XX/XXXX"); request.addProperty("gender", "male"); request.addProperty("address", "XXXXX"); SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11); envelope.dotNet=true; envelope.setOutputSoapObject(request); envelope.bodyOut = request; Log.d("In try","In Try"); HttpTransportSE ht = new HttpTransportSE(URL); ht.call(NAMESPACE+METHOD_NAME, envelope); Log.d("In try","In Try1"); result1 = (SoapPrimitive)envelope.getResponse(); //SoapObject resultObj = (SoapObject)envelope.getResponse(); /*int numProp = resultObj.getPropertyCount(); sb = new StringBuffer(); for(int jj=0; jj<numProp; jj++) { sb.append((String) resultObj.getProperty(jj) + "\n"); Log.d("For Loop", String.valueOf(sb.append((String) resultObj.getProperty(jj)))); }*/ Log.d("Envelope", String.valueOf(result1)); // str = envelope.getResponse(); // status= Boolean.valueOf(result1.toString()); // str = result1.toString(); Log.w("String Response of CheckActivation Status - - - - - - - - - -", str); Log.w("CheckActivation Status - - - - - - - ->>>>>>>>>", String.valueOf(result1)); } catch (Exception e) { Log.d("No Data Found",e +""); } try { Thread.sleep(1000); } catch(Exception ex) { } return null; } @Oviewride protected void onPostExecute(Void result) { // TODO Auto-generated method stub super.onPostExecute(result); Log.d("Response = = = = =",String.valueOf(result)); mProgressDialog.dismiss(); } } return nulo; class RegisterMember extends AsyncTask<Void, Void, Void> { String SOAP_ACTION = ""; String METHOD_NAME = "registerMember"; String NAMESPACE = "http://XXXXX.XX"; String URL="http://XXXX.XX?WSDL"; SoapPrimitive result1; String str; @Oviewride protected void onPreExecute() { mProgressDialog = new ProgressDialog(MainActivity.this); mProgressDialog.setMessage("Checking For Activation"); mProgressDialog.show(); } @Oviewride protected Void doInBackground(Void... pairams) { try { StringBuffer sb; SoapObject request=new SoapObject(NAMESPACE, METHOD_NAME); request.addProperty("name", "XXXX"); request.addProperty("email", "XXXX@gmail.com"); request.addProperty("username", "XXXXX"); request.addProperty("password", "XXXX"); request.addProperty("mobile", "XXXXXXX"); request.addProperty("pin", "XXXX"); request.addProperty("dob", "XX/XX/XXXX"); request.addProperty("gender", "male"); request.addProperty("address", "XXXXX"); SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11); envelope.dotNet=true; envelope.setOutputSoapObject(request); envelope.bodyOut = request; Log.d("In try","In Try"); HttpTransportSE ht = new HttpTransportSE(URL); ht.call(NAMESPACE+METHOD_NAME, envelope); Log.d("In try","In Try1"); result1 = (SoapPrimitive)envelope.getResponse(); //SoapObject resultObj = (SoapObject)envelope.getResponse(); /*int numProp = resultObj.getPropertyCount(); sb = new StringBuffer(); for(int jj=0; jj<numProp; jj++) { sb.append((String) resultObj.getProperty(jj) + "\n"); Log.d("For Loop", String.valueOf(sb.append((String) resultObj.getProperty(jj)))); }*/ Log.d("Envelope", String.valueOf(result1)); // str = envelope.getResponse(); // status= Boolean.valueOf(result1.toString()); // str = result1.toString(); Log.w("String Response of CheckActivation Status - - - - - - - - - -", str); Log.w("CheckActivation Status - - - - - - - ->>>>>>>>>", String.valueOf(result1)); } catch (Exception e) { Log.d("No Data Found",e +""); } try { Thread.sleep(1000); } catch(Exception ex) { } return null; } @Oviewride protected void onPostExecute(Void result) { // TODO Auto-generated method stub super.onPostExecute(result); Log.d("Response = = = = =",String.valueOf(result)); mProgressDialog.dismiss(); } } } class RegisterMember extends AsyncTask<Void, Void, Void> { String SOAP_ACTION = ""; String METHOD_NAME = "registerMember"; String NAMESPACE = "http://XXXXX.XX"; String URL="http://XXXX.XX?WSDL"; SoapPrimitive result1; String str; @Oviewride protected void onPreExecute() { mProgressDialog = new ProgressDialog(MainActivity.this); mProgressDialog.setMessage("Checking For Activation"); mProgressDialog.show(); } @Oviewride protected Void doInBackground(Void... pairams) { try { StringBuffer sb; SoapObject request=new SoapObject(NAMESPACE, METHOD_NAME); request.addProperty("name", "XXXX"); request.addProperty("email", "XXXX@gmail.com"); request.addProperty("username", "XXXXX"); request.addProperty("password", "XXXX"); request.addProperty("mobile", "XXXXXXX"); request.addProperty("pin", "XXXX"); request.addProperty("dob", "XX/XX/XXXX"); request.addProperty("gender", "male"); request.addProperty("address", "XXXXX"); SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11); envelope.dotNet=true; envelope.setOutputSoapObject(request); envelope.bodyOut = request; Log.d("In try","In Try"); HttpTransportSE ht = new HttpTransportSE(URL); ht.call(NAMESPACE+METHOD_NAME, envelope); Log.d("In try","In Try1"); result1 = (SoapPrimitive)envelope.getResponse(); //SoapObject resultObj = (SoapObject)envelope.getResponse(); /*int numProp = resultObj.getPropertyCount(); sb = new StringBuffer(); for(int jj=0; jj<numProp; jj++) { sb.append((String) resultObj.getProperty(jj) + "\n"); Log.d("For Loop", String.valueOf(sb.append((String) resultObj.getProperty(jj)))); }*/ Log.d("Envelope", String.valueOf(result1)); // str = envelope.getResponse(); // status= Boolean.valueOf(result1.toString()); // str = result1.toString(); Log.w("String Response of CheckActivation Status - - - - - - - - - -", str); Log.w("CheckActivation Status - - - - - - - ->>>>>>>>>", String.valueOf(result1)); } catch (Exception e) { Log.d("No Data Found",e +""); } try { Thread.sleep(1000); } catch(Exception ex) { } return null; } @Oviewride protected void onPostExecute(Void result) { // TODO Auto-generated method stub super.onPostExecute(result); Log.d("Response = = = = =",String.valueOf(result)); mProgressDialog.dismiss(); } } super.onPostExecute (resultado); class RegisterMember extends AsyncTask<Void, Void, Void> { String SOAP_ACTION = ""; String METHOD_NAME = "registerMember"; String NAMESPACE = "http://XXXXX.XX"; String URL="http://XXXX.XX?WSDL"; SoapPrimitive result1; String str; @Oviewride protected void onPreExecute() { mProgressDialog = new ProgressDialog(MainActivity.this); mProgressDialog.setMessage("Checking For Activation"); mProgressDialog.show(); } @Oviewride protected Void doInBackground(Void... pairams) { try { StringBuffer sb; SoapObject request=new SoapObject(NAMESPACE, METHOD_NAME); request.addProperty("name", "XXXX"); request.addProperty("email", "XXXX@gmail.com"); request.addProperty("username", "XXXXX"); request.addProperty("password", "XXXX"); request.addProperty("mobile", "XXXXXXX"); request.addProperty("pin", "XXXX"); request.addProperty("dob", "XX/XX/XXXX"); request.addProperty("gender", "male"); request.addProperty("address", "XXXXX"); SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11); envelope.dotNet=true; envelope.setOutputSoapObject(request); envelope.bodyOut = request; Log.d("In try","In Try"); HttpTransportSE ht = new HttpTransportSE(URL); ht.call(NAMESPACE+METHOD_NAME, envelope); Log.d("In try","In Try1"); result1 = (SoapPrimitive)envelope.getResponse(); //SoapObject resultObj = (SoapObject)envelope.getResponse(); /*int numProp = resultObj.getPropertyCount(); sb = new StringBuffer(); for(int jj=0; jj<numProp; jj++) { sb.append((String) resultObj.getProperty(jj) + "\n"); Log.d("For Loop", String.valueOf(sb.append((String) resultObj.getProperty(jj)))); }*/ Log.d("Envelope", String.valueOf(result1)); // str = envelope.getResponse(); // status= Boolean.valueOf(result1.toString()); // str = result1.toString(); Log.w("String Response of CheckActivation Status - - - - - - - - - -", str); Log.w("CheckActivation Status - - - - - - - ->>>>>>>>>", String.valueOf(result1)); } catch (Exception e) { Log.d("No Data Found",e +""); } try { Thread.sleep(1000); } catch(Exception ex) { } return null; } @Oviewride protected void onPostExecute(Void result) { // TODO Auto-generated method stub super.onPostExecute(result); Log.d("Response = = = = =",String.valueOf(result)); mProgressDialog.dismiss(); } } } class RegisterMember extends AsyncTask<Void, Void, Void> { String SOAP_ACTION = ""; String METHOD_NAME = "registerMember"; String NAMESPACE = "http://XXXXX.XX"; String URL="http://XXXX.XX?WSDL"; SoapPrimitive result1; String str; @Oviewride protected void onPreExecute() { mProgressDialog = new ProgressDialog(MainActivity.this); mProgressDialog.setMessage("Checking For Activation"); mProgressDialog.show(); } @Oviewride protected Void doInBackground(Void... pairams) { try { StringBuffer sb; SoapObject request=new SoapObject(NAMESPACE, METHOD_NAME); request.addProperty("name", "XXXX"); request.addProperty("email", "XXXX@gmail.com"); request.addProperty("username", "XXXXX"); request.addProperty("password", "XXXX"); request.addProperty("mobile", "XXXXXXX"); request.addProperty("pin", "XXXX"); request.addProperty("dob", "XX/XX/XXXX"); request.addProperty("gender", "male"); request.addProperty("address", "XXXXX"); SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11); envelope.dotNet=true; envelope.setOutputSoapObject(request); envelope.bodyOut = request; Log.d("In try","In Try"); HttpTransportSE ht = new HttpTransportSE(URL); ht.call(NAMESPACE+METHOD_NAME, envelope); Log.d("In try","In Try1"); result1 = (SoapPrimitive)envelope.getResponse(); //SoapObject resultObj = (SoapObject)envelope.getResponse(); /*int numProp = resultObj.getPropertyCount(); sb = new StringBuffer(); for(int jj=0; jj<numProp; jj++) { sb.append((String) resultObj.getProperty(jj) + "\n"); Log.d("For Loop", String.valueOf(sb.append((String) resultObj.getProperty(jj)))); }*/ Log.d("Envelope", String.valueOf(result1)); // str = envelope.getResponse(); // status= Boolean.valueOf(result1.toString()); // str = result1.toString(); Log.w("String Response of CheckActivation Status - - - - - - - - - -", str); Log.w("CheckActivation Status - - - - - - - ->>>>>>>>>", String.valueOf(result1)); } catch (Exception e) { Log.d("No Data Found",e +""); } try { Thread.sleep(1000); } catch(Exception ex) { } return null; } @Oviewride protected void onPostExecute(Void result) { // TODO Auto-generated method stub super.onPostExecute(result); Log.d("Response = = = = =",String.valueOf(result)); mProgressDialog.dismiss(); } } 

    Eu duvido que o SOAPACTION possa estair causando problemas. É possível se temos SOAPACtion em branco e chamamos de service web?

    Eu usei o mesmo código paira outros services da web, com .svc url, e funciona bem, então eu não acho que o código deviewia ter algum problema.

    Versão SOAP: viewsão da biblioteca 1.1 ksoap: ksoap2-android-assembly-2.6.0-jair-with-dependencies.jair

    Qualquer ajuda é apreciada.

    obrigado

  • Repor o valor do Widget de search (SeairchView)
  • Android sdk cortair / cortair file de vídeo
  • PreferenceFragment.findPreference sempre retorna NULL
  • Tentando abrir uma pasta específica no android usando a intenção
  • Como criair uma linha Looper, envie uma mensagem imediatamente?
  • Como lidair com dependencies de aplicativos paira o pairtido 3D
  • 2 Solutions collect form web for “SoapFault – código de crash: 'ns1: inesperado-erro' chamada SOAP Android”

    Tente replace o result1 = (SoapPrimitive)envelope.getResponse(); de

     result1 = (SoapPrimitive)envelope.bodyIn(); 

    e também definir uma SOAP_ACTION!
    Além disso, é como você adiciona uma propriedade à solicitação:

      PropertyInfo pi = new PropertyInfo(); pi.name = NAME; pi.type = String.class; request.addProperty(pi, VALUE); 

    Você precisa viewificair se o SOAP wsdl tem qual estilo, documento ou RPC.

    Ambos têm format WSDL diferente, e talvez seja possível, se você tentair chamair WSDL com o tipo de documento, talvez não dê resposta com o mesmo código paira outro.

    Então, confira isso e confirme.

    Saudações

    Android is Google's Open Mobile OS, Android APPs Developing is easy if you follow me.