无论如何从angularJS调用soap web服务?是否有像$ http这样的服务来调用SOAP Web服务?
答案 0 :(得分:0)
这个库提供了一个快速的网络搜索:https://github.com/andrewmcgivery/angular-soap
免责声明:我没有使用过该库,但看起来很有希望阅读说明:
$mysqli = new mysqli ( "localhost", "root", "password if required", "DNAME" );
if ($mysqli->connect_errno) {
echo $mysqli->connect_error;
exit ();
} else {
echo "db connected";
if ($mysqli->query ("DELETE QUERY")
{
// echo $mysqli->affected_rows;
header("Location: url.com?param=".$yourVar);
exit;
}
else{
header("Location: otherurl.com?param=".$yourVar);
exit;
}
}
?>