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

Mark Blackman m.blackman at fairfx.com
Mon Apr 20 16:22:18 GMT 2009


On 20 Apr 2009, at 17:05, Mark Overmeer wrote:

> * 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.

thanks, I think was just about to reach that conclusion reading the  
docs.

- Mark

> -- 
>               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