• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

NullPointerException while sending SOAP Message

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,

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

SOAPMessage response = connection.call(message, 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:

java.lang.NullPointerException
at weblogic.net.http.HttpURLConnection.setRequestProperty(Ljava/lang/String;Ljava/lang/String V(HttpURLConnection.java:639)
at weblogic.webservice.binding.http11.Http11ClientBinding.send(Ljavax/xml/rpc/handler/MessageContext V(Http11ClientBinding.java:392)
at weblogic.webservice.core.soap.SOAPConnectionImpl.call(Ljavax/xml/soap/SOAPMessage;Ljava/lang/Object Ljavax/xml/soap/SOAPMessage;(SOAPConnectionImpl.java:57)


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

Thanks.
 
Who among you feels worthy enough to be my best friend? Test 1 is to read this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic