title: can jax-ws web methods return objects that have static methods?
body: <pre><code>public class Pojo {
     private String value;
  
     public static void printValue() {
        System.out.println("value=" + value);
     }
  }
  </code></pre>
  
  <p>I would want to return this from a web service as follows:</p>
  
  <pre><code>@WebService
  public class MyService {
     @WebMethod
     public Pojo getPojo() {
        return new Pojo();
     }
  }
  </code></pre>
  
  <p>Can't seem to find the definitive answer on whether I can, should, can't, or shouldn't.</p>