From: "Вадим Илларионов" <gbimobou@gmail.com>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: [Comm] Обновление запретного списка из bash
Date: Sun, 28 Dec 2014 15:58:51 +0800
Message-ID: <26790794.OP6UnkITlg@comp.ill> (raw)
Перловая конструкция:
my $service = SOAP::Lite->service("http://vigruzki.rkn.gov.ru/services/OperatorRequest/?wsdl");
my $lddn = $service->getLastDumpDate;
возвращает дату последнего списка в миллисекундах (к примеру, 1419750300000).
curl -w "\n%{http_code}\n" -H "SOAPAction:wsdl:getLastDumpDateEx" http://vigruzki.rkn.gov.ru/services/OperatorRequest/
возвращается с кодом 200 и пустым выводом. Если в конце добавить ?wsdl, код тот же, а в выводе - голая wsdl-форма.
curl -w "\n%{http_code}\n" -H "SOAPAction:wsdl:getLastDumpDateEx" -d @запрос.xml --data-binary @запрос.signed --data-ascii "2.0" http://vigruzki.rkn.gov.ru/services/OperatorRequest/
хоть с ?wsdl в конце, хоть без оного возвращается с кодом 503 и выводом:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Сервис временно недоступен</title>
<link rel="stylesheet" type="text/css" href="/style.css">
</head>
<body style='padding: 70px 70px 40px 146px;'>
<h1>Сервис временно недоступен</h1>
<p>Сервер временно не может обслужить Ваш запрос. Пожалуйста, повторите запрос позднее.</p>
</body>
</html>
ЧЯДНТ?
__
Мимо крокодил.
next reply other threads:[~2014-12-28 7:58 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-28 7:58 Вадим Илларионов [this message]
2014-12-29 12:31 ` Sergey
2014-12-30 1:47 ` Вадим Илларионов
2014-12-30 8:19 ` Sergey
2014-12-30 10:32 ` Sergey
2014-12-30 14:12 ` Вадим Илларионов
2014-12-31 14:49 ` Sergey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=26790794.OP6UnkITlg@comp.ill \
--to=gbimobou@gmail.com \
--cc=community@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git