• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error deploying JAX-WS Service

 
Mahtab Alam
Ranch Hand
Posts: 391
1
Java MySQL Database PHP
  • Mark post as helpful
  • send pies
  • 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
 
Ashutosh Joshi
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Are you using SEI? If yes, how are you planning to create a client to test it?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic