コード例 #1
0
 public function GetCityWeatherByZIP()
 {
     try {
         $this->proxy->GetCityWeatherByZIP(array("zip" => 30020));
     } catch (\Exception $e) {
     }
     $xml = '
     <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:weat="http://ws.cdyne.com/WeatherWS/">
        <soap:Body>
           <weat:GetCityWeatherByZIP>
              <weat:ZIP>30020</weat:ZIP>
           </weat:GetCityWeatherByZIP>
        </soap:Body>
     </soap:Envelope>
     ';
     $this->assertEqualXML(XMLDom::loadXMLString($xml)->documentElement, $this->transport->getXmlNode()->documentElement);
 }