Menu

#10 Test transport backend

2.00_pre-release
closed
SOAP Client (9)
5
2007-09-09
2007-09-08
Anonymous
No

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

Discussion

  • Martin Kutter

    Martin Kutter - 2007-09-09

    Logged In: YES
    user_id=884175
    Originator: NO

    - implemented in #212
    - base_dir can be set via method.

     
  • Martin Kutter

    Martin Kutter - 2007-09-09
    • milestone: --> 2.00_pre-release
    • assigned_to: nobody --> kutterma
    • status: open --> closed
     

Log in to post a comment.

Auth0 Logo