• 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

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?
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic