title: javax.xml.ws.WebServiceException: is not a valid port
body: <p>I'm tring to made a dinamic WS call using jax-ws.</p>
  
  <p>But I can't create the dispatcher, the code is:</p>
  
  <pre><code>String namespace= "http://wsf.cdyne.com/WeatherWS/Weather.asmx";
  try {
      QName serviceName = new QName(namespace, "GetCityForecastByZIP");
      Service s = Service.create(serviceName);
      QName portName = new QName(namespace, "WeatherSoap12");
      Dispatch&lt;DOMSource&gt; dispatch = s.createDispatch(portName,
                                                    DOMSource.class,
                                                    Service.Mode.PAYLOAD);
  ...
  </code></pre>
  
  <p>The error is
  javax.xml.ws.WebServiceException: {http://wsf.cdyne.com/WeatherWS/Weather.asmx}WeatherSoap12 is not a valid port. Valid ports are: </p>
  
  <p>I have ckect the WSDL at <a href="http://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDL" rel="nofollow">http://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDL</a> and I can't identify the reason of the error.</p>
  
  <p>Any help?</p>