sou de SP.. mas dependendo cara pagamos a passagem e tal :D

abracos
----- Original Message -----
From: "robert lazarski" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, September 19, 2006 4:49 PM
Subject: Re: Fw: help


> This is wrong:
>
> <parameter name="VerificaLogin"
>
> It _must_ be ServiceClass _always_ .
>
> Change the entire services.xml to:
>
> <service>
> <parameter name="ServiceClass"
>          locked="false">agenteservidor.VerificaLogin</parameter>
> <operation name="isLogin">
> <messageReceiver
class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
> </operation>
> </service>
>
> Você mora em qual estado ? Moro em Fortaleza.
>
> Robert
>
> On 9/19/06, Fabio Alves de Araujo Ebner - DNA Solution
> <[EMAIL PROTECTED]> wrote:
> > e vc conhece alguem q manje legal de axis2 e possa ministrar um curso??
de
> > um fds ou dois no maximo.. se vc tiver interesse e so avisar podemos
> > conversar a respeito
> >
> > --- java
> > package agenteservidor;
> >
> > /**
> >  *
> >  * @author Administrador
> >  */
> > public class VerificaLogin {
> >     public boolean isLogin(String nome){
> >         if((nome.equals("binhoca"))){
> >             return true;
> >         }
> >         return false;
> >     }
> > }
> >
> > ---xml
> > <service>
> > <parameter name="VerificaLogin"
> >           locked="false">agenteservidor.VerificaLogin</parameter>
> > <operation name="isLogin">
> > <messageReceiver
class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
> > </operation>
> > </service>
> >
> > ----- log
> > 19/09/2006 16:42:14 org.apache.catalina.core.StandardWrapperValve invoke
> > WARNING: Servlet.service() for servlet AxisServlet threw exception
> > org.apache.axis2.AxisFault: null; nested exception is:
> >  java.lang.NullPointerException
> >  at
org.apache.axis2.description.AxisService.getWSDL(AxisService.java:654)
> >  at
org.apache.axis2.description.AxisService.printWSDL(AxisService.java:540)
> >  at
> >
org.apache.axis2.transport.http.ListingAgent.processListService(ListingAgent
> > .java:167)
> >  at
org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:165)
> >  at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> >  at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> >  at
> >
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> > FilterChain.java:252)
> >  at
> >
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> > ain.java:173)
> >  at
> >
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
> > va:213)
> >  at
> >
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
> > va:178)
> >  at
> >
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126
> > )
> >  at
> >
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
> > )
> >  at
> >
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
> > :107)
> >  at
> >
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> >  at
> >
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> >  at
> >
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processC
> > onnection(Http11BaseProtocol.java:664)
> >  at
> >
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
> > a:527)
> >  at
> >
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
> > rkerThread.java:80)
> >  at
> >
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
> > a:684)
> >  at java.lang.Thread.run(Unknown Source)
> > Caused by: java.lang.NullPointerException
> >  at
> >
org.apache.axis2.description.AxisService2OM.generateOM(AxisService2OM.java:1
> > 15)
> >  at
org.apache.axis2.description.AxisService.getWSDL(AxisService.java:649)
> >  ... 19 more
> > 19/09/2006 16:42:14 org.apache.catalina.core.ApplicationDispatcher
invoke
> > SEVERE: Servlet.service() for servlet jsp threw exception
> > java.lang.IllegalStateException: getOutputStream() has already been
called
> > for this response
> >  at org.apache.catalina.connector.Response.getWriter(Response.java:599)
> >  at
> >
org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:1
> > 95)
> >  at
org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:124)
> >  at
> >
org.apache.jasper.runtime.JspWriterImpl.flushBuffer(JspWriterImpl.java:117)
> >  at
> >
org.apache.jasper.runtime.PageContextImpl.release(PageContextImpl.java:191)
> >  at
> >
org.apache.jasper.runtime.JspFactoryImpl.internalReleasePageContext(JspFacto
> > ryImpl.java:115)
> >  at
> >
org.apache.jasper.runtime.JspFactoryImpl.releasePageContext(JspFactoryImpl.j
> > ava:75)
> >  at
> >
org.apache.jsp.axis2_002dweb.Error.error500_jsp._jspService(error500_jsp.jav
> > a:97)
> >  at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
> >  at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> >  at
> >
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
> > 32)
> >  at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
> >  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
> >  at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> >  at
> >
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> > FilterChain.java:252)
> >  at
> >
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> > ain.java:173)
> >  at
> >
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
> > java:672)
> >  at
> >
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDis
> > patcher.java:465)
> >  at
> >
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
> > er.java:398)
> >  at
> >
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
> > .java:301)
> >  at
> >
org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:363
> > )
> >  at
> >
org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:284
> > )
> >  at
> >
org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:
> > 228)
> >  at
> >
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:134
> > )
> >  at
> >
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
> > )
> >  at
> >
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
> > :107)
> >  at
> >
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> >  at
> >
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> >  at
> >
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processC
> > onnection(Http11BaseProtocol.java:664)
> >  at
> >
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
> > a:527)
> >  at
> >
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
> > rkerThread.java:80)
> >  at
> >
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
> > a:684)
> >  at java.lang.Thread.run(Unknown Source)
> > 19/09/2006 16:42:14 org.apache.catalina.core.StandardHostValve custom
> > SEVERE: Exception Processing ErrorPage[errorCode=500,
> > location=/axis2-web/Error/error500.jsp]
> > org.apache.jasper.JasperException: getOutputStream() has already been
called
> > for this response
> >  at
> >
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWra
> > pper.java:510)
> >  at
> >
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
> > 87)
> >  at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
> >  at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
> >  at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> >  at
> >
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
> > FilterChain.java:252)
> >  at
> >
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
> > ain.java:173)
> >  at
> >
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
> > java:672)
> >  at
> >
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDis
> > patcher.java:465)
> >  at
> >
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
> > er.java:398)
> >  at
> >
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
> > .java:301)
> >  at
> >
org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:363
> > )
> >  at
> >
org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:284
> > )
> >  at
> >
org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:
> > 228)
> >  at
> >
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:134
> > )
> >  at
> >
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105
> > )
> >  at
> >
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
> > :107)
> >  at
> >
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
> >  at
> >
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
> >  at
> >
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processC
> > onnection(Http11BaseProtocol.java:664)
> >  at
> >
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav
> > a:527)
> >  at
> >
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo
> > rkerThread.java:80)
> >  at
> >
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
> > a:684)
> >  at java.lang.Thread.run(Unknown Source)
> >
> >
> > ----- Original Message -----
> > From: "robert lazarski" <[EMAIL PROTECTED]>
> > To: <[email protected]>
> > Sent: Tuesday, September 19, 2006 4:32 PM
> > Subject: Re: Fw: help
> >
> >
> > 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]
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>


----------------------------------------------------------------------------
----


No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.5/451 - Release Date: 19/9/2006


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to