title: Default portname value in SOAP Web Service
body: <p>Could someone clarify what is the default <code>portname</code> value in the <code>WSDl</code> file when deploying a <code>SOAP Web Service</code>? I have read the specs <code>JSR-181</code> and they state (page 14) that it is <code>@WebService.name +”Port”</code>. However I have deployed in <code>Glassfish</code> the following Web Service:</p>
  
  <pre><code>@WebService(name="interfaceName")
  public interface SampleWSInterface 
  {
  
      public int add(int a, int b);
  
      public int multipy(int a, int b);
  
  }
  
  @WebService(endpointInterface="com.xyz.webservicetest.SampleWSInterface")
  public class SampleWS
  {
  
      public int add(int a, int b){
          return a + b;
      }
  
      public int multipy(int a, int b){
          return a * b;
      }
  
  }
  </code></pre>
  
  <p>and the WSDL file looks:</p>
  
  <pre><code> &lt;service name="SampleWSService"&gt;
      &lt;port name="SampleWSPort" binding="tns:SampleWSPortBinding"&gt;
        &lt;soap:address location="REPLACE_WITH_ACTUAL_URL"/&gt;
      &lt;/port&gt;
    &lt;/service&gt;
  </code></pre>
  
  <p>Am I right, that it gets the name only when defined on the <code>SIB</code> (when not refering to a <code>SEI</code>) and othewise it is <code>SIB + Port</code>?</p>