in reply to Re: SOAP WSDL server not starting
in thread SOAP WSDL server not starting

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.

Replies are listed 'Best First'.
Re^3: SOAP WSDL server not starting
by Anonymous Monk on Apr 15, 2010 at 08:24 UTC

    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');