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
Posted by B. Tran on June 02, 2006 at 02:32 PM PDT #