| 1 | # ----------------------------------------------------------------------------- | ||
| 2 | |||
| 3 | =encoding utf8 | ||
| 4 | |||
| 5 | =head1 NAME | ||
| 6 | |||
| 7 | Quiq::SoapWsdlServiceCgi::Demo - Demo für SOAP Web Service | ||
| 8 | |||
| 9 | =head1 BASE CLASS | ||
| 10 | |||
| 11 | L<Quiq::SoapWsdlServiceCgi> | ||
| 12 | |||
| 13 | =cut | ||
| 14 | |||
| 15 | # ----------------------------------------------------------------------------- | ||
| 16 | |||
| 17 | package Quiq::SoapWsdlServiceCgi::Demo; | ||
| 18 | 1 | ▶ | use base qw/Quiq::SoapWsdlServiceCgi/; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 19 | |||
| 20 | 1 | ▶ | use v5.10; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 21 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 22 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 23 | |||
| 24 | 1 | our $VERSION = '1.240'; | |
| 25 | |||
| 26 | 1 | ▶ | use POSIX (); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 27 | |||
| 28 | # ----------------------------------------------------------------------------- | ||
| 29 | |||
| 30 | =head1 METHODS | ||
| 31 | |||
| 32 | =head2 Service-Methoden | ||
| 33 | |||
| 34 | =head3 serverTime() - Liefere lokale Server-Zeit als Zeichenkette | ||
| 35 | |||
| 36 | =head4 Synopsis | ||
| 37 | |||
| 38 | $time = $class->serverTime; | ||
| 39 | |||
| 40 | =head4 Wsdl | ||
| 41 | |||
| 42 | _RETURN $string | ||
| 43 | |||
| 44 | =begin WSDL | ||
| 45 | |||
| 46 | _RETURN $string | ||
| 47 | |||
| 48 | =end WSDL | ||
| 49 | |||
| 50 | =cut | ||
| 51 | |||
| 52 | # ----------------------------------------------------------------------------- | ||
| 53 | |||
| 54 | 0 | ▶ | sub serverTime { |
|
Subroutine
serverTime: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 55 | 0 | my $class = shift; | |
| 56 | 0 | return POSIX::strftime('%Y-%m-%d %H:%M:%S',localtime); | |
| 57 | } | ||
| 58 | |||
| 59 | |||
| 60 | # ----------------------------------------------------------------------------- | ||
| 61 | |||
| 62 | =head1 VERSION | ||
| 63 | |||
| 64 | 1.240 | ||
| 65 | |||
| 66 | =head1 AUTHOR | ||
| 67 | |||
| 68 | Frank Seitz, L<http://fseitz.de/> | ||
| 69 | |||
| 70 | =head1 COPYRIGHT | ||
| 71 | |||
| 72 | Copyright (C) 2026 Frank Seitz | ||
| 73 | |||
| 74 | =head1 LICENSE | ||
| 75 | |||
| 76 | This code is free software; you can redistribute it and/or modify | ||
| 77 | it under the same terms as Perl itself. | ||
| 78 | |||
| 79 | =cut | ||
| 80 | |||
| 81 | # ----------------------------------------------------------------------------- | ||
| 82 | |||
| 83 | 1 | 1; | |
| 84 | |||
| 85 | # eof | ||