require_once('nusoap.php'); $soapClient = new nusoap_client('https://myservice.com/service.php +?wsdl', true); $result = $soapClient->call( 'doQueryAllSysStatus', array( array( 'countryId' => 1, 'webapiKey' => 'WEBAPI_KEY' ) ) ); #### use XML::Compile::WSDL11; # use WSDL version 1.1 use XML::Compile::SOAP11; # use SOAP version 1.1 use XML::Compile::Transport::SOAPHTTP my $wsdl = XML::Compile::WSDL11->new("https://myservice.com/service.ph +p?wsdl"); $wsdl->importDefinitions('doQueryAllSysStatus'); my $call = $wsdl->compileClient('doQueryAllSysStatus');