git-cpan-module: SOAP-WSDL git-cpan-version: 2.00_29 git-cpan-authorid: MKUTTER git-cpan-file: authors/id/M/MK/MKUTTER/SOAP-WSDL-2.00_29.tar.gz
87 lines
1.4 KiB
Perl
87 lines
1.4 KiB
Perl
package MyElements::sayHello;
|
|
use strict;
|
|
use warnings;
|
|
|
|
{ # BLOCK to scope variables
|
|
|
|
sub get_xmlns { 'urn:HelloWorld' }
|
|
|
|
__PACKAGE__->__set_name('sayHello');
|
|
__PACKAGE__->__set_nillable();
|
|
__PACKAGE__->__set_minOccurs();
|
|
__PACKAGE__->__set_maxOccurs();
|
|
__PACKAGE__->__set_ref();
|
|
|
|
use base qw(
|
|
SOAP::WSDL::XSD::Typelib::Element
|
|
SOAP::WSDL::XSD::Typelib::ComplexType
|
|
);
|
|
use Class::Std::Fast::Storable constructor => 'none';
|
|
use base qw(SOAP::WSDL::XSD::Typelib::ComplexType);
|
|
|
|
Class::Std::initialize();
|
|
|
|
{ # BLOCK to scope variables
|
|
|
|
my %name_of :ATTR(:get<name>);
|
|
my %givenName_of :ATTR(:get<givenName>);
|
|
|
|
__PACKAGE__->_factory(
|
|
[ qw(
|
|
name
|
|
givenName
|
|
) ],
|
|
{
|
|
name => \%name_of,
|
|
givenName => \%givenName_of,
|
|
},
|
|
{
|
|
name => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
|
|
givenName => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
|
|
}
|
|
);
|
|
|
|
} # end BLOCK
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} # end of BLOCK
|
|
1;
|
|
|
|
# __END__
|
|
|
|
=pod
|
|
|
|
=head1 NAME
|
|
|
|
MyElements::sayHello
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
Perl data type class for the XML Schema defined element
|
|
sayHello from the namespace urn:HelloWorld.
|
|
|
|
=head1 METHODS
|
|
|
|
=head2 new
|
|
|
|
my $element = MyElements::sayHello->new($data);
|
|
|
|
Constructor. The following data structure may be passed to new():
|
|
|
|
{
|
|
name => $some_value, # string
|
|
givenName => $some_value, # string
|
|
},
|
|
|
|
=head1 AUTHOR
|
|
|
|
Generated by SOAP::WSDL
|
|
|
|
=cut
|
|
|