title: Connecting to webservice results in com.sun.xml.internal.ws.client.ClientTransportException: The server sent HTTP status code 200: OK
body: <p>I made a wsdl using sun-jaxws. I created a web service client in Netbeans, and successfully called the wsdl web service. Then I configured my nginx server to access the web service by https. When I call the service over https I get the following error: <code>com.sun.xml.internal.ws.client.ClientTransportException: The server sent HTTP status code 200: OK</code></p>
  <p>My wsdl is available by address <code>https://somesite.com/mywsdl/?wsdl</code>. Inside the wsdl I see such service location:</p>
  <pre class="lang-xml prettyprint-override"><code>&lt;service name=&quot;GenericService&quot;&gt;
      &lt;port name=&quot;GenericServicePort&quot; binding=&quot;tns:GenericServicePortBinding&quot;&gt;
           &lt;soap:address location=&quot;https://somesite.com:443/mywsdl&quot;/&gt;
      &lt;/port&gt;
  &lt;/service&gt;
  </code></pre>
  <p>I don't know whether the problem is in my nginx configuration, or in my jaxws.</p>