[Xml-compile] Possible Regression in XML::Compile::WSDL11

Mark Overmeer mark at overmeer.net
Wed Oct 14 21:43:21 GMT 2015


* Chase Whitener (cwhitener at gmail.com) [151014 21:25]:
> I've attached a simple test script to show the perceived problem.  The WSDL
> can be found herehttps://www.cwhitener.com/resource.wsdl
> 
> In version 2.38 I could (without error):my $wsdl =
> XML::Compile::WSDL11->new($content_from_attached_file);
> Yet, in version 3.03, the same code produces the error:error: no address in
> port ResourceWSSoap12

You upgrade your release over a major-number change, so need to be
extra careful.  With version 3.00, there is full SOAP12 support... at
the same time, that component grew considerable larger so I had to split
it into a separate distribution.

> use File::Slurper 'read_text';
> use XML::Compile::WSDL11;
> use XML::Compile::SOAP11;

If your WSDL contains SOAP12, you have to add
  use XML::Compile::SOAP12;

If other modules ae new enough, you will even see a suggestion to make
this change as help to fix the error message.
-- 
Regards,

               MarkOv

------------------------------------------------------------------------
       Mark Overmeer MSc                                MARKOV Solutions
       Mark at Overmeer.net                          solutions at overmeer.net
http://Mark.Overmeer.net                   http://solutions.overmeer.net




More information about the Xml-compile mailing list