in reply to SOAP WSDL server not starting

Try
my @services = $wsdl->findDef('service'); use Data::Dumper; print Dumper(\@services );
I tried to run it but ran into win32 bugs related to Log::Report.

Replies are listed 'Best First'.
Re^2: SOAP WSDL server not starting
by Anonymous Monk on Apr 14, 2010 at 13:10 UTC

    Hi. Thanks for the try.

    I tried to include your code like this:

    my @schemas = ('/path/to/parlayx_sms_send_service_3_1.wsdl',); my $wsdl = XML::Compile::WSDL11->new; $wsdl->importDefinitions(\@schemas); my @services = $wsdl->findDef('service'); use Data::Dumper; print Dumper(\@services );

    Unfortunately, the Dumper was not executed. The script must have exited earlier, during importing the wsdl file... So it outputs nothing.

      Solved. It was just needed to use all necessary wsdl and xsd files correctly:

      my @schemas = ( 'parlayx_common_types_3_1.xsd', 'parlayx_sms_types_3_0.xsd', ); my $wsdl = XML::Compile::WSDL11->new; $wsdl->importDefinitions(\@schemas); $wsdl->addWSDL('parlayx_sms_send_service_3_1.wsdl'); $wsdl->addWSDL('parlayx_sms_send_interface_3_1.wsdl'); $wsdl->addWSDL('parlayx_common_faults_3_0.wsdl');