File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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%
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: WebServices NullPointerException when Client tried to get SOAP