[Xml-compile] modifying the soap:address/@location element in a WSDL file

Mark Overmeer mark at overmeer.net
Mon Apr 20 16:05:26 GMT 2009


* Mark Blackman (m.blackman at fairfx.com) [090420 15:58]:
> Is there any nice shortcut for modifying the location attribute of  
> soap:address either in the WSDL file *before* or *after*
> my $wsdl = XML::Compile::WSDL11->new($xml_data);

This is often needed.  Use
   $wsdl->compileClient('Operation', endpoint => ...)
                           or        server   => ...

"endpoint" redefines the whole location string, "server" only
the hostname and port.
-- 
               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