# Person.java Sample

This topic inludes the source code for the Person.java Sample.

## Sample Location

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

BEA_HOME/weblogic81/samples/workshop/SamplesApp/WebServices/xqueryMap/

## Sample Source Code

`01 package xqueryMap; 02 03 /** 04 * Represents information about a person as needed by the 05 * OutputScriptMap.jws sample web service. This class is 06 * used as the web service operation's return type, but 07 * its contents are reshaped to a specific XML shape by 08 * PersonScript.jsx. 09 */ 10 public class Person implements java.io.Serializable 11 { 12 public String fname; 13 public String lname; 14 public Person () 15 { 16 // fname = "Unknown"; 17 // lname = "User"; 18 } 19 public Person (String first, String last) 20 { 21 fname = first; 22 lname = last; 23 } 24 }`