ClientFailed to locate method
SUBSCRIBE SOAP Marcel Schmitt <[email protected]>
| Newsgroups | gmane.comp.windows.devel.soap.general |
|---|---|
| Message-ID | <SOAP%[email protected]> |
Hi,
this is my first time i work with SOAP and i need only a simple function. I
just tried to write a "hello world" script.
First time i took a cgi-script like this:
use SOAP::Lite;
print SOAP::Lite -> uri('http://merlin/hello_world') -> proxy
('http://merlin/cgi-bin/hello_world.cgi') -> sayHello() -> result ;
And it returns "Hello Merlin" ... it works fine.
After that i opend a HTTP connection over a PHP script and sent a soap
file. The header, envelope und body looks okay. In the body is a simple
method request like this:
<hello_world xmlns="http://merlin/"> <Useranme>Merlin</Username>
</hello_world>
And this script returns that:
HTTP/1.1 500 Internal Server Error Date: Wed, 25 Sep 2002 07:34:57 GMT
Server: Apache/1.3.22 (Win32) SOAPServer: SOAP::Lite/Perl/0.55 Content-
Length: 648 Connection: close Content-Type: text/xml; charset=utf-8 SOAP-
ENV:ClientFailed to locate method (checkLogin) in class (main) at C:/%
PATH_PERL%/site/lib/SOAP/Lite.pm line 2226.
Can anyone tell my what is wrong ? Maybe by mail: [email protected]
Greetz Marcel
You can read messages from the SOAP archive, unsubscribe from SOAP, or subscribe to other
DevelopMentor lists at http://discuss.develop.com.