« Mailing Lists | Main | SOAP::Lite at OSCON »

Comments

Gerard Seibert

My site, which I am only starting to work on, is hosted by WestHost which uses VPS for its clients.

The newest version of DADA Mail, still in BETA, needs the XMLRPC::Lite Perl Module, which I believe is included in SOAP::Lite.

I have been unable, using either CPAN OR CPANPLUS, to install this module. This is the complete log of the installation attempt.


cpan shell -- CPAN exploration and modules installation (v1.7601)
ReadLine support enabled

cpan> install SOAP::Lite
CPAN: Storable loaded ok
Going to read /home/seibercom/.cpan/Metadata
Database was generated on Wed, 06 Apr 2005 11:01:51 GMT
Running install for module SOAP::Lite
Running make for B/BY/BYRNE/SOAP/SOAP-Lite-0.60a.tar.gz
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for /home/seibercom/.cpan/sources/authors/id/B/BY/BYRNE/SOAP/SOAP-Lite-0.60a.tar.gz ok
Scanning cache /home/seibercom/.cpan/build for sizes
SOAP-Lite-0.60/
... cut here ...
PERL_DL_NONLAZY=1 /perl/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/01-core.t t/02-payload.t t/03-server.t t/04-attach.t t/05-customxml.t t/06-modules.t t/07-xmlrpc_payload.t t/08-schema.t
t/01-core..............ok
t/02-payload...........ok
t/03-server............NOK 2# Failed test 2 in t/03-server.t at line 138 fail #2
# t/03-server.t line 138 is: $_ =~ /XML/ || $is_mimeparser ? ok(($result->faultstring || '') =~ /Failed to access class \(Calculator\)/)
t/03-server............NOK 3# Failed test 3 in t/03-server.t at line 138 fail #3
t/03-server............NOK 6# Failed test 6 in t/03-server.t at line 148 fail #2
# t/03-server.t line 148 is: $_ =~ /XML/ || $is_mimeparser ? ok(($result->result || 0) == 7)
t/03-server............NOK 7# Failed test 7 in t/03-server.t at line 148 fail #3
t/03-server............FAILED tests 2-3, 6-7
Failed 4/30 tests, 86.67% okay
t/04-attach............Something wrong with MIME message: MIME::Parser: can't flush: at /perl/lib/site_perl/5.8.5/MIME/Parser.pm line 789.

t/04-attach............dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-15
Failed 15/15 tests, 0.00% okay
t/05-customxml.........ok
t/06-modules...........ok
4/18 skipped: various reasons
t/07-xmlrpc_payload....ok
t/08-schema............ok
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/03-server.t 30 4 13.33% 2-3 6-7
t/04-attach.t 255 65280 15 30 200.00% 1-15
4 subtests skipped.
Failed 2/8 test scripts, 75.00% okay. 19/308 subtests failed, 93.83% okay.
make: *** [test_dynamic] Error 29
/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force


Would it be safe to 'force' the installation? I cannot figure out what the problem is.

Thanks
Gerard Seibert
gerard-seibert@seibercom.us

Note from Byrne: yes, it is absolutely safe. The bug you are encountering there is with the unit test, not the code...

Nathan Neulinger

Is there any way to convince the HTTP transport for SOAP::Lite to use KeepAlive http sessions? The connection overhead for respawning an SSL session for every remote invocation is rather severe - almost as noticable as the difference between cgi and mod_perl.

Nikita Yeryomin

