Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 73: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 74: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 75: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 76: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 77: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /bbc_download.php on line 78: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
package com.example.android.apis; import java.io.IOException; import org.ksoap2.SoapEnvelope; import org.ksoap2.serialization.SoapObject; import org.ksoap2.serialization.SoapSerializationEnvelope; import org.xmlpull.v1.XmlPullParserException; import org.ksoap2.transport.AndroidHttpTransport; import java.util.Vector; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.view.View.OnClickListener; import android.widget.Button; import android.widget.EditText; import android.widget.TextView; import android.widget.Toast; public class Activity2 extends Activity{ /** Called when the activity is first created. */ private static final String SOAP_ACTION = "http://WS/getSearchAndResponse"; private static final String METHOD_NAME = "getSearchAndResponse"; private static final String NAMESPACE = "http://WS"; private static final String URL = "http://192.168.1.2:8085/axis2/services/LocalDiscoverdb?wsdl"; @Override public void onCreate(Bundle State) { super.onCreate(State); setContentView(R.layout.main2); Button launch = (Button)findViewById(R.id.Button01); launch.setOnClickListener( new OnClickListener() { @Override public void onClick(View viewParam) { // TODO Auto-generated method stub EditText compnameEditText = (EditText) findViewById(R.id.EditText01); EditText connameEditText = (EditText) findViewById(R.id.EditText02); String sCompName = compnameEditText.getText().toString(); String sConName = connameEditText.getText().toString(); TextView ResultText = (TextView) findViewById(R.id.TextView03); if(sCompName.equals("") && sConName.equals("")){ Toast.makeText(Activity2.this, "Please enter Company Name and Contact Name", Toast.LENGTH_SHORT).show(); } else{ Object response = null,obj; AndroidHttpTransport transport = new AndroidHttpTransport (URL); SoapObject myObject = new SoapObject(NAMESPACE, METHOD_NAME); myObject.addProperty("compname", sCompName); myObject.addProperty("conname", sConName); SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11); envelope.bodyOut = myObject; envelope.setOutputSoapObject(myObject); transport.debug = true; try { transport.call(SOAP_ACTION, envelope); response = envelope.getResponse(); //Vector re= (Vector) envelope.getResponse(); SoapObject body = (SoapObject) envelope.bodyIn; System.out.println(body.getProperty(0).toString()); ResultText.setText(body.getProperty(0).toString()); } catch (IOException ex) { System.out.println(ex.toString()); ex.printStackTrace(); } catch (XmlPullParserException ex) { System.out.println(ex.toString()); ex.printStackTrace(); } //Intent myIntent = new Intent(viewParam.getContext(), Activity3.class); //startActivity(myIntent); } } } ); } }