Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #19150

Re: Help with Pear Soap Client to weather service

Newsgroups comp.lang.php
Date 2022-10-30 11:08 -0700
References <bb68260a-cb54-4763-8fe6-dde47f1ae42a@googlegroups.com> <29639b-848.ln1@luuk.invalid.lan>
Message-ID <bb2f1ecf-36c5-4ea7-874f-3d1b87c96dd4n@googlegroups.com> (permalink)
Subject Re: Help with Pear Soap Client to weather service
From Kommunikatsioonitehnoloogia valmistaja <vvvvvvvvvvvvvvvvvvvvvvvvv1@hotmail.com>

Show all headers | View raw


Hello

Want to listen something good ?

↓
https://youtu.be/HEVPKuxkWzA?list=RDMM
↑


Luuk kirjutas Neljapäev, 10. juuli 2014 kl 22:31:14 UTC+3:
> On 10-7-2014 13:16, mcee...@gmail.com wrote: 
> > Hello, 
> > 
> > I am trying to do a simple soap call to a weather service and I keep getting Invalid ZIP error. Can someone tell me what I am doing wrong below is my code. 
> > 
> > Thanks 
> > 
> > require_once 'SOAP/Client.php'; 
> > 
> > $client = new Soap_Client('http://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDL'); 
> > $method = 'GetCityWeatherByZIP'; 
> > $params = array('ZIP' => '07108'); 
> > $result = $client->call($method, $params); 
> > 
> > if (PEAR::isError($result)) { 
> > echo $result->getMessage(); 
> > } else { 
> > print_r($result); 
> > } 
> >
> i don't get a 'Invalid ZIP error', when i copy/paste the example from: 
> http://wiki.cdyne.com/index.php/CDYNE_Weather

Back to comp.lang.php | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Help with Pear Soap Client to weather service mceexpert@gmail.com - 2014-07-10 04:16 -0700
  Re: Help with Pear Soap Client to weather service Jerry Stuckle <jstucklex@attglobal.net> - 2014-07-10 08:45 -0400
    Re: Help with Pear Soap Client to weather service mceexpert@gmail.com - 2014-07-10 06:40 -0700
      Re: Help with Pear Soap Client to weather service Christoph Michael Becker <cmbecker69@arcor.de> - 2014-07-10 16:00 +0200
      Re: Help with Pear Soap Client to weather service Jerry Stuckle <jstucklex@attglobal.net> - 2014-07-10 10:33 -0400
      Re: Help with Pear Soap Client to weather service Doug Miller <doug_at_milmac_dot_com@example.com> - 2014-07-10 18:28 +0000
  Re: Help with Pear Soap Client to weather service Doug Miller <doug_at_milmac_dot_com@example.com> - 2014-07-10 18:35 +0000
    Re: Help with Pear Soap Client to weather service Doug Miller <doug_at_milmac_dot_com@example.com> - 2014-07-10 18:47 +0000
      Re: Help with Pear Soap Client to weather service mceexpert@gmail.com - 2014-07-10 12:31 -0700
        Re: Help with Pear Soap Client to weather service Jerry Stuckle <jstucklex@attglobal.net> - 2014-07-10 19:30 -0400
        Re: Help with Pear Soap Client to weather service bill <william@TechServSys.com> - 2014-07-11 07:25 -0400
  Re: Help with Pear Soap Client to weather service Luuk <luuk@invalid.lan> - 2014-07-10 21:31 +0200
    Re: Help with Pear Soap Client to weather service Kommunikatsioonitehnoloogia valmistaja <vvvvvvvvvvvvvvvvvvvvvvvvv1@hotmail.com> - 2022-10-30 11:08 -0700

csiph-web