Skip to content

Instantly share code, notes, and snippets.

@harshal2711
Last active December 28, 2016 19:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save harshal2711/9e388072c449c384d2c7c4a165dc8c3f to your computer and use it in GitHub Desktop.
Save harshal2711/9e388072c449c384d2c7c4a165dc8c3f to your computer and use it in GitHub Desktop.
client
<?php
/**
* Created by PhpStorm.
* User: Harshal
* Date: 12/28/2016
* Time: 11:39 PM
*/
include_once "lib/nusoap.php";
$client = new nusoap_client("http://localhost/Soap_demo/server.php?wsdl");
$name = "xyz";
$price = $client->call("getName",array("name"=>$name));
echo $price;
?>
apply plugin: 'com.android.application'
repositories {
maven { url 'https://oss.sonatype.org/content/repositories/ksoap2-android-releases' }
}
android {
compileSdkVersion 23
buildToolsVersion "23.0.2"
defaultConfig {
applicationId "com.driodzone.smsapp"
minSdkVersion 11
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.2.1'
compile 'me.dm7.barcodescanner:zbar:1.8.4'
compile 'com.android.support:design:23.2.1'
compile 'com.google.code.ksoap2-android:ksoap2-android:3.6.0'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment