분류 php

Trace soap message

컨텐츠 정보

  • 조회 366 (작성일 )

본문

<?php

   $ws = "http://www.xmethods.net/sd/2001/TemperatureService.wsdl";

   $zipcode = "23590";

   $client = new SoapClient($ws,array('trace' => 1));

   $temperature = $client->getTemp($zipcode);

   echo htmlspecialchars($client->__getLastRequest());

?> 

php