Highlighted
Absent Member.
Absent Member.
480 views

Issue on replay the Webservice protocol script

CODE:-
web_service_call( "StepName=Login_102",
"SOAPMethod=LoginWindows|LoginWindowsSoap|Login",
"ResponseParam=response",
"Service=LoginWindows",
"ExpectedResponse=SoapResult",
"Snapshot=t1251383855.inf",
BEGIN_ARGUMENTS,
END_ARGUMENTS,
BEGIN_RESULT,
"LoginResult=Param_LoginResult",
END_RESULT,
LAST);

Replay log:-
Error: InvokeMethod failed: org.xml.sax.SAXParseException: Premature end of file.
Error: InvokeMethod failure: AXIS engine threw an exception.
Error: Internal error, please call customer support. Details: Error while retrieving body -- can not parse output parameters
0 Likes
5 Replies
Highlighted
Absent Member.. Absent Member..
Absent Member..

Re: Issue on replay the Webservice protocol script

How did you generate this call? It does not appear to have any request fields.

Alan
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Issue on replay the Webservice protocol script

Thanks for your responce.
Import the WSDL url and add services,select login and did the scripts.
0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

Re: Issue on replay the Webservice protocol script

When you add the service select the "Input Arguments" line and on the right side select "Include All", this will add all of the fields in the call. You will then need to determine which fields that you need for your login and either hard code that info or add parameters.

Alan
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Issue on replay the Webservice protocol script

Input argument is disable(Like if you click + ,nothing coming).after click input argument,nothing happening.
0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

Re: Issue on replay the Webservice protocol script

I would think that there must be some XML tags in the request at least the login id and maybe password. Have you spoken to the web services develpers about this call?

Do you have the ability to perform a network capture on the SOAP call from the application? If you do you could see for yourself what fields are in the request. You could also use this capture to create your scrip using the "Analyze Traffic' feature.

Alan
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.