1 package Geo::EZLocate::Interfaces::EZClient::EZClient;
4 use Class::Std::Fast::Storable;
5 use Scalar::Util qw(blessed);
6 use base qw(SOAP::WSDL::Client::Base);
8 # only load if it hasn't been loaded before
9 require Geo::EZLocate::Typemaps::EZClient
10 if not Geo::EZLocate::Typemaps::EZClient->can('get_class');
13 $_[0]->set_proxy('http://mmezl.teleatlas.com/axis/services/EZClient') if not $_[2]->{proxy};
14 $_[0]->set_class_resolver('Geo::EZLocate::Typemaps::EZClient')
15 if not $_[2]->{class_resolver};
17 $_[0]->set_prefix($_[2]->{use_prefix}) if exists $_[2]->{use_prefix};
21 my ($self, $body, $header) = @_;
22 die "getMOTD must be called as object method (\$self is <$self>)" if not blessed($self);
23 return $self->SUPER::call({
24 operation => 'getMOTD',
25 soap_action => 'EZClient:EZClientPortType#getMOTD',
31 namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
33 parts => [qw( Geo::EZLocate::Elements::getMOTD )],
46 my ($self, $body, $header) = @_;
47 die "getClientInfo must be called as object method (\$self is <$self>)" if not blessed($self);
48 return $self->SUPER::call({
49 operation => 'getClientInfo',
50 soap_action => 'EZClient:EZClientPortType#getClientInfo',
56 namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
58 parts => [qw( Geo::EZLocate::Elements::getClientInfo )],
71 my ($self, $body, $header) = @_;
72 die "getAccountInfo must be called as object method (\$self is <$self>)" if not blessed($self);
73 return $self->SUPER::call({
74 operation => 'getAccountInfo',
75 soap_action => 'EZClient:EZClientPortType#getAccountInfo',
81 namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
83 parts => [qw( Geo::EZLocate::Elements::getAccountInfo )],
96 my ($self, $body, $header) = @_;
97 die "getRPS must be called as object method (\$self is <$self>)" if not blessed($self);
98 return $self->SUPER::call({
99 operation => 'getRPS',
100 soap_action => 'EZClient:EZClientPortType#getRPS',
106 namespace => 'http://schemas.xmlsoap.org/wsdl/soap/',
108 parts => [qw( Geo::EZLocate::Elements::getRPS )],
132 Geo::EZLocate::Interfaces::EZClient::EZClient - SOAP Interface for the EZClient Web Service
136 use Geo::EZLocate::Interfaces::EZClient::EZClient;
137 my $interface = Geo::EZLocate::Interfaces::EZClient::EZClient->new();
140 $response = $interface->getMOTD();
141 $response = $interface->getClientInfo();
142 $response = $interface->getAccountInfo();
143 $response = $interface->getRPS();
149 SOAP Interface for the EZClient web service
150 located at http://mmezl.teleatlas.com/axis/services/EZClient.
152 =head1 SERVICE EZClient
162 =head2 General methods
168 All arguments are forwarded to L<SOAP::WSDL::Client|SOAP::WSDL::Client>.
170 =head2 SOAP Service methods
172 Method synopsis is displayed with hash refs as parameters.
174 The commented class names in the method's parameters denote that objects
175 of the corresponding class can be passed instead of the marked hash ref.
177 You may pass any combination of objects, hash and list refs to these
178 methods, as long as you meet the structure.
180 List items (i.e. multiple occurences) are not displayed in the synopsis.
181 You may generally pass a list ref of hash refs (or objects) instead of a hash
182 ref - this may result in invalid XML if used improperly, though. Note that
183 SOAP::WSDL always expects list references at maximum depth position.
185 XML attributes are not displayed in this synopsis and cannot be set using
186 hash refs. See the respective class' documentation for additional information.
194 Returns a L<Geo::EZLocate::Elements::getMOTDResponse|Geo::EZLocate::Elements::getMOTDResponse> object.
196 $response = $interface->getMOTD( {
204 Returns a L<Geo::EZLocate::Elements::getClientInfoResponse|Geo::EZLocate::Elements::getClientInfoResponse> object.
206 $response = $interface->getClientInfo( {
207 majorVersion => $some_value, # int
208 minorVersion => $some_value, # int
212 =head3 getAccountInfo
216 Returns a L<Geo::EZLocate::Elements::getAccountInfoResponse|Geo::EZLocate::Elements::getAccountInfoResponse> object.
218 $response = $interface->getAccountInfo( {
219 identity => $some_value, # int
227 Returns a L<Geo::EZLocate::Elements::getRPSResponse|Geo::EZLocate::Elements::getRPSResponse> object.
229 $response = $interface->getRPS( {
230 identity => $some_value, # int
238 Generated by SOAP::WSDL on Fri Nov 2 14:13:07 2012