This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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%
 
Consider Paul's rocket mass heater.
 
subject: WebServices NullPointerException when Client tried to get SOAP
 
Similar Threads
how to write java web service client
adding arbitary xml to soap headers using SAAJ
How to include Authrozitaion information in a WSDL file
Session maintenance with j2ee generated stub
unable to run the Axis client