Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: How to use Perl instead of Coldfusion.

by flexvault (Monsignor)
on May 15, 2013 at 10:52 UTC ( #1033658=note: print w/replies, xml ) Need Help??


in reply to Re^2: How to use Perl instead of Coldfusion.
in thread How to use Perl instead of Coldfusion.

Dear Anonymous Monk,

Thanks for the heads-up and I will read the cookbook. But to see if I would finally have some success, I installed using your 'cpanp' suggestion and the results are below:

root@email# /usr/opt/perl5_32/bin/cpanp -i BERLE/SOAP-Simple-0.00_03.t +ar.gz [MSG] No '/root/.cpanplus/custom-sources' dir, skipping custom sources [MSG] No '/root/.cpanplus/custom-sources' dir, skipping custom sources [MSG] No '/root/.cpanplus/custom-sources' dir, skipping custom sources Installing SOAP::Simple (0.00_03) *** Install log written to: /root/.cpanplus/install-logs/SOAP-Simple-0.00_03-1368612787.log Module 'SOAP::Simple' installed successfully No errors installing all modules root@email# pyrperl PM_soap_example.plx Couldn't load class (SOAP::Simple::Trait) because: Can't locate XML/Co +mpile/WSDL11.pm in @INC (@INC contains: /usr/opt/perl5_32/lib/site_pe +rl/5.12.2/i686-linux /usr/opt/perl5_32/lib/site_perl/5.12.2 /usr/opt/ +perl5_32/lib/5.12.2/i686-linux /usr/opt/perl5_32/lib/5.12.2 .) at /us +r/opt/perl5_32/lib/site_perl/5.12.2/SOAP/Simple/Trait.pm line 5. BEGIN failed--compilation aborted at /usr/opt/perl5_32/lib/site_perl/5 +.12.2/SOAP/Simple/Trait.pm line 5 . Compilation failed in require at /usr/opt/perl5_32/lib/site_perl/5.12. +2/SOAP/Simple/Base.pm line 3. BEGIN failed--compilation aborted at /usr/opt/perl5_32/lib/site_perl/5 +.12.2/SOAP/Simple/Base.pm line 3. Compilation failed in require at /usr/opt/perl5_32/lib/site_perl/5.12. +2/SOAP/Simple.pm line 6. BEGIN failed--compilation aborted at /usr/opt/perl5_32/lib/site_perl/5 +.12.2/SOAP/Simple.pm line 6. Compilation failed in require at PM_soap_example.plx line 9. BEGIN failed--compilation aborted at PM_soap_example.plx line 9. root@email#

  • 'pyrperl' is a symbolic link to the Perl in directory '/usr/opt/perl5_32/bin/'.
  • line 9 is the 'use SOAP::Simple' statement.

It was looking for 'SOAP::Simple::Trait' and 'XML/Compile/WSDL11.pm' that consumed the day. I'm not complaining, just explaining. Thanks for the help.

Thank you...Ed

"Well done is better than well said." - Benjamin Franklin

Replies are listed 'Best First'.
Re^4: How to use Perl instead of Coldfusion.
by Anonymous Monk on May 16, 2013 at 04:29 UTC

    It was looking for 'SOAP::Simple::Trait' and 'XML/Compile/WSDL11.pm' that consumed the day. I'm not complaining, just explaining. Thanks for the help.

    Hmm, SOAP::Simple::Trait comes with SOAP::Simple

    XML::Compile::WSDL11 is part of XML::Compile::SOAP, which is listed as a requirement for SOAP::Simple

    Maybe you want to

    grep Install /root/.cpanplus/install-logs/SOAP-Simple-0.00_03-1368612 +787.log
    to see where all those files ended up, and then adjust your @INC accordingly

      Dear AM,

      I followed your advice and it didn't install. I probably caused a problem by trying to manually install. So I used a different Perl (5.14.2) that was on that system and everything installed. The results of executing your code with the correct information is as followed:

      trace: register prefix wsdl for 'http://schemas.xmlsoap.org/wsdl/' trace: register prefix soap for 'http://schemas.xmlsoap.org/wsdl/soap/ +' trace: register prefix http for 'http://schemas.xmlsoap.org/wsdl/http/ +' trace: initialize SOAP11 operations for WSDL11 trace: cache parsed file wsdl-soap.xsd-1366974273-5761 trace: parsing XML from file /usr/opt/perl5.14.2/lib/site_perl/5.14.2/ +XML/Compile/WSDL11/xsd/wsdl-soap.xsd trace: register prefix xs for 'http://www.w3.org/2001/XMLSchema' trace: declare {http://schemas.xmlsoap.org/wsdl/soap/}address READER trace: declare {http://schemas.xmlsoap.org/wsdl/soap/}operation READER trace: declare {http://schemas.xmlsoap.org/wsdl/soap/}binding READER trace: declare {http://schemas.xmlsoap.org/wsdl/soap/}body READER trace: declare {http://schemas.xmlsoap.org/wsdl/soap/}header READER trace: declare {http://schemas.xmlsoap.org/wsdl/soap/}fault READER trace: declare {http://schemas.xmlsoap.org/wsdl/}definitions READER trace: cache parsed file wsdl.xsd-1366974273-11308 trace: parsing XML from file /usr/opt/perl5.14.2/lib/site_perl/5.14.2/ +XML/Compile/WSDL11/xsd/wsdl.xsd error: don't known how to interpret XML data EfilingWS.wsdl at /usr/opt/perl5.14.2/lib/site_perl/5.14.2/XML/Compile.pm line 129 XML::Compile::dataToXML("XML::Compile::WSDL11=HASH(0xa0120d0)", "Efili +ngWS.wsdl") at /usr/opt/perl5.14.2/lib/site_perl/5.14.2/XML/Compile/W +SDL11.pm line 126 XML::Compile::WSDL11::addWSDL("XML::Compile::WSDL11=HASH(0xa0120d0)", +"EfilingWS.wsdl") at /usr/opt/perl5.14.2/lib/site_perl/5.14.2/XML/Com +pile/WSDL11.pm line 61 XML::Compile::WSDL11::init("XML::Compile::WSDL11=HASH(0xa0120d0)", "HA +SH(0xa11c6b0)") at /usr/opt/perl5.14.2/lib/site_perl/5.14.2/XML/Compi +le.pm line 43 XML::Compile::new("XML::Compile::WSDL11", "EfilingWS.wsdl") at /usr/op +t/perl5.14.2/lib/site_perl/5.14.2/SOAP/Simple/Trait.pm line 69 SOAP::Simple::Trait::_coerce_wsdl("Moose::Meta::Class::__ANON__::SERIA +L::1=HASH(0x9ff8790)", "EfilingWS.wsdl") at /usr/opt/perl5.14.2/lib/s +ite_perl/5.14.2/SOAP/Simple/Trait.pm line 12 SOAP::Simple::Trait::add_wsdl("Moose::Meta::Class::__ANON__::SERIAL::1 +=HASH(0x9ff8790)", "EfilingWS.wsdl") at /usr/opt/perl5.14.2/lib/site_ +perl/5.14.2/SOAP/Simple.pm line 29 SOAP::Simple::new("SOAP::Simple", "EfilingWS.wsdl") at PM_soap_example +.plx line 25
      Unfortunately, I don't have a clue what this means. I guess the 'error:' says it didn't work!

      Regards...Ed

      "Well done is better than well said." - Benjamin Franklin

        Unfortunately, I don't have a clue what this means. I guess the 'error:' says it didn't work!

        Me neither :)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1033658]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2018-05-26 05:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?