You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Karthik Nanjangude <ka...@xius-bcgi.com> on 2009/12/09 15:54:49 UTC

Exception "Pojoguide" example

Hi

Tried the "Pojoguide" example

On  Browser  http://10.10.21.170:8080/AXIS14/services/WeatherService?wsdl

Is displaying the  XML

But  on running the  sample.pojo.rpcclient. WeatherRPCClient

I get this exception


log4j:WARN No appenders could be found for logger (org.apache.axis2.util.Loader).
log4j:WARN Please initialize the log4j system properly.
Exception in thread "main" org.apache.axis2.AxisFault: sample.pojo.service.WeatherService
      at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:435)
      at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:371)
      at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:417)
      at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
      at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
      at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:540)
      at org.apache.axis2.client.ServiceClient.sendReceive(ServiceClient.java:521)
      at org.apache.axis2.rpc.client.RPCServiceClient.invokeBlocking(RPCServiceClient.java:102)
      at sample.pojo.rpcclient.WeatherRPCClient.main(WeatherRPCClient.java:60)


Why ???


With regards
Karthik



Re: Exception "Pojoguide" example

Posted by Rafael Barrera Oro <bo...@gmail.com>.
What does the Axis2.log file say?

2009/12/9 Karthik Nanjangude <ka...@xius-bcgi.com>

>  Hi
>
>
>
> Tried the “Pojoguide” example
>
>
>
> On  Browser  http://10.10.21.170:8080/AXIS14/services/WeatherService?wsdl
>
>
>
> Is displaying the  XML
>
>
>
> But  on running the  sample.pojo.rpcclient. WeatherRPCClient
>
>
>
> I get this exception
>
>
>
>
>
> log4j:WARN No appenders could be found for logger
> (org.apache.axis2.util.Loader).
>
> log4j:WARN Please initialize the log4j system properly.
>
> Exception in thread "main" org.apache.axis2.AxisFault:
> sample.pojo.service.WeatherService
>
>       at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(*
> Utils.java:435*)
>
>       at
> org.apache.axis2.description.OutInAxisOperationClient.handleResponse(*
> OutInAxisOperation.java:371*)
>
>       at org.apache.axis2.description.OutInAxisOperationClient.send(*
> OutInAxisOperation.java:417*)
>
>       at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(
> *OutInAxisOperation.java:229*)
>
>       at org.apache.axis2.client.OperationClient.execute(*
> OperationClient.java:165*)
>
>       at org.apache.axis2.client.ServiceClient.sendReceive(*
> ServiceClient.java:540*)
>
>       at org.apache.axis2.client.ServiceClient.sendReceive(*
> ServiceClient.java:521*)
>
>       at org.apache.axis2.rpc.client.RPCServiceClient.invokeBlocking(*
> RPCServiceClient.java:102*)
>
>       at sample.pojo.rpcclient.WeatherRPCClient.main(*
> WeatherRPCClient.java:60*)
>
>
>
>
>
> Why ???
>
>
>
>
>
> With regards
>
> Karthik
>
>
>
>
>