Davis' Weblog

       
 

Writing a Simple XSLT Transformation Rule File


XSLT transformation rule can be applied to a Web Service endpoint. The transformation rule will enable fine-grained control of web service requests and responses. To config, please use the following document http://docs.sun.com/app/docs/doc/819-3658/6n5s5nko6?a=view

For a simple web service application, down load the template files below. Replace the bold text in the template files with your appropriate web service method name and its result data. For example, if your web service application has a method named myMethod and the method returns a string "Hello World" then just replace sayHello by myMethod and the return string "This is ...TEST" by "Hello World"

For JAX-WS application, replace http://service/ with your targetNamespace value. For JAX-RPC, replace http://hello.org/wsdl/HelloWorld by wsdl-port xmlns:wsdl-port_ns_ value from webservices.xml file

Template Files


Posted by davisn @ 03:29 PM PDT [ Comments [1] ]
 
 
 
 
Trackback URL: http://blogs.sun.com/davisn/entry/writing_a_simple_xslt_transformation
Comments:

Thanks for the info. I'll download the template and try it myself.

Posted by B. Tran on June 02, 2006 at 02:32 PM PDT #

Post a Comment:

Name:
E-Mail:
URL:

Your Comment:

HTML Syntax: NOT allowed
 
« November 2009
SunMonTueWedThuFriSat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
     
       
Today

[RSS Newsfeed]

Valid XHTML or CSS?

[This is a Roller site]
Theme by Rowell Sotto.
 
© Davis' Weblog