people i need help.. i cant do any ws
in axis 2
i will list step by step what i
do..
1º i create the .java
VerificaLogin.java
package agenteservidor;
public class VerificaLogin
{
public boolean isLogin(String nome, String
senha){
senha = senha +
"aeee";
if((nome.equals("binhoca"))){
return true;
}
return
false;
}
}
save in C:\ws
then i create the subdir Temp, so i
have the :\ws\temp
2º c:\ws\javac VerificaLogin.java -d
temp
3º Create in temp the directory
META-INF\services.xml
<service>
<parameter
name="VerificaLogin"
locked="false">SimpleService</parameter>
<operation
name="isLogin">
<messageReceiver
class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
</operation>
</service>
4º in c:\ws\temp i create the .aar -> :\ws\temp\jar cvf
VerificaLogin.aar .
5º join Axis2 adm and upload the .aar file..
6º te error:
<description
>Unable to generate WSDL for this
service</description>
<reason
>Either user has not dropped the wsdl into
META-INF or operations use message receivers other than
RPC.</reason>
</error>
please
anyone help me
tks