Hello! PLEASE HELP!
The download link
http://www.soaplite.com/download/SOAP-Lite-COM-standalone-latest.zip
is DEAD! :(
How can i get lite.dll to make my VB client working with perl web service??
Thanks!

Justin Michalicek

When I install SOAP::Lite it seems to break the main SOAP/Perl package. Both are saving the modules to site_perl/5.8.0/SOAP (yeah, yeah, I need to update my Perl), the same as SOAP/Perl. Some of the modules have the same name, but don't provide exactly the same functionality, so both cannot be installed at the same time.

I don't know if SOAP::Lite or SOAP/Perl was using that directory first, but one or the other needs to change for both to be installed.

Larry Briggs

Hi
I'm in the process of converting to Windows 2003 server from Win2K. I have a soap call that works on the 2000 server, but I can not get it to work on the 2003 server. The error message that comes to the screen is CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers.
But when I check the web logs it shows a 502 2 error. Is there something that I am missing that I did not set or some security setting that I need to change to get this to work. Here is the section of code that is making the call.
$ServiceID = "Service";
$PassWd = "Password";

use SOAP::Lite;
my $soap = SOAP::Lite
-> uri('https://serveraddress/decryptTokenService')
-> on_action( sub { join '/','https://serveraddr/decryptTokenService',
$_[1]})
-> proxy('https://serveraddr/decryptTokenService/decryptToken.asmx')
;

my $method = SOAP::Data->name('decryptToken')
->attr({xmlns =>'https://serveraddr./decryptTokenService/'});

my @params = ( SOAP::Data->name("userID" => $ServiceID),
SOAP::Data->name("password" => $PassWd),
SOAP::Data->name("encryptedToken" => "$MyCookie"));

$soap->deserializer(SOAP::Custom::XML::Deserializer->new);

my $Results = $soap->call($method => @params);


Thanks
Larry

Larry Dalton

SOAP::Packager::MIME

Can't locate object method "new" via package "SOAP::Packager::MIME" (perhaps you forgot to load "SOAP::Packager::MIME"?) at /opt/ActivePerl-5.8/site/lib/SOAP/Lite.pm line 3241

Seems SOAP::Lite owns the name space for this, and it's not included...

Marco Lara

I'm currently trying to do this:

SERVER===
#!/usr/bin/perl -w
use lib 'lib';
use strict;
use REGAUTH;
use SOAP::Transport::HTTP;
SOAP::Transport::HTTP::CGI
-> dispatch_to('/home/marco/public_html/cgi-bin/lib','REGAUTH')
-> handle;

CLIENT===
#!/usr/bin/perl -w
use SOAP::Lite +autodispatch =>
uri => 'http://site.com/REGAUTH',
proxy => 'http://site.com/cgi-bin/testAPI.cgi';

my $reg= REGAUTH->new();
print $reg->test();


and I'm getting the following error:

500 Internal Server Error at /usr/lib/perl5/site_perl/5.8.8/SOAP/Lite.pm line 3138

Any idea what I'm missing?

Robert Ngo

ActivePerl 5.10.1 build 1006

#!c:/perl/bin/perl

use SOAP::Lite ;
$l_isbn = shift;

sub SOAP::Transport::HTTP::Client::get_basic_credentials {
return 'test' => 'test';
}

print "The response from the server was: ";
print SOAP::Lite
->uri('http://localhost:8080/orawsv/TEST/GET_NAME')
->proxy('http://localhost:8080/orawsv/TEST/GET_NAME')
->call (SOAP::Data->name("GET_NAMEInput"),SOAP::Data->name("P_ISBN-VARCHAR2-IN" => $l_isbn),SOAP::Data->name("P_BOOKNAME-VARCHAR2-OUT" => ""))
->result;

C:\app>perl getbook.pl 12345
Weak references are not implemented in the version of perl at C:/Perl/site/lib/S
OAP/Lite.pm line 2447
BEGIN failed--compilation aborted at C:/Perl/site/lib/SOAP/Lite.pm line 2447.
Compilation failed in require at getbook.pl line 3.
BEGIN failed--compilation aborted at getbook.pl line 3.

Please help.

loki

compilation cannot be corrected
BEGIN failed--compilation aborted at C:/Perl/site/lib/SOAP/Lite.pm line 2447.
Compilation failed in require at getbook.pl line 3.
BEGIN failed--compilation aborted at getbook.pl line 3.

loki

All link is dead

Samia

A valid link : http://soaplite.com/download.html

The comments to this entry are closed.