title: com.sun.xml.ws.streaming.XMLStreamReaderException: XML reader error: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
body: <p>I generated a jax-ws web service client using wsimport from a local wsdl file. Whenever i try to invoke the service i get an error : com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
  Here is the error stack;</p>
  
  <pre><code>Exception in thread "main" com.sun.xml.ws.streaming.XMLStreamReaderException: XML reader error: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
  </code></pre>
  
  <p>at [row,col,system-id]: [1,0,"<a href="http://dataimpact.co.ke/SmsNotificationManagerService/services/SmsNotificationManager" rel="nofollow">http://dataimpact.co.ke/SmsNotificationManagerService/services/SmsNotificationManager</a>"]
      at com.sun.xml.ws.streaming.XMLStreamReaderUtil.wrapException(XMLStreamReaderUtil.java:271)
      at com.sun.xml.ws.streaming.XMLStreamReaderUtil.next(XMLStreamReaderUtil.java:99)
      at com.sun.xml.ws.streaming.XMLStreamReaderUtil.nextContent(XMLStreamReaderUtil.java:114)
      at com.sun.xml.ws.streaming.XMLStreamReaderUtil.nextElementContent(XMLStreamReaderUtil.java:104)
      at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.hasWSDLDefinitions(RuntimeWSDLParser.java:246)
      at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:156)
      at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:135)
      at com.sun.xml.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:275)
      at com.sun.xml.ws.client.WSServiceDelegate.(WSServiceDelegate.java:238)
      at com.sun.xml.ws.client.WSServiceDelegate.(WSServiceDelegate.java:186)
      at com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:111)
      at javax.xml.ws.Service.(Unknown Source)
      at org.csapi.wsdl.parlayx.sms.notification_manager.v2_3.service.SmsNotificationManagerService.(SmsNotificationManagerService.java:42)
      at com.test.Test.main(Test.java:51)
  Caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
   at [row,col,system-id]: [1,0,"<a href="http://dataimpact.co.ke/SmsNotificationManagerService/services/SmsNotificationManager" rel="nofollow">http://dataimpact.co.ke/SmsNotificationManagerService/services/SmsNotificationManager</a>"]
      at com.ctc.wstx.sr.StreamScanner.throwUnexpectedEOF(StreamScanner.java:661)
      at com.ctc.wstx.sr.BasicStreamReader.handleEOF(BasicStreamReader.java:2134)
      at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2040)
      at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1069)
      at com.sun.xml.ws.util.xml.XMLStreamReaderFilter.next(XMLStreamReaderFilter.java:96)
      at com.sun.xml.ws.streaming.XMLStreamReaderUtil.next(XMLStreamReaderUtil.java:80)
      ... 12 more</p>
  
  <p>There's something i am missing and i cant figure out what it is. Any help will be high appreciated.</p>