Test transport backend
Status: Beta
Brought to you by:
kutterma
A test transport backend operating on files would be very useful for testing.
Could look like this:
use SOAP::WSDL;
use SOAP::WSDL::Transport::Test;
$SOAP::WSDL::Transport::Test::base_dir = '/path/to/my/files';
SOAP response files could be named after the SOAPAction (with the scheme part stripped) and with '.xml' as ending.
Example:
SOAPAction: "http://soap-wsdl.sf.net/soap/myAction"
File:
$base_dir/soap-wsdl.sf.net/soap/myAction.xml
Logged In: YES
user_id=884175
Originator: NO
- implemented in #212
- base_dir can be set via method.