Hej Karthik,

 

you first need to configure your log4j properly. Then it should work.

 

Greetings.

 

Von: Karthik Nanjangude [mailto:[email protected]] 
Gesendet: Donnerstag, 17. Dezember 2009 14:40
An: [email protected]
Betreff: Have Questions on POJO

 

Hi

 

Sorry new to AXIS  new guy L

 

Have Questions

 

SPEC : AXIS215

JDK 1.5

TOMCAT 6.0.20

O/s Windows 2000

 

Server / Client : Same System 

 

 

1)     Deployed the Pojo example "sample.pojo.data.Weather,
sample.pojo.data.WeatherService  with Service .xml

And for the URL
"http://10.10.21.170:8080/AXIS214/services/WeatherService?wsdl  able to get
the XML detail  on the browser

 

 

>> <wsdl:binding name="WeatherServiceHttpBinding"
type="ns:WeatherServicePortType">

>> <http:binding verb="POST"/>

>> <wsdl:operation name="setWeather">

>> <http:operation location="WeatherService/setWeather"/>

>> <wsdl:input>

>> <mime:content type="text/xml" part="setWeather"/>

>> </wsdl:input>

>> </wsdl:operation>

>> <wsdl:operation name="getWeather">

>> <http:operation location="WeatherService/getWeather"/>

>> <wsdl:input>

>> <mime:content type="text/xml" part="getWeather"/>

>> </wsdl:input>

>> <wsdl:output>

>> <mime:content type="text/xml" part="getWeather"/>

>> </wsdl:output>

>> </wsdl:operation>

 

 

 

2)     When  I run the "sample.pojo.data.WeatherRPCClient"  with end Point
declared as per the example on Axis web site

 

       EndpointReference targetEPR = new
EndpointReference("http://10.10.21.170:8080/AXIS214/services/WeatherService";
);

 

 

I get this error ?

 

>>log4j:WARN No appenders could be found for logger
(org.apache.axis2.util.Loader).

>>log4j:WARN Please initialize the log4j system properly.

>>Weather didn't initialize!

 

As per the code did some thing go wrong

 

 

 

With regards

Karthik

 

 

Reply via email to