• 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

Error in accessing a web service

 
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I am trying to access a SOAP web service.I am getting this error -

java.lang.NullPointerException
at com.sun.xml.internal.ws.model.wsdl.WSDLBoundOperationImpl.getReqPaylo
adName(WSDLBoundOperationImpl.java:330)
at com.sun.xml.internal.ws.model.wsdl.WSDLBoundPortTypeImpl.freezePayloa
dMap(WSDLBoundPortTypeImpl.java:224)
at com.sun.xml.internal.ws.model.wsdl.WSDLBoundPortTypeImpl.freeze(WSDLB
oundPortTypeImpl.java:210)
at com.sun.xml.internal.ws.model.wsdl.WSDLModelImpl.freeze(WSDLModelImpl
.java:230)
at com.sun.xml.internal.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWS
DLParser.java:136)
at com.sun.xml.internal.ws.client.WSServiceDelegate.parseWSDL(WSServiceD
elegate.java:254)
at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDele
gate.java:217)
at com.sun.xml.internal.ws.client.WSServiceDelegate.<init>(WSServiceDele
gate.java:165)
at com.sun.xml.internal.ws.spi.ProviderImpl.createServiceDelegate(Provid
erImpl.java:93)
at javax.xml.ws.Service.<init>(Service.java:56)
at chinaweb.client.WcmServiceService.<init>(WcmServiceService.java:46)
at paws.WCMPublisher.initService(Unknown Source)
at paws.TSPPublisher.WCMPublisher.<init>(Unknown Source)
at paws.TSPPublisher.WCMPublisherThread.<init>(Unknown Source)
at paws.TSPPublisher.Initializer.main(Unknown Source)

WcmServiceService is the main web service class.At the time of initializing this class,I get this error in logs.
Any idea how to resolve this?

Thanks
-Jitesh
 
Jitesh Sinha
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can anybody please tell me possible root cause of this error?
 
Ranch Hand
Posts: 1514
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Something is missing/null. You may have to step through the code if possible to see what the issue is.
 
Jitesh Sinha
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well,it is a web service written by someone else that we use.
Looking at the stack trace it seems WSDLBoundOperationImpl.getReqPayloadName is expecting something that is not there.I need to know what it is.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic