[rules-users] Need help setting up Drools Server using Maven

abhay_bc Abhay.Chaware at kpitcummins.com
Fri May 20 07:12:59 EDT 2011


I had exact same error .. the problem was the way i was calling the
webservice. Then i found a post with a suggested way, which worked for me ! 
This is what I did. 

I was trying to connect to the web service through a PHP soap client .. 
here is what worked for me. 


$url = "http://localhost:8090/drools-server/kservice/rest/execute
$post_data = file_get_contents("drools-request.xml");
$headers = array("Content-Type" => 'text/plain; charset=utf-8',"Accept" =>
"text/plain; charset=utf-8");
$rta = http_post_data($url, $post_data,array('headers' => $headers ));
echo "Response : ".$rta;

gud luck !

--
View this message in context: http://drools.46999.n3.nabble.com/Need-help-setting-up-Drools-Server-using-Maven-tp2853035p2965129.html
Sent from the Drools: User forum mailing list archive at Nabble.com.



More information about the rules-users mailing list