The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

SAP::SOAP - Perl extension to translate to and from SOAP calls

SYNOPSIS

  use SAP::SOAP;
  $rfc = new SAP::SOAP(
                      ASHOST   => 'myhost',
                      USER     => 'ME',
                      PASSWD   => 'secret',
                      LANG     => 'EN',
                      CLIENT   => '200',
                      SYSNR    => '00',
                      TRACE    => '1' );

my $sr =<<EOF; <?xml version="1.0" encoding="iso-8859-1"?> <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/envoding/" xmlns:xsd="http://www.w3c.org/1999/XMLSchema" xmlns:xsi="http://www.w3c.org/1999/XMLSchema-instance"> <SOAP-ENV:Body> <rfc:RFC_READ_TABLE xmlns:rfc="urn:sap-com:document:sap:rfc:functions"> <DELIMITER>|</DELIMITER> <QUERY_TABLE>TRDIR </QUERY_TABLE> <ROWCOUNT>5</ROWCOUNT> <ROWSKIPS>0</ROWSKIPS> <FIELDS> </FIELDS> <DATA> </DATA> <OPTIONS> <item> <TEXT>NAME LIKE 'RS%' </TEXT> </item> </OPTIONS> </rfc:RFC_READ_TABLE> </SOAP-ENV:Body> </SOAP-ENV:Envelope> EOF

print $rfc->soapCall( $sr );

$rfc->close();

DESCRIPTION

  The best way to discribe this package is to give a brief over view, and
  then launch into several examples.

METHODS:

soapRequest Translate a SOAP request into an SAP::Iface object ready for a call via SAP::Rfc.

soapCall Accepts a SOAP request, processes the SAP RFC and provides a SOAP response or fault.

soapFault Accepts fault code, fault string, and a fault description - Returns a SOAP fault response.

AUTHOR

Piers Harding, piers@ompa.net.

But Credit must go to all those that have helped.

SEE ALSO

perl(1), SAP::Rfc(3), SAP::Iface(3), SOAP::Lite(3).