Bonjour
Je voudrais savoir comment appeler un webservice avec port
1 2 3 4 5 6 7 8
|
$wsdl="http://@ip:9090/service1.asmx?WSDL";
$service=new SoapClient($wsdl,array('trace' => 1,'soap_version' => SOAP_1_2,'encoding' => 'UTF-8'));
$taballservices=$service->GetCalendar(array('vdate'=>'07.01.2015'));
$result=$taballservices->GetCalendarResult;
echo $result; |
ça ne marche pas; mais avec
$wsdl="http://@ip/service1.asmx?WSDL";
, ça fonctionne
J'ai configuré deux sites web sur le IIS du @ip l'un sur le port 80 et l'autre sur le port 9090
Partager