Files
SOAP-WSDL/example/lib/MyElements/GetWeatherResponse.pm
Martin Kutter 84b53d9261 import SOAP-WSDL 2.00_24 from CPAN
git-cpan-module:   SOAP-WSDL
git-cpan-version:  2.00_24
git-cpan-authorid: MKUTTER
git-cpan-file:     authors/id/M/MK/MKUTTER/SOAP-WSDL-2.00_24.tar.gz
2009-12-12 19:48:10 -08:00

80 lines
1.3 KiB
Perl

package MyElements::GetWeatherResponse;
use strict;
use warnings;
{ # BLOCK to scope variables
sub get_xmlns { 'http://www.webserviceX.NET' }
__PACKAGE__->__set_name('GetWeatherResponse');
__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::Storable;
use base qw(SOAP::WSDL::XSD::Typelib::ComplexType);
{ # BLOCK to scope variables
my %GetWeatherResult_of :ATTR(:get<GetWeatherResult>);
__PACKAGE__->_factory(
[ qw(
GetWeatherResult
) ],
{
GetWeatherResult => \%GetWeatherResult_of,
},
{
GetWeatherResult => 'SOAP::WSDL::XSD::Typelib::Builtin::string',
}
);
} # end BLOCK
} # end of BLOCK
1;
# __END__
=pod
=head1 NAME
MyElements::GetWeatherResponse
=head1 DESCRIPTION
Perl data type class for the XML Schema defined element
GetWeatherResponse from the namespace http://www.webserviceX.NET.
=head1 METHODS
=head2 new
my $element = MyElements::GetWeatherResponse->new($data);
Constructor. The following data structure may be passed to new():
{
GetWeatherResult => $some_value, # string
}
=head1 AUTHOR
Generated by SOAP::WSDL
=cut