[SOAP] Multiple parameters input in WSDL
[email protected] ("nitesh.apte") Sat, 9 Jul 2011 08:40:57 -0700 (PDT)
| Newsgroups | php.soap |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_45626_1172359.1310226057892
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hi
I have created a class for user login. The class is as follow:
class MyClass
{
public function userLogin($username, $password)
{
return 'I am here';
}
}
The method userLogin takes two parameters - username and password. The WSDL
file that I have created is as follow:
<?xml version="1.0" encoding="UTF-8"?>
I get this error on executing in SoapUI - "Missing argument 2 for
MyClass::userLogin()". But if I remove second parameter from 'userLogin'
method, then there is no error but there is no output. The expected output
is 'I am here'.
Thing is I don't know what to write in if there is multiple parameter input
for a given method(userLogin).
Please help me out here. It's urgent and I am a newbie.
Thanks
--
View this message in context: http://old.nabble.com/Multiple-parameters-input-in-WSDL-tp32027971p32027971.html
Sent from the Php - Soap mailing list archive at Nabble.com.
------=_Part_45626_1172359.1310226057892--