aspose file tools*
The moose likes Web Services and the fly likes xml configure restful ws Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "xml configure restful ws" Watch "xml configure restful ws" New topic
Author

xml configure restful ws

zb cong
Ranch Hand

Joined: Jan 14, 2002
Posts: 416
i am brand-new restful ws user, i find all tutorials are about anotation configuration of restful ws, i wonder if the specification define a xml configuration file? because in the product evironment , the xml configuration is prefered. thanks.
William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 859

I believe Apache cxf allows you do define services in xml only.

WP
zb cong
Ranch Hand

Joined: Jan 14, 2002
Posts: 416
does that mean the xml configuration of restful ws is NOT included in jsr specification?
William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 859

Each provider will have their own "specs" regarding XML. services.xml, cxf.xml etc.

JSRs only control (mostly) the API including annotations. Check the J2EE5/6 documentation.

WP
zb cong
Ranch Hand

Joined: Jan 14, 2002
Posts: 416
but to the ejb specification, the jsr group defined a standard xml configuratin format :-)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: xml configure restful ws