File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes NullPointerException while sending SOAP Message Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "NullPointerException while sending SOAP Message" Watch "NullPointerException while sending SOAP Message" New topic

NullPointerException while sending SOAP Message

Vineet Kanwal

Joined: Jan 24, 2008
Posts: 1

Following is the code:
endpoint = new URL("http://loleqdveda02:11110/VLT/VaultProductService");

SOAPMessage response =, endpoint);

the URL is correct for the webservice and the same code is working on other server but failing with following exception onmy local weblogic server:

at;Ljava/lang/String V(
at weblogic.webservice.binding.http11.Http11ClientBinding.send(Ljavax/xml/rpc/handler/MessageContext V(
at;Ljava/lang/Object Ljavax/xml/soap/SOAPMessage;(

I am not able to figure out the reason for the same. Please help.

I agree. Here's the link:
subject: NullPointerException while sending SOAP Message
It's not a secret anymore!