Note that there are some explanatory texts on larger screens.

plurals
  1. POHow can I add Custom [call back] string in android request?
    primarykey
    data
    text
    <p>How can i add Custom [call back] string in android request?</p> <p>Below is my code for call soap webservice in android and get a json response. How can i pass call <code>back=?callback=jQuery15</code> in android?</p> <p>Any idea about the same how can I include a <code>callback-jquery15</code> parameters in url?</p> <pre><code>private static String SOAP_ACTION1 = "http://www.example.com/NewsServices/AuthenticateApplication"; private static String NAMESPACE = "http://www.example.com/NewsServices/"; private static String METHOD_NAME1 = "AuthenticateApplication"; private static String URL = "http://www.example.com/services/webServices/MobileServices/exampleMobilejson.asmx"; SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME1); request.addProperty("xyz", "xyzaa"); request.addProperty("abc", "abcxx"); SoapSerializationEnvelope envelope = new SoapSerializationEnvelope( SoapEnvelope.VER11); envelope.setOutputSoapObject(request); envelope.dotNet = true; try { HttpTransportSE androidHttpTransport = new HttpTransportSE(URL); androidHttpTransport.call(SOAP_ACTION1, envelope); SoapObject result = (SoapObject) envelope.bodyIn; Toast.makeText(getApplicationContext(), result.toString(), Toast.LENGTH_LONG).show(); txtCel.setText(result.getProperty(0).toString()); </code></pre> <p>but my problem is my webservice accept parameters with call back how can i use for ex:</p> <pre><code>http://www.example.com/services/webServices/MobileServices/exampleMobileJson.asmx/AuthenticateApplication?callback=jQuery15&amp;xyz=xyzaa&amp;abc=abcxx </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload