Re: Starting with SOAP
- From: Amer Neely <perl4hire@xxxxxxxxxxxxxx>
- Date: Thu, 23 Aug 2007 13:43:53 -0400
Ian Wilson wrote:
Amer Neely wrote:rahed wrote:
Amer Neely <perl4hire@xxxxxxxxxxxxxx> writes:
When I do a search for 'soap::transport::http' at CPAN I get a list,
and the first hit, SOAP::Transport::HTTP, takes me to
SOAP-Lite-0.69'. The documentation leads me to believe that
SOAP::Transport::HTTP is included in SOAP-Lite-0.69.
True AFAIK.
I'm confused as to why I'm getting an error message telling me it can't find can't locate SOAP/Transport/HTTP.pm. As far as I can tell SOAP::Lite installed OK.
I think your problem is with installation of SOAP modules and not with usage of SOAP or SOAP::Lite.
That could be. I'll try installing again, and capture the output.
These commands should all return without any error messages
$ perl -MSOAP::Lite -e1
$ perl -MSOAP::Transport::HTTP -e1
$ perl -MSOAP::Transport::HTTP::CGI -eNo code specified for -e.
.... so I figured you forgot the '1' ...
Can't locate SOAP/Transport/HTTP/CGI.pm in @INC (@INC contains: C:/usr/site/lib
C:/usr/lib .).
BEGIN failed--compilation aborted.
This is on my home PC, which is acting as the 'client'.
Directory of C:\usr\lib\SOAP
15/08/2007 09:16p <DIR> .
15/08/2007 09:16p <DIR> ..
08/12/2003 09:13a 167,831 Lite.pm
17/04/2002 01:16a 12,182 Test.pm
15/08/2007 09:15p <DIR> Transport
Directory of C:\usr\lib\SOAP\Transport
15/08/2007 09:15p <DIR> .
15/08/2007 09:15p <DIR> ..
14/06/2002 10:13a 3,147 FTP.pm
14/06/2002 10:13a 29,726 HTTP.pm
14/06/2002 10:13a 3,282 IO.pm
14/06/2002 10:13a 8,156 JABBER.pm
17/04/2002 01:16a 2,052 LOCAL.pm
14/06/2002 10:13a 3,749 MAILTO.pm
14/06/2002 10:13a 7,813 MQ.pm
14/06/2002 10:13a 3,744 POP3.pm
14/06/2002 10:13a 6,940 TCP.pm
There is no 'SOAP' directory under /usr/site/lib
Somewhere in one of the directories listed in @INC you should have
SOAP/Lite.pm
SOAP/Transport/HTTP.pm
SOAP/Transport/HTTP/CGI.pm
(and many other related modules)
So it appears my installation is flawed. I will re-install.
Bear in mind I'm absolutely new to SOAP and using code supplied as an example in the documentation as a starting point. SOAP was suggested as a means of getting some form data from one server to another, but I'm beginning to wonder if it's worth it. If someone has an alternative (besides the database route already suggested) please jump in.
For what it's worth, I find Perl and SOAP::Lite to be one of the easiest SOAP implementations to use. I started with the simplest examples in the documentation (e.g. The "Temperatures" examples in the Cookbook.
Yes, I got that one to work fine too. Which gave me encouragement.
For more complicated services, SOAP::Lite can get a bit tricky, it certainly has some limitations. I've managed to produce SOAP::Lite web-services for consumption by .NET clients (C# Visual Studio) and SOAP::Lite clients for complex Java web-services.
I think you are right in that my installation may be flawed - I will re-install SOAP.
--
Amer Neely
w: www.webmechanic.softouch.on.ca/
Perl | MySQL programming for all data entry forms.
"Others make web sites. We make web sites work!"
.
- Follow-Ups:
- Re: Starting with SOAP
- From: Ian Wilson
- Re: Starting with SOAP
- References:
- Starting with SOAP
- From: Amer Neely
- Re: Starting with SOAP
- From: xhoster
- Re: Starting with SOAP
- From: Amer Neely
- Re: Starting with SOAP
- From: Jim Gibson
- Re: Starting with SOAP
- From: Amer Neely
- Re: Starting with SOAP
- From: rahed
- Re: Starting with SOAP
- From: Amer Neely
- Re: Starting with SOAP
- From: Ian Wilson
- Starting with SOAP
- Prev by Date: Re: Stumped: returning a read pipe from a function
- Next by Date: Re: Starting with SOAP
- Previous by thread: Re: Starting with SOAP
- Next by thread: Re: Starting with SOAP
- Index(es):
Relevant Pages
|