Highlighted
Absent Member.
Absent Member.
361 views

Web Services (Manage Services) script through HTTP /1.1 500 Internal server error.

In LoadRunner 12.50, when running the Web Sevices  script , we are seeing 500 Internal server error messages 

such as "An error occurred when verifying security for the message. 

System. Exception: Soap error:

 Message: An error occurred when verifying security for the message.

   at Mercury.LR.LrWsNetClient.ProxyCreator.InvokeMethod(String sMethod, IWSMethodParameters mParams, String sAsyncEvent)

   at Mercury.LR.LrWsNetClient.NetReplay.InvokeMethod(String sMethod, IWSMethodParameters mParams, String sAsyncEvent)

 Error:The reason for the SOAP fault is:  "An error occurred when verifying security for the message."

Error:<CENTER><STRONG><FONT COLOR=#FF0031>Failed to retrieve output arguments/checkpoints - SOAP fault occurred</FONT></STRONG></CENTER>

Web Sevices Script below

web_service_call( "StepName=Verify_102",
        "SOAPMethod=PhotoVerifyService|BasicHttpBinding_IPhotoVerifyService|Verify",
        "ResponseParam=response",
        "Service=PhotoVerifyService",
        "ExpectedResponse=SoapResult",
        "Snapshot=t1467145514.inf",
        BEGIN_ARGUMENTS,
        "xml:DocumentRequest="
            "<DocumentRequest>"
                "<ResponseImageTypes>"
                    "<string nil=\"true\"></string>"
                "</ResponseImageTypes>"
            "</DocumentRequest>",
        "xml:DeviceMetaData="
            "<DeviceMetaData>"
                "<Browser nil=\"true\"></Browser>"
                "<Device nil=\"true\"></Device>"
                "<OperatingSystem nil=\"true\"></OperatingSystem>"
                "<RawData nil=\"true\"></RawData>"
            "</DeviceMetaData>",
        "xml:Metadata="
            "<Metadata>"
                "<ApplicationToken>Su2anAvNemo</ApplicationToken>"
                "<SessionReferenceId nil=\"true\"></SessionReferenceId>"
                "<TenantReference>1</TenantReference>"
                "<Version>1.0</Version>"
            "</Metadata>",
        "xml:MibiDataHeaderValue="
            "<MibiDataHeaderValue>"
                "<MibiData>xxx</MibiData>"
            "</MibiDataHeaderValue>",
        END_ARGUMENTS,
        BEGIN_RESULT,
        "Response/Status=Param_Status",
        END_RESULT, LAST);

 

Thanks,

MC

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.