Mailing Lists
The following mailing lists relate to the SOAP::Lite Perl Module project.
-
Announcements list - This list is a low volume mailing that only SOAP::Lite project leads can post to. Subscribers of this list will receive announcements about the SOAP::Lite project, such as releases, recently discovered bygs and vulnerabilities, etc.
(go to Subscribe/Unsubscribe/Preferences) - User Support and Discussion - This list is for those seeking support (and wishing to provide support) for the SOAP::Lite Perl Module.
(go to Subscribe/Unsubscribe/Preferences) - Development mailing list - This list is for those contributing to and those wishing to follow the continued development of the SOAP::Lite code base.
(go to Subscribe/Unsubscribe/Preferences)
n00b SOAP::Lite programmer
Posted by: Asbjørn Thorsen | May 02, 2005 at 02:45 AM
Hello,
I'm having a basic problem getting soaplite to work. I'm trying to get the examples working from the HOWTO section, and am seeing the following situation:
I have a file, hibye.cgi, copied verbatim from the HOWTO section --
#!/usr/bin/perl
use SOAP::Transport::HTTP;
SOAP::Transport::HTTP::CGI
-> dispatch_to('Demo')
-> handle;
package Demo;
sub hi {
return "hello, world";
}
sub bye {
return "goodbye, cruel world";
}
sub languages {
return ("Perl", "C", "sh");
}
And then I have a file, hibye.pl, mostly copied from the HOWTO section --
#!/usr/bin/perl
use SOAP::Lite;
print SOAP::Lite
-> uri('http://localhost/Demo')
-> proxy('http://localhost/hibye.cgi')
-> hi()
-> result;
I've simply changed the uri and proxy values (to my machine, of course).
Now, when I run invoke hibye.pl from the command line, I am getting the following error:
405 Method Not Allowed at ./hibye.pl line 7
I get the same error if I replace localhost with 127.0.0.1 also. Any idea what I'm doing wrong? Funny thing is, if I don't change the uri and proxy values to my machine, and leave the original values as they are in the HOWTO section, all is well, and I get the intended result.
Help would be greatly appreciated,
Saker
Posted by: Saker Ghani | November 23, 2005 at 11:35 AM
I have a handheld device running Windows CE that has a program for scanning vehicle data. This program was written in .NET and is a .NET client. I have a SOAP::Transport::HTTP::CGI server that it needs to communicate with. The handheld starts to send data to my server and then half way through it it stops running. I have been told that it is the command HTTP 100 Continue that is causing the problem and I need to use Protocol HTTP1.0 as a possible solution.
I am hoping someone might have come accross this before.
Mike
Posted by: Mike | September 05, 2007 at 09:37 AM
Hi
I am trying to access .Net based web service by a perl web client.
Every thing is going smoothly if the .net web service is based on the file system.
But if it is an Http based web service, a IIS deployed web service, then the my perl web client is not able to access the published methods of the web service. The error message that i get is
HTTP::Client::send_receive: HTTP/1.1 500 Internal Server Error
More information regarding the .net web service is that
1. I have enabled Anonymous Access on the web site.
2. Execute permissions are set for both scripts and executables.
3. Read , write , directory browsing , indexing and log visits permissions are granted.
So tell me what can be the possible cause of this 500 Internal server error on IIS deployed web service.
Posted by: pkt | January 03, 2008 at 10:25 PM
Hi All, Now, i have to use a .Net's web service to get some data.
That server provides three method ,say: getID() getNum(xxx) getName(xxx)
The "getNum" method needs a parameter xxx which is a XML format. I use the module: SOAP::Lite;
my $soap = SOAP::Lite
->uri('http://tempuri.org')
->on_action(sub{sprintf "%s/%s",@_})
->proxy('http://xxx/a.asmx');
my $result = $soap->getID(); #It works
my $str = '
《xml version="1.0" encoding="utf-8" standalone="yes" ?》
《node》
《nid》10《/nid》
《/node》
'; ### replace the 《 》 to
my $result = $soap->getNum($str); #It doesn't work
Why the "getNum" method can't work. Just because of the XML's parameter format ? Pls give me a hand.Thanks.
Posted by: Pysome | March 25, 2009 at 01:26 AM