Help coderanch get a
new server
by contributing to the fundraiser
  • 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 deploying JAX-WS Service

 
Ranch Hand
Posts: 391
1
MySQL Database PHP Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why below service gives error while deployment, I am using endpoint publisher to deploy it. I understand that method overloading will not work for web service , so I have to provide a different name for each web service operation, which I have done below. But why its still not working



I get below error


Exception in thread "main" javax.xml.ws.WebServiceException: class boot.jaxws.Ge
tWeather do not have a property of the name arg0
at com.sun.xml.internal.ws.server.sei.EndpointArgumentsBuilder$DocLit.<i
nit>(Unknown Source)
at com.sun.xml.internal.ws.server.sei.TieHandler.createArgumentsBuilder(
Unknown Source)
at com.sun.xml.internal.ws.server.sei.TieHandler.<init>(Unknown Source)
at com.sun.xml.internal.ws.db.DatabindingImpl.<init>(Unknown Source)
at com.sun.xml.internal.ws.db.DatabindingProviderImpl.create(Unknown Sou
rce)
at com.sun.xml.internal.ws.db.DatabindingProviderImpl.create(Unknown Sou
rce)
at com.sun.xml.internal.ws.db.DatabindingFactoryImpl.createRuntime(Unkno
wn Source)
at com.sun.xml.internal.ws.server.EndpointFactory.createSEIModel(Unknown
Source)
at com.sun.xml.internal.ws.server.EndpointFactory.create(Unknown Source)

at com.sun.xml.internal.ws.server.EndpointFactory.createEndpoint(Unknown
Source)
at com.sun.xml.internal.ws.api.server.WSEndpoint.create(Unknown Source)
at com.sun.xml.internal.ws.api.server.WSEndpoint.create(Unknown Source)
at com.sun.xml.internal.ws.transport.http.server.EndpointImpl.createEndp
oint(Unknown Source)
at com.sun.xml.internal.ws.transport.http.server.EndpointImpl.publish(Un
known Source)
at com.sun.xml.internal.ws.spi.ProviderImpl.createAndPublishEndpoint(Unk
nown Source)
at javax.xml.ws.Endpoint.publish(Unknown Source)
at boot.Publisher.main(Publisher.java:8)
Caused by: javax.xml.bind.JAXBException: arg0 is not a valid property on class b
oot.jaxws.GetWeather
at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.getElementProper
tyAccessor(Unknown Source)
at com.sun.xml.internal.ws.db.glassfish.JAXBRIContextWrapper.getElementP
ropertyAccessor(Unknown Source)
... 17 more

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

Are you using SEI? If yes, how are you planning to create a client to test it?
 
Seriously Rick? Seriously? You might as well just read this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic