title: Determining endpoint from a WSDL file
body: <p>I'm new to web services and have been tasked with trying to write some packages in PL/SQL that make requests to an external web service to allow customers to view their current support tickets and the status of where we are at in terms of supporting the ticket. I have been given the WSDL location for the service I am trying to use and I have used SOAPUI to inspect the WSDL to form some requests. However, when I try and run a login request it always fails (I think because the endpoint defined in SOAP UI in incorrect. </p>
  
  <p>Here is the WSDL file I am trying to use:
  <a href="http://www.visionproject.se/api/docs/service.wsdl">http://www.visionproject.se/api/docs/service.wsdl</a></p>
  
  <p>And the API for the service:
  <a href="http://www.visionproject.se/api/docs/soap_service_VisionProjectWebServiceService.html#login2">http://www.visionproject.se/api/docs/soap_service_VisionProjectWebServiceService.html#login2</a></p>
  
  <p>And here is the request I am trying to form (shown below). Can anyone point me in the right direction as to why this is failing? I believe it may be to do with the endpoint at the top but I'm not sure.</p>
  
  <p>As I said, I'm new to web services and indeed PL/SQL (I'm from a PHP background and have never done this stuff before) so I apologise if I haven't included enough information.</p>
  
  <p><img src="https://i.stack.imgur.com/5XelJ.png" alt="WSDL Usage"></p>
  
  <pre><code>&lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"     xmlns:vis="http://www.visionproject.se/service/VisionProjectService-v2"&gt;
     &lt;soapenv:Header/&gt;
     &lt;soapenv:Body&gt;
        &lt;vis:login2&gt;
           &lt;!--Optional:--&gt;
           &lt;username&gt;?&lt;/username&gt;
           &lt;!--Optional:--&gt;
           &lt;password&gt;?&lt;/password&gt;
           &lt;!--Optional:--&gt;
           &lt;visionProjectVersion&gt;?&lt;/visionProjectVersion&gt;
        &lt;/vis:login2&gt;
     &lt;/soapenv:Body&gt;
  &lt;/soapenv:Envelope&gt;
  </code></pre>