Skip to content

guolf/Cordova-Plugin-SoapHelper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cordova Soap plugin

Cordova使用Soap调用webservice。

安装:

cordova plugin add https://github.com/guolf/Cordova-Plugin-SoapHelper.git

删除

cordova plugin remove cordova-plugin-soaphelper

调用

try{
	window.plugins.soaphelper.caller(method,par,value,success,error);
}catch(ex){
	navigator.notification.alert("程序异常:"+ex.name + "," + ex.message);
}
function success(data){
	if(data.code == 1){
		//...
	}else{
		navigator.notification.alert(data.result);
	}
}
function error(error){
	navigator.notification.alert(error.result);
}

About

Cordova Soap plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published