GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SOAP::WSDL::TRANSPORT::TEST (3)

.ds Aq ’

NAME

SOAP::WSDL::Transport::Test - Test transport class for SOAP::WSDL

CONTENTS

SYNOPSIS



 use SOAP::WSDL::Client;
 use SOAP::WSDL::Transport::Test;

 my $soap = SOAP::WSDL::Client->new()
 $soap->get_transport->set_base_dir(.);
 $soap->call(method, \%body, \%header);



DESCRIPTION

SOAP::WSDL::Transport::Test is a file-based test transport backend for SOAP::WSDL.

When SOAP::WSDL::Transport::Test is used as transport backend, the reponse is read from a XML file and the request message is discarded. This is particularly useful for testing SOAP::WSDL plugins.

    Filename resolution

SOAP::WSDL::Transport makes up the response XML file name from the SOAPAction of the request. The following filename is used:



 base_dir / soap_action .xml



The protocol scheme (e.g. http:) and two heading slashes (//) are stripped from the soap_action.

base_dir defaults to ’.’

Examples:



 SOAPAction: http://somewhere.over.the.rainbow/webservice/webservice.asmx
 Filename: ./somewhere.over.the.rainbow/webservice/webservice.asmx.xml

 SOAPAction: uri:MyWickedService/test
 Filename: ./MyWickedService/test.xml



METHODS

    set_base_dir

Sets the base directory SOAP::WSDL::Transport::Test should look for response files.

LICENSE AND COPYRIGHT

Copyright (c) 2007 Martin Kutter. All rights reserved.

This file is part of SOAP-WSDL. You may distribute/modify it under the same terms as perl itself

AUTHOR

Martin Kutter <martin.kutter fen-net.de>

REPOSITORY INFORMATION



 $Rev: 218 $
 $LastChangedBy: kutterma $
 $Id: HTTP.pm 218 2007-09-10 16:19:23Z kutterma $
 $HeadURL: https://soap-wsdl.svn.sourceforge.net/svnroot/soap-wsdl/SOAP-WSDL/trunk/lib/SOAP/WSDL/Transport/HTTP.pm $



Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 SOAP::WSDL::TRANSPORT::TEST (3) 2015-04-02

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.