WebServices error - InvokeMethod failed: org.xml.sax.SAXParseException: Premature end of file.

by Community Manager on ‎08-26-2011 06:29 AM

Question

Currently I am working with WebServices Protocol. I am able to complete  Importing the WSDL file and Adding the Service call . While executing that script i am getting the following errors.

Action.c(5): Error: InvokeMethod failed: org.xml.sax.SAXParseException: Premature end of file.

Action.c(5): Error: InvokeMethod failure: AXIS engine threw an exception.
Action.c(5): Notify: Saving Parameter "response = "
Action.c(5): Error: Web service call "LookupAgentProfiles_103" execution failed

 

Answer

The error message means: the end of file was encountered when the document was still incomplete. For example I would expect such a message if the input is

<start>content</st

Search
Showing results for 
Search instead for 
Do you mean 
Follow Us


HP Blog

HP LoadRunner and Performance Center Blog

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation