* Kit Peters ([email protected]) [150916 16:50]:
> I get the error "explicit selection required".
> 
>   my %method_services = map { $_->name => $_->serviceName } $wsdl->operations
>   sub call {
>       my ($self, $method, %options) = @_;
>       $options{'service'} = $method_services{$method};
>       $self->wsdl->compileCall($method, %options);
>   }

"operations()" will return both SOAP11 as SOAP12 operations.  Also,
sometimes there is a test and a production service.  So: the same
name may appear more than once.  Your map will only contain the last
operation with that name.

When you use option 'long_names' with compileCall()  (requires
XML::Compile::WSDL 3.03) the name will automatically be extended
with the service name.  Use $wsdl->printIndex to see those long
names.
-- 
Regards,

               MarkOv

------------------------------------------------------------------------
       Mark Overmeer MSc                                MARKOV Solutions
       [email protected]                          [email protected]
http://Mark.Overmeer.net                   http://solutions.overmeer.net


_______________________________________________
Xml-compile mailing list
[email protected]
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/xml-compile

Reply via email to