• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

difference between webservices.xml and sunjaxws.xml

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am learning to create SOAP web service in a servlet container. But I see these two types of xml files used in the web projects.

So can any one throw some light on the difference between webservice.xml and sunjaxws.xml.

And when we have everthing defined in our WSDL then why do we need to define port n all again in these xml files.
 
Ranch Foreman
Posts: 1898
12
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
webservice.xml is used to override annotations in the web service. It is optional.
sunjaxws.xml is vendor (application server) specific if you want to configure something that is specific to Glassfish, JBoss and etc .
 
What is that? Is that a mongol hoarde? Can we fend them off with this tiny ad?
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic