web.xml:
<display-name>repositorio_mecon2</display-name>
<servlet>
<servlet-name>XFireServlet</servlet-name>
<servlet-class>
org.codehaus.xfire.transport.http.XFireConfigurableServlet
</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>XFireServlet</servlet-name>
<url-pattern>/servlet/XFireServlet/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>XFireServlet</servlet-name>
<url-pattern>/services/*</url-pattern>
</servlet-mapping>
that´s ALL the content
i´m using SoapUI to invoke the service, here's one request message:
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:inf="2informat.mecon.ar">
<soapenv:Body>
<inf:getOrganismo>
<inf:codigo>unCodigo</inf:codigo>
</inf:getOrganismo>
</soapenv:Body>
</soapenv:Envelope>
and the implementation for this method:
public Organismo getOrganismo(String codigo) {
Organismo org= new Organismo();
org.setCodigo(codigo);
org.setDescripcion("This is it");
return org;
}
thanks again
On 10/19/06, Chris Thatcher <[EMAIL PROTECTED]> wrote:
Can you paste the relevent content of your web.xml and and the java code you
use to create the client and call the service?
Thanks
Thatcher
-----Original Message-----
From: Celeste Gunski [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 19, 2006 10:28 AM
To: [email protected]
Subject: Re: [xfire-user] Re: nullPointerException
i'm using eclipse plugin+xfire1.2.2+maven2 , i have my service running on
Tomcat5.5 and both the server and the client are using document/literal if
you need some more information please let me know
thanks
On 10/19/06, Chris Thatcher <[EMAIL PROTECTED]> wrote:
> Celeste, can you give me some more info about how you are configuring
> and starting your services?
>
> Thatcher
>
> -----Original Message-----
> From: Celeste Gunski [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 19, 2006 7:49 AM
> To: [email protected]
> Subject: [xfire-user] Re: nullPointerException
>
>
> Hi! please can anyone help me with this?, i don´t know what else to
> do, i already have xfire 1.2.2 and can´t make my service work
>
> thank you
>
> On 10/18/06, Celeste Gunski <[EMAIL PROTECTED]> wrote:
> > Hello!
> > When i try to invoke any method of my service i get this fault:
> >
> > 18/10/2006 10:46:22 org.codehaus.xfire.handler.DefaultFaultHandler
> > invoke
> > GRAVE: Fault occurred!
> > java.lang.NullPointerException
> > at
> org.codehaus.xfire.soap.handler.SoapBodyHandler.invoke(SoapBodyHandler
> .java:4
> 2)
> > at
> org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java
> :131)
> > at
> org.codehaus.xfire.transport.DefaultEndpoint.onReceive(DefaultEndpoint
> .java:6
> 4)
> > at
> org.codehaus.xfire.transport.AbstractChannel.receive(AbstractChannel.j
> ava:38)
> > at
> org.codehaus.xfire.transport.http.XFireServletController.invoke(XFireS
> ervletC
> ontroller.java:279)
> > at
> org.codehaus.xfire.transport.http.XFireServletController.doService(XFi
> reServl
> etController.java:121)
> > at
> org.codehaus.xfire.transport.http.XFireServlet.doPost(XFireServlet.jav
> a:116)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appli
> cationF
> ilterChain.java:252)
> > at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFi
> lterCha
> in.java:173)
> > at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperVa
> lve.jav
> a:213)
> > at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextVa
> lve.jav
> a:178)
> > at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.ja
> va:126)
> > at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.ja
> va:105)
> > at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValv
> e.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.pr
> ocessCo
> nnection(Http11BaseProtocol.java:664)
> > at
> org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoi
> nt.java
> :527)
> > at
> org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFoll
> owerWor
> kerThread.java:80)
> > at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPo
> ol.java
> :684)
> > at java.lang.Thread.run(Unknown Source)
> >
> > i've been reading previous messages of users who had the same
> > problem, and the responses says that on 1.2.2 release the bug was
> > fixed, so i upgrade xfire to 1.2.2 but still get the same error what
> > was the bug in the first place? and what can i do to solve this?
> >
> > Thanks!
> >
> > --
> > Celeste
> >
>
>
> --
> Celeste
>
> (\__/)
> (='.'=)This is Bunny. Copy and paste bunny into your (")_(")signature
> to help him gain world domination.
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
> http://xircles.codehaus.org/manage_email
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
> http://xircles.codehaus.org/manage_email
>
>
--
Celeste
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email
--
Celeste
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email