# JMS_XMLProtocol.jws Sample

This topic inludes the source code for the JMS_XMLProtocol.jws Sample.

## Sample Location

This sample is located in the following directory in your WebLogic Workshop installation:

BEA_HOME/weblogic81/samples/workshop/SamplesApp/WebServices/jms_xmlProtocol/

## Sample Source Code

`01 package jms_xmlProtocol; 02 03 /** 04 * @jws:protocol jms-xml="true" http-soap="false" form-get="false" form-post="false" 05 */ 06 public class JMS_XMLProtocol implements com.bea.jws.WebService 07 { 08 static final long serialVersionUID = 1L; 09 10 /** 11 * @common:operation 12 * @jws:protocol jms-xml="true" http-xml="false" http-soap="false" form-get="false" form-post="false" 13 */ 14 public void hello(String msg) throws Exception 15 { 16 System.out.println( "Hello, " + msg); 17 } 18 }`