Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Couldn't create SOAP message due to exception: XML reader error: com.ctc.wstx.exc.WstxEOFException:  RSS feed

 
sreenu valireddi
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

i am using following url.

http://chnl:8181/SSAServices/SSa_Service?wsdl

when i open the above url in browser, wsdl going fine.

But when i test it as follows

http://chnl:8181/SSAServices/SSa_Service?tester

giving error like



<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<S:Fault xmlns:ns4="http://www.w3.org/2003/05/soap-envelope">
<faultcode>S:Client</faultcode>
<faultstring>
Couldn't create SOAP message due to exception: XML reader error: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog
at [row,col {unknown-source}]: [1,0]
</faultstring>
</S:Fault>
</S:Body>
</S:Envelope>


Please help me .


Thanks in advance.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, I have no idea what this:



was supposed to do, but the web service was looking for a SOAP message in the body of your request. It looks like it only got an empty body, hence the EOF.

Bill
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!