Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

WSDL Call from JAVA issue

 
m gupt
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!