Hi All, 

I am using a standard wsdl file to generate a client and a service. 

To build the client ... 

%AXIS2_HOME%/bin/WSDL2Java -uri 
http://10.23.231.110:8080/axis2/services/PADReceiveService?wsdl -p 
com.directv.ams -d xmlbeans -s -o build/client


To build the service ... 

%AXIS2_HOME%/bin/WSDL2Java -uri 
http://10.23.231.110:8080/axis2/services/PADReceiveService?wsdl -p 
com.directv.ams -d xmlbeans -s -ss -sd -ssi -o build/service


But i am getting a null pointer exception in Axis2Servlet. Any Help ? 

<?xml version="1.0" encoding="UTF-8"?>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>

<soapenv:Body>

<soapenv:Fault>

<faultcode>soapenv:Client</faultcode>

<faultstring>java.lang.NullPointerException</faultstring>

<detail/>

</soapenv:Fault>

</soapenv:Body>

</soapenv:Envelope>

The published method gets invoked without any exception but there is a null 
pointer exception in Axis2Servlet doPost Method. 



Thanks,
Santosh



Reply via email to