Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Webservices pieces?

 
RoshaniG Gopal
Ranch Hand
Posts: 180
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
 
David Brossard
Ranch Hand
Posts: 109
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).
 
RoshaniG Gopal
Ranch Hand
Posts: 180
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic