I am trying to call WSDL from JAVA. But getting an NullPointerException while calling a method runQueryAsAService through JAVA.
This is because QaaWSHeader(sessionID,serializedSession) is not set.
how to set a QaaWSHeader(which is not a method) through JAVA?
Joined: Sep 19, 2008
I feel that the class QaaWSHeader is specific to your application. Evrything that is specified as required parameter in the WSDL should be set before sending the request object. If you generate stubs from WSDL, all the parameters are null by default. Try to search for this class in request object and set the aforementioned fields.