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

Hello All,

Currently iam working with WebServices Protocol. I am able to  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

 

My asumption is , it will be the problem with the Target URL

Any one please help me. Thanks in advance

 

Ram

Parents
  • Hi Kevin did you solve this Problem? If yes could you please let me know what was the solution?

     

    I am getting exactly the same message, and I guess is not a problem of the application i am trying to stress, it works fine functionality speaking and also I tried another tool that returned me correctly the response in a well formed XML when I am calling the same webservice, it seems to be a problem with LoadRunner maybe?

     

    Virtual User Script started at : 2011-09-07 14:47:15
    Starting action vuser_init.
    vuser_init.c(3): web_set_user was successful   [MsgId: MMSG-26392]
    Ending action vuser_init.
    Running Vuser...
    Starting iteration 1.
    Starting action Action.
    Action.c(6): Web service call "GetTeacherInfo_107" started
    Action.c(6): Error: InvokeMethod failed: org.xml.sax.SAXParseException: Premature end of file.
    Action.c(6): Error: InvokeMethod failure: AXIS engine threw an exception.
    Action.c(6): Error: Internal error, please call customer support. Details: Error while retrieving body -- can not parse output parameters
    Action.c(6): Error: Web service call "GetTeacherInfo_107" execution failed
    Ending action Action.
    Ending iteration 1.
    Ending Vuser...
    Starting action vuser_end.
    Ending action vuser_end.
    Vuser Terminated.

     

     

Reply
  • Hi Kevin did you solve this Problem? If yes could you please let me know what was the solution?

     

    I am getting exactly the same message, and I guess is not a problem of the application i am trying to stress, it works fine functionality speaking and also I tried another tool that returned me correctly the response in a well formed XML when I am calling the same webservice, it seems to be a problem with LoadRunner maybe?

     

    Virtual User Script started at : 2011-09-07 14:47:15
    Starting action vuser_init.
    vuser_init.c(3): web_set_user was successful   [MsgId: MMSG-26392]
    Ending action vuser_init.
    Running Vuser...
    Starting iteration 1.
    Starting action Action.
    Action.c(6): Web service call "GetTeacherInfo_107" started
    Action.c(6): Error: InvokeMethod failed: org.xml.sax.SAXParseException: Premature end of file.
    Action.c(6): Error: InvokeMethod failure: AXIS engine threw an exception.
    Action.c(6): Error: Internal error, please call customer support. Details: Error while retrieving body -- can not parse output parameters
    Action.c(6): Error: Web service call "GetTeacherInfo_107" execution failed
    Ending action Action.
    Ending iteration 1.
    Ending Vuser...
    Starting action vuser_end.
    Ending action vuser_end.
    Vuser Terminated.

     

     

Children