my $soap_wdsl = 'example.wsdl'; # retrieved previously my $client = XML::Compile::WSDL11->new( $soap_wdsl ); my $call = $client->compileClient('setTransaction'); my $response = $call->( $params ); #### my $soap_wdsl = 'https://example.com/service/API?wsdl'; my $client = SOAP::Lite->new; $client->proxy( $soap_wdsl ); $client->service( $soap_wdsl ); my $response = $client->setTransaction( $params ); #### $client->ns('http://soap.example.com/'); #### $soap_wdsl = 'https://example.com/service/API?wsdl'; $client = new SoapClient( $soap_wdsl ); $response = $client->setTransaction( $params );