wood burning stoves 2.0*
The moose likes Web Services and the fly likes WebServices NullPointerException when Client tried to get SOAP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "WebServices NullPointerException when Client tried to get SOAP" Watch "WebServices NullPointerException when Client tried to get SOAP" New topic
Author

WebServices NullPointerException when Client tried to get SOAP

Sam Sunamin
Ranch Hand

Joined: Mar 16, 2007
Posts: 113
Hi Web Services Guru,

We have web services server deployed on windows 2003, Application server is IIS 6.0 using .net.

Now we need web services client to consume this web services using Java running on WebSphere 6.1 on AIX box.

Now the client get exception when it tries to get SOAP message.

Inside setHeader(), exception through out from here.
javax.xml.rpc.Stub stub= (javax.xml.rpc.Stub) proxy.getProspectWSSoap();

which is from
__prospectWSSoap = ((com.Scotiabank.ProspectWS)ctx.lookup("java:comp/env/service/ProspectWS")).getProspectWSSoap();

I am not sure what else I need to config to make it work?







Yours Sam<br />SCJP5.0 97%<br />SCBCD5.0 72%
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: WebServices NullPointerException when Client tried to get SOAP
 
Similar Threads
adding arbitary xml to soap headers using SAAJ
how to write java web service client
How to include Authrozitaion information in a WSDL file
Session maintenance with j2ee generated stub
unable to run the Axis client