on_action removed in SOAP::WSDL >= 2.00
Status: Beta
Brought to you by:
kutterma
after upgrading from SOAP::WSDL 1.2x to SOAP::WSDL 2.x
on_action was removed.
broken sample code:
my $soap = SOAP::WSDL->new( wsdl => 'file://my.wsdl' );
$soap->proxy('https://any.url.de/bla.asmx');
# .NET wants SOAPAction with / instead of (perl standard) #
$soap->on_action( sub { join '/', @_ } );
$soap->wsdlinit( caching => 1 );
# .NET delivers untyped example code - we do the same.
$soap->autotype(0);
my $som = $soap->call( SomeInstances => %{$data} );
$som->match('/Envelope/Body/[1]/[1]/[1]'); # match method
my $first_value = $som->valueof('[1]');
Logged In: YES
user_id=884175
Originator: NO
Setting on_action is not required any more, the appropriate value is
automatically taken from the WSDL.
I added a on_action no-op for compatibility issues in rev621 in SVN.
Thanks for reporting,
Martin