Page 1 of 1

PHP WebService Client to a .NET

Posted: Mon Feb 25, 2008 10:21 am
by jdot
I am new to php and i am having a problem

I am trying to connect to a .net web service threw https with PHP 5.2.5 and the soap extension

However I get "SoapFault exception: [HTTP] Unknown protocol. Only http and https are allowed"

sample code:
options = array('location'=>' http://server/','local_cert'=>'.\test.c ... ace'=>true);
$WebServiceClient = new SoapClient('some.wsdl',$options);

$params ->actiondoc =$xml_test2;

$WebServiceClient->ProcessRequest($params);

Any help would be greatly appreaciated