jQuery in Action, 3rd edition
The moose likes Web Services and the fly likes Webservices pieces? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Webservices pieces?" Watch "Webservices pieces?" New topic

Webservices pieces?

RoshaniG Gopal
Ranch Hand

Joined: May 15, 2006
Posts: 180
Hi all,
I'm new to webservices and SOAP,etc. All I have a XML Schema(XSD) and a Webservice and JAXB set up on my system. My role is do so something with the XSL or XSLT(I dont know). But i cant seem to join the pieces together. I have many tutorials but they all talk about SOAP, UDDI, which again I am new to.
Can anybody be kind enought to give me a high level understnding of the whole thing and the role of XSL/XSD/XSLT in it.
Thanks in advance,

Regards,<br />Roshani
David Brossard
Ranch Hand

Joined: Jun 03, 2004
Posts: 109
XSD is an XML schema. A schema defines what an XML document should be like, how it should be structured. For instance if you wanted to define an xml-based language describing planes you would enforce language rules stating for instance that a plane has 2 wings only but can have 1 to 4 motors...

More info here: http://www.w3schools.com/schema/default.asp

XSL: Extensible Stylesheet Language (XSL) - defines the presentation of an XML document and used to translate XML documents into other formats (like XHTML).

XSLT: Extensible stylesheet language transformation (XSLT) is a language for transforming XML documents into other XML documents. XSLT is designed for use as part of XSL, which is a stylesheet language for XML.

XSLT is used to transform one XML bit to another. For instance, if you receive a plane description in your system but want to make it readable by the mechanics (hence stripping out any reference to electrics) you would transform with rules...

The most simple use of XSL / XSLT is the presentation of XML into HTML for pretty printing or web purposes.

As for web services, well XSLT can be used at an intermediary point to transform SOAP messages from a given form to another (whether SOAP or not).

No matter what they say in Ohio, we're still first in flight!
RoshaniG Gopal
Ranch Hand

Joined: May 15, 2006
Posts: 180
Hi David,
Thanks for your time and answer. But i had already covered the topics. I couldnt figure out where the XSLT fit into the WS. Thanks i am now clear about the pciture.
[ November 07, 2006: Message edited by: RoshaniG Gopal ]
I agree. Here's the link: http://aspose.com/file-tools
subject: Webservices pieces?
It's not a secret anymore!