Cara, tenho 5 projetos no mesmo tempo ;-) . Se tiver problemas ainda
podemos conversar.
Post your entire tomcat/logs/catalina.out , your entire services.xml ,
and your entire class agenteservidor.SimpleService . We'll probably
figure out the problem from there.
Robert
On 9/19/06, Fabio Alves de Araujo Ebner - DNA Solution
<[EMAIL PROTECTED]> wrote:
now i got
----------------------------------------------------------------------------
----
type Exception report
message
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception
org.apache.axis2.AxisFault: null; nested exception is:
java.lang.NullPointerException
org.apache.axis2.description.AxisService.getWSDL(AxisService.java:654)
org.apache.axis2.description.AxisService.printWSDL(AxisService.java:540)
org.apache.axis2.transport.http.ListingAgent.processListService(ListingAgent
.java:167)
org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:165)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
note The full stack trace of the root cause is available in the Apache
Tomcat/5.5.17 logs.
robert se liga.. estou precisando de alguem para dar um curso aqui no meu
trampo disso. ta afim de ganhar uma grana???
----- Original Message -----
From: "robert lazarski" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, September 19, 2006 4:11 PM
Subject: Re: Fw: help
You have a few typos. You have:
<service>
<parameter name="VerificaLogin" locked="false">SimpleService</parameter>
<operation name="isLogin">
<messageReceiver
class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
</operation>
</service>
Try this:
<service>
<parameter name="ServiceClass"
locked="false">agenteservidor.SimpleService</parameter>
<operation name="isLogin">
<messageReceiver class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
</operation>
</service>
HTH,
Robert
On 9/19/06, Fabio Alves de Araujo Ebner - DNA Solution
<[EMAIL PROTECTED]> wrote:
> i got the nightly and the error show again..
> :(
> ----- Original Message -----
> From: "robert lazarski" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Tuesday, September 19, 2006 3:59 PM
> Subject: Re: Fw: help
>
>
> There are bugs since the first release, you should use the nightly,
> which is a more recent development version. The next release is
> happening in a few weeks. Use the nightlies until then is my
> recommendation.
>
> Anyways, I do know in the nightlies the wsdl will be generated as this
> is a FAQ:
>
> http://www.wso2.net/kb/104
>
> Furthermore, while the wsdl will be generated provided you follow
> eexactly the requirements in the FAQ, the lack of a wsdl will _not_
> prevent you from executing the service correctly.
>
> Robert
>
> On 9/19/06, Fabio Alves de Araujo Ebner - DNA Solution
> <[EMAIL PROTECTED]> wrote:
> > i use this tutorial ->
> > http://www.wso2.net/tutorials/axis2/java/2006/05/29/hello-world
> > but when i try write my on ws.. i cant :(
> >
> >
> > ----- Original Message -----
> > From: "robert lazarski" <[EMAIL PROTECTED]>
> > To: <[email protected]>
> > Sent: Tuesday, September 19, 2006 3:48 PM
> > Subject: Re: Fw: help
> >
> >
> > Are you using the nightly ?
> >
> > http://people.apache.org/dist/axis2/nightly/
> >
> > Robert
> >
> > On 9/19/06, Fabio Alves de Araujo Ebner - DNA Solution
> > <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > > 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:
> > >
> > > - <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
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]