PHP WebService Client to a .NET

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jdot
Forum Newbie
Posts: 1
Joined: Mon Feb 25, 2008 9:39 am

PHP WebService Client to a .NET

Post 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
Post Reply