title: com.sun.xml.internal.ws.developer.JAXWSProperties not found at compile
body: <p>We used the class <code>JAXWSProperties</code> from the <code>com.sun.*</code> package in the code in order to set timeout properties like this:</p>
  
  <pre><code>import com.sun.xml.internal.ws.developer.JAXWSProperties;
  ...
  Map&lt;String, Object&gt; ctxt = ((BindingProvider) port).getRequestContext();
  ctxt.put(JAXWSProperties.CONNECT_TIMEOUT, 10000);
  </code></pre>
  
  <p>It compiles fine in the local Eclipse, but not on a continuous integration system (both using JDK 1.6). From researching this problem, I learned that the <code>com.sun.*</code> package should be avoided.</p>
  
  <p>So my questions are:</p>
  
  <ul>
  <li>What causes the failed import at compile time?</li>
  <li>What should be used instead of <code>JAXWSProperties</code>?</li>
  </ul>