http://www.perlmonks.org?node_id=1006429


in reply to Facing difficulties in using SOAP::WSDL

sing SOAP::WSDL of $VERSION = "1.27"; thanks your Help will be appreciated

Why?

Try installing the latest, cpan MKUTTER/SOAP-WSDL-2.00.99_3.tar.gz , although that doesn't exactly work for me either (wsdl2perl chokes)

On the other hand SOAP::Simple seems to work ... its built on XML::Compile::SOAP/http://perl.overmeer.net/xml-compile/

#!/usr/bin/perl -- use strict; use warnings; use Data::Dump; use SOAP::Simple; #~ http://webservices.legis.ga.gov/GGAServices/Session/Service.svc?wsd +l my $soap = SOAP::Simple->new('Service.svc@wsdl'); my ($answer, $trace) = $soap->GetSessions; dd $answer; dd $trace;

Replies are listed 'Best First'.
Re^2: Facing difficulties in using SOAP::WSDL
by sandeepb (Novice) on Nov 30, 2012 at 13:01 UTC

    Thanks, for your inputs.

    I successfully installed SOAP::Simple, where as it having plenty of dependency modules, i too installed many in that, but not able to install its dependency modules"XML::LibXML"

    Any idea why we are not able to install the same

    thanks Sandeep

      Any idea why we are not able to install the same

      PEBKAC, but that's too easy

        Getting following error

        Downloading XML-LibXML-1.64...done Unpacking XML-LibXML-1.64...done Generating HTML for XML-LibXML-1.64...done Updating files in site area...done Downloading XML-LibXML-1.64 install script...done Running XML-LibXML-1.64 install script...Set up gcc environment - 3.4. +5 (mingw-vista special r3) Do you want to alter ParserDetails.ini? [yes] yes C:\Perl\bin\perl.exe -MXML::SAX -e "XML::SAX->add_parser(q(XML::LibXML +::SAX::Parser))->save_parsers()" Can't load 'C:/Perl/site/lib/auto/XML/LibXML/LibXML.dll' for module XM +L::LibXML: load_file:The specified procedure could not be found at C: +/ Perl/lib/DynaLoader.pm line 226. at C:/Perl/site/lib/XML/LibXML.pm line 116. BEGIN failed--compilation aborted at C:/Perl/site/lib/XML/LibXML.pm li +ne 116. Compilation failed in require at C:/Perl/site/lib/XML/LibXML/SAX/Parse +r.pm line 8. BEGIN failed--compilation aborted at C:/Perl/site/lib/XML/LibXML/SAX/P +arser.pm line 8. Compilation failed in require at C:/Perl/site/lib/XML/SAX.pm line 147. system C:\Perl\bin\perl.exe -MXML::SAX -e "XML::SAX->add_parser(q(XML: +:LibXML::SAX::Parser))->save_parsers()" failed: 65280 at install_scri +p t line 32, <STDIN> line 1. ppm install failed: Command exits with 255: C:\Perl\bin\perl.exe install_script stopped

        getting popup

        [Window Title] assertlibqAKHy7Ce.exe [Main Instruction] assertlibqAKHy7Ce.exe has stopped working [Content] A problem caused the program to stop working correctly. Please close t +he program. [Close the program]