• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

org.kxml.io.ParseException

 
Deepan Devadasan
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I am trying to consume a webservice exposed by a ColdFusion developer

this is the wsdl
http://www.forta.com/cf/tips/syndicate.cfc?wsdl

The code i am using is this


And when the webservice is called i get the following exception (in Netbeans)



org.kxml.io.ParseException: unexpected: StartTag <h1> line: -1 attr: null @-1:-1
at org.kxml.parser.AbstractXmlParser.read(+53)
at org.ksoap.SoapEnvelope.parseHead(+19)
at org.ksoap.SoapEnvelope.parse(+5)
at org.ksoap.transport.HttpTransport.call(+372)
at org.ksoap.transport.HttpTransport.call(+12)
at org.ironone.WSLogin.run(WSLogin.java:37)

I hope some of you have already encountered something like this before...

Can someone share your thoughts with be as well

Thanks in advance
 
Deepan Devadasan
Ranch Hand
Posts: 226
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i was able to solve it by running the Emulator under trusted domain...

in fact the HTTP response code was HTTP/400 which created the Parse Exception...

I have another problem now with reading complex types in the web service, which is posted here http://www.coderanch.com/t/230403/JME/Mobile/queryBean-kSOAP
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic