2528633 - Host Agent version cannot be checked due to HTTP Code 500 in the SAPHostControl web service | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

2528633 - Host Agent version cannot be checked due to HTTP Code 500 in the SAPHostControl web service

Symptom

 The Agent Admin UI in SAP Host Agent tab shows message:

  • Host Agent version cannot be checked

The details of the error shows:

com.sap.smd.agent.plugin.connectors.webservice.WebServiceInvocationException: Webservice invocation error during the trusted connection configuration occured on Binding Provider JAX-WS RI 2.1.6 in JDK 6: Stub for http://<hostname>:1128/SAPHostControl.cgi

The following picture describes the issue:

issue.jpg

In the SMDAgentApplication.log the following details are found:

 Exception calling SAP Host Control WS: [EXCEPTION] com.sap.smd.agent.plugin.connectors.webservice.WebServiceInvocationException: Webservice invocation error during the trusted connection configuration occured on Binding Provider JAX-WS RI 2.1.6 in JDK 6: Stub for http://<hostname>:1128/SAPHostControl.cgi
Caused by: com.sap.smdagent.plugins.connectors.webservice.SAPHostAgentCheckVersionException: Cannot establish connection to SAP Host agent webservice. (Cannot check the version of SAP Host agent cause by Cannot establish connection to SAP Host agent webservice. (The wsdl url of JAX WS return an error code 500 ,url: http://<hostname>:1128/SAPHostControl/?wsdl))

Finally, when testing the SAPHostControl web service using the browser the following content is returned. The SAPHostControl web service can be tested using the URL below.
 - http://<affected_host>:1128/SAPHostControl/?wsdl

HTTP Status: 500/Internal Server Error
Content Type: text/xml; charset=utf-8
Content Length: 712
Duration: 2 <?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SAPControl="urn:SAPControl" xmlns:SAPCCMS="urn:SAPCCMS" xmlns:SAPHostControl="urn:SAPHostControl" xmlns:SAPOscol="urn:SAPOscol" xmlns:SAPDSR="urn:SAPDSR">
<SOAP-ENV:Body>
<SOAP-ENV:Fault SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<faultcode>SOAP-ENV:Client</faultcode>
<faultstring>HTTP GET method not implemented</faultstring>
<SOAP-ENV:Code/>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>


Read more...

Environment

  • SAP Solution Manager 7.10 and 7.20
  • SAP Solution Manager Diagnostics

Product

SAP Solution Manager 7.1 ; SAP Solution Manager 7.2

Keywords

Diagnostics Agent SAP Host Agent connection , KBA , BC-CCM-HAG , Host Agent , SV-SMG-DIA-SRV-AGT , Agent Framework , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.