This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Web Services and the fly likes WSDL Call from JAVA issue Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "WSDL Call from JAVA issue" Watch "WSDL Call from JAVA issue" New topic
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WSDL Call from JAVA issue
 
Similar Threads
web service java client exception
how do I set the port when using servicegen to create a wsdl file
how do I change the default port 7001 when using WEBLOGIC servicegen to create a wsdl
Which one first
Webservice client code generation using axis2 and eclipse galilio