Article View: pl.comp.lang.perl
Article #51827Re: soap / allegro webapi?
From: hubert depesz lubaczewski
Date: Mon, 15 Mar 2010 13:21
Date: Mon, 15 Mar 2010 13:21
21 lines
1573 bytes
1573 bytes
On 2010-03-15, mp <bl@bla.pl> wrote: > use SOAP::Lite +trace => 'debug'; > > 1) Dziêki temu zapisowi, bêdziesz widzia³ komunikacje xml-ow±. > 2) Przyk³adowy kod :) > > my $Klient = SOAP::Lite->service($CONFIG_WSDL); > my @wersja = $Klient->doQuerySysStatus(1, $CONFIG_COUNTRY, $CONFIG_APIKEY); > my @sesja = $Klient->doLogin($CONFIG_LOGIN, $CONFIG_PASSWORD, > $CONFIG_COUNTRY, $CONFIG_APIKEY, $wersja[1]); OK. Ale w ten sposób (przez wywołania ->metoda) nie widzę *żadnej* możliwości sprawdzenia czy request się udał, czy ma faila. a trace znam, ale i tak nic mi nie daje :( depesz -- Linkedin: http://www.linkedin.com/in/depesz / blog: http://www.depesz.com/ jid/gtalk: depesz@depesz.com / aim:depeszhdl / skype:depesz_hdl / gg:6749007
Technical Details
Message-ID:
<tro177-6tc.ln1@depesz.com>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!depesz.com!not-for-mailReferences:
<r4jv67-u0v.ln1@depesz.com> <hnl1m6$2tg6$1@news2.ipartners.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.rmf.pl!agh.edu.pl!news.agh.edu.pl!news.onet.pl!depesz.com!not-for-mail From: hubert depesz lubaczewski <depesz@depesz.com> Newsgroups: pl.comp.lang.perl Subject: Re: soap / allegro webapi? Date: Mon, 15 Mar 2010 13:21:33 +0000 Organization: depesz Software Lines: 21 Message-ID: <tro177-6tc.ln1@depesz.com> References: <r4jv67-u0v.ln1@depesz.com> <hnl1m6$2tg6$1@news2.ipartners.pl> Reply-To: depesz@depesz.com NNTP-Posting-Host: martin.depesz.com Mime-Version: 1.0 X-Trace: news.onet.pl 1268659382 3594 188.40.39.14 (15 Mar 2010 13:23:02 GMT) X-Complaints-To: niusy@onet.pl NNTP-Posting-Date: Mon, 15 Mar 2010 13:23:02 +0000 (UTC) User-Agent: slrn/pre1.0.0-2 (Linux) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit