| Author |
WSDL Call from JAVA issue
|
m gupt
Greenhorn
Joined: Jul 15, 2009
Posts: 2
|
|
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?
Any help???
|
 |
Ranjeeth Chandra
Greenhorn
Joined: Sep 19, 2008
Posts: 7
|
|
Hi,
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.
|
Thanks,
Ranji
|
 |
 |
|
|
subject: WSDL Call from JAVA issue
|
|
|