[Xml-compile] ONVIF wsdl and XML::Compile::WSDL11

Sandro Magrí sandro at freenetst.it
Mon Feb 8 22:44:39 GMT 2016


Thanks a lot, with the changes with the changes that will be included
in the release 3.05 the wsdl importation works smoothly.
          Regards,
               Sandro


On 2016-02-08 19:01, Mark Overmeer wrote:
> * Sandro Magrí (sandro at freenetst.it) [160208 01:24]:
>> In XML::Compile::WSDL11, sub operation, around line 282:
>> 
>> $ diff WSDL11.pm  WSDL11.pm_orig
>> 282,283d281
>> <     $prefix = $prefix."12"; # dirty trick for soap12
> 
> I did not remember, but ::WSDL11 supports WSDLs which do not have
> a service block.  Only... it was not prepared for SOAP12-only
> wsdls.  I will include this change in release 3.05:
> 
> Around line 209:
> 
>  -      my %port = (name => $portname, binding => $binding
>  -         , soap_address => {location => 'http://localhost'} );
> 
>  +      my $addr
>  +        = $bindings[0]->{soap_binding}   ? 'soap_address'
>  +        : $bindings[0]->{soap12_binding} ? 'soap12_address'
>  +        : error __x"unrecognized binding type for wsdl without 
> service block";
> 
>  +      my %port = (name => $portname, binding => $binding
>  +         , $addr => {location => 'http://localhost'} );

-- 
S.Magrí
FreeNet ST



More information about the Xml-compile mailing